users@glassfish.java.net

Re: Does the jdbc pool manager support setting the defaultAutoCommit?

From: <glassfish_at_javadesktop.org>
Date: Mon, 23 Jul 2007 23:41:42 PDT

According to the docs, the defaultAutoCommit is a configuration property for the ConnectionPoolDatasource. The org.postgresql.ds.PGConnectionPoolDataSource class in the postgresql-8.3dev-600.jdbc3.jar has methods to get and set this property.

http://www.postgresql.org/docs/7.3/interactive/jdbc-datasource.html

The DataSource and XADataSource does not have this property and cannot be used with these resource types.

Could you please attach your configuration, if you used the ConnectionPoolDataSource and it failed?
[Message sent by forum member 'sm157516' (sm157516)]

http://forums.java.net/jive/thread.jspa?messageID=227873