My problem seems to happen even before Hibernate tries to open a transaction. When it opens a connection, Hibernate runs the following code:
Code:
log.debug("opening new JDBC connection");
Connection conn = DriverManager.getConnection(url, connectionProps);
if (isolation!=null) conn.setTransactionIsolation( isolation.intValue() );
if ( conn.getAutoCommit() ) conn.setAutoCommit(false);
the connection
Code:
conn.getAutoCommit()
returns true, but when tring
Code:
conn.setAutoCommit(false)
I get an exception (the one in the first post).
Any idea how to open a connection with autoCommit == false?