Re: Postgres PooledConnection... - Mailing list pgsql-jdbc

From Dirk Bromberg
Subject Re: Postgres PooledConnection...
Date
Msg-id 1046964876.15917.12.camel@ideal1.informatik.uni-bremen.de
Whole thread Raw
In response to Re: Postgres PooledConnection...  (Aaron Mulder <ammulder@alumni.princeton.edu>)
Responses Re: Postgres PooledConnection...
List 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 by date:

Previous
From: Aaron Mulder
Date:
Subject: Re: Connection pool deadlock
Next
From: Aaron Mulder
Date:
Subject: Re: Connection pool deadlock