Re: Using CopyManager with pooled JCA connection - Mailing list pgsql-jdbc

From Jim Garrison
Subject Re: Using CopyManager with pooled JCA connection
Date
Msg-id 0C723FEB5B4E5642B25B451BA57E27303EE0368C@S1P5DAG3C.EXCHPROD.USA.NET
Whole thread Raw
In response to Re: Using CopyManager with pooled JCA connection  (Jim Garrison <jim.garrison@nwea.org>)
List pgsql-jdbc
I solved this by writing a wrapper around the Copy API and Connection that locates and invokes the Copy API via
reflection.

This allows me to retrieve the Copy API instance appropriate for both the source and destination database connections
whenthose connection objects came from different class loaders. 

This is fairly specific to my situation, but if anybody is interested I can share the code.



pgsql-jdbc by date:

Previous
From: David Johnston
Date:
Subject: Re: JDBC 9.2: multiple execution of prepared statement-query delivers different double precision results via getString()
Next
From: Sehrope Sarkuni
Date:
Subject: Vagrantfile/VM for PG JDBC Driver Testing