Ok, I implemented what you suggested, and it's working ok for my tests.
But if the setDefaultAutoCommit method doesn't exist, the documentation
on the PostgreSQL site should be updated to reflect it. Who should I
contact?
Thanks,
Daniel Serodio
On Tue, 2003-04-15 at 17:56, Andy Kriger wrote:
> For maximum flexibility, you probably want to stick to
> Connection.setAutoCommit. You only need to use it before transactions, so
> you could encapsulate Connection requests for trxs in one place where you
> get the Cnx from the pool and turn off AutoCommit.
>
> -----Original Message-----
> From: pgsql-jdbc-owner@postgresql.org
> [mailto:pgsql-jdbc-owner@postgresql.org]On Behalf Of Daniel Serodio
> Sent: Tuesday, April 15, 2003 16:41
> To: Dave Cramer
> Cc: PostgreSQL JDBC List
> Subject: Re: [JDBC] Javadoc for Postgresql JDBC driver?
>
>
> Actually, I was looking at the docs at
> http://developer.postgresql.org/docs/postgres/jdbc-datasource.html#JDBC-DS-C
> PDS and it said there was a setDefaultAutoCommit method on
> org.postgresql.jdbc2.optional.ConnectionPool and/or
> org.postgresql.jdbc3.Jdbc3ConnectionPool but I couldn't find this method. So
> I was looking for the Javadoc for this method.
> Where is this method? Is the documentation wrong?
>
> Thanks,
> Daniel Serodio
>
> On Tue, 2003-04-15 at 17:12, Dave Cramer wrote:
> > The only thing that is really exposed is the jdbc interface, do you need
> > more?
> >
> > DAve
> > On Tue, 2003-04-15 at 14:04, Daniel Serodio wrote:
> > > Where can I find the Javadoc for org.postgresql.* ? I'm behind a
> > > firewall, so I can't get files from PostgreSQL's CVS server.
> > >
> > > Thanks a lot,
> > > Daniel Serodio
> --
> Daniel Serodio
> CheckForte 5582-6016
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
--
Daniel Serodio
CheckForte 5582-6016