Re: COPY using Hibernate

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: COPY using Hibernate
Дата
Msg-id 491f66a51001150400sf2c6b04l840af9f01c3e55bb@mail.gmail.com
обсуждение исходный текст
Ответ на COPY using Hibernate  (Vaibhav Patil <infovaibhav@yahoo.com>)
Ответы Re: COPY using Hibernate  (Craig Ringer <craig@postnewspapers.com.au>)
Список pgsql-jdbc
Hi Vaibhav

C3p0 provides a mechanism to get at the underlying connection and
statement. search for c3P0 underlying connection

dave

On Fri, Jan 15, 2010 at 6:45 AM, Vaibhav Patil <infovaibhav@yahoo.com> wrote:
> Hello All,
>
> I am using C3p0 for connection pooling using hibernate. The connection
> object returned by that pool does not provide the COPY from STDIN
> functionality. Have also checked with the apache dbcp pooling mechanism. I
> am using JDBC4 driver with JDK1.6.
> As I understand, to support COPY operation of postgres using JDBC, the
> connection object should be an implementation of "PGConnection" interface.
>
> I am able to perform the COPY operation if I do not use any connection
> pooling.
>
> I am curious to know, if postgres provide some sort of connection pooling
> API which I can integrate in Hibernate and then use the COPY operation ?
>
> Thanks,
> Vaibhav.
>
> ________________________________
> The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Vaibhav Patil
Дата:
Сообщение: COPY using Hibernate
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: COPY using Hibernate