Using CopyManager with pooled JCA connection

Поиск
Список
Период
Сортировка
От Jim Garrison
Тема Using CopyManager with pooled JCA connection
Дата
Msg-id 0C723FEB5B4E5642B25B451BA57E27303EE03319@S1P5DAG3C.EXCHPROD.USA.NET
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: Using statement parameters with Copy API?
Следующее
От: Jim Garrison
Дата:
Сообщение: Re: Using CopyManager with pooled JCA connection