Re: Postgres PooledConnection...

Поиск
Список
Период
Сортировка
От Dirk Bromberg
Тема Re: Postgres PooledConnection...
Дата
Msg-id 1046964876.15917.12.camel@ideal1.informatik.uni-bremen.de
обсуждение исходный текст
Ответ на Re: Postgres PooledConnection...  (Aaron Mulder <ammulder@alumni.princeton.edu>)
Ответы Re: Postgres PooledConnection...
Список pgsql-jdbc
On Thu, 2003-03-06 at 16:55, Aaron Mulder wrote:
>     There was a patch for this.  If I recall correctly it was checked
> in to CVS HEAD but not one of the relvant branches.  What version are you
> using, and are you able to build from source and see if that solves the
> problem?
>
> Aaron

I've used the pg73jdbc3.jar from the download page.
sorry I can't compile and see. We've switched to PreparedStmnts with
set/getBytes and bytea Cols. The problem there is the Bug in the 73.jar
(see the mails on the list) so we now use the 72.jar and have
implemented our own Pool...

if any one can fix these two bugs (PGConnection from DataSource and
get/setBytes then we will be able to test it. But at this time we are
not able to compile new pg.jars)

Dirk

>
> On Mon, 3 Mar 2003, Dirk Bromberg wrote:
> > Hi,
> >
> > i'm using this to get a simple connection sharing:
> >
> > Jdbc3PoolingDataSource source = new Jdbc3PoolingDataSource();
> > source.setDataSourceName("A Data Source");
> > source.setServerName("localhost");
> > source.setDatabaseName("test");
> > source.setUser("testuser");
> > source.setPassword("testpassword");
> > source.setMaxConnections(10);
> >
> > but how can i get the LargeObjectManager now ??????? i cant cast the
> > connections to PGConnection!!!
> >
> > THX
> >
> > Dirk Bromberg
> >
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 2: you can get off all lists at once with the unregister command
> >     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
> >
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>



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

Предыдущее
От: Aaron Mulder
Дата:
Сообщение: Re: Connection pool deadlock
Следующее
От: Aaron Mulder
Дата:
Сообщение: Re: Connection pool deadlock