There's no way to run a single query that uses two JDBC connections. Sorry.
If the receiving DB is a competent brand (supports SQL UNNEST()), you can move bulk data with arrays:
There's no way to run a single query that uses two JDBC connections. Sorry.
If the receiving DB is a competent brand (supports SQL UNNEST()), you can move bulk data with arrays: