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

From Jim Garrison
Subject Using CopyManager with pooled JCA connection
Date
Msg-id 0C723FEB5B4E5642B25B451BA57E27303EE03319@S1P5DAG3C.EXCHPROD.USA.NET
Whole thread Raw
List pgsql-jdbc
I'm trying to use the CopyManager API inside a JEE container (Geronimo) with DB connections managed by JNDI.

CopyManager can be directly instantiated (new CopyManager(BaseConnection c)) or retrieved from a PGConnection instance.
However, the connection I'm given is a wrapper (org.tranql.connector.ManagedConnectionHandle) where the real PostgreSQL
connectionis wrapped several layers deep.  There doesn't seem to be an API with which to retrieve the a PGConnection or
BaseConnection,or something that can be cast to one of these. 

Anyone have a suggestion as to how to proceed?


pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: Using statement parameters with Copy API?
Next
From: Jim Garrison
Date:
Subject: Re: Using CopyManager with pooled JCA connection