Thread: Jdbc3PoolingDataSource and autocommit

Jdbc3PoolingDataSource and autocommit

From
"Joel Hock"
Date:

I’m using java 1.4.1 and pg73rc1jdbc3.jar, and just started using org.postgresql.jdbc3.Jdbc3PoolingDataSource.

 

Is there a way to make the Jdbc3PoolingDataSource return connections that autocommit by default?  I see that Jdbc3ConnectionPool has a ‘defaultAutoCommit’ property, but I can’t seem to find a way to change Jdbc3PoolingDataSource’s autocommit.

 

Thanks!

 

Joel Hock

joel@enspire.com

Enspire Learning