Hi there, I was hoping that C3p0 would have a setting where it sets the
Connection.setAutoCommit( true/false); I noticed that in Hibernate using
C3p0 this is done in C3P0ConnectionProvider class.
Basically the need it that when I build a pool of connections i should be
able to set the AutoCommit to a value via the pool rather than getting the
connection and setting the AutoCommit on each connection in the pool.
Imagine a pool with 50 connections...
Also there are 2 existing options abt this but they are about autocommit
when closing a connection.
Nobody/Anonymous
None
None
Public
|
Date: 2009-05-15 02:23 Hi. |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use