users@glassfish.java.net

Re: Glassfish 3.1, Mysql datasource, autocommit

From: <forums_at_java.net>
Date: Wed, 3 Aug 2011 00:18:52 -0500 (CDT)

The transaction boundaries are defined via Connection.setAutoCommit(...). As
per the JDBC 4.0 specification, when a transaction is started, the autocommit
is set to false so that any work done in the connection is part of the
transaction. At the end of the transaction, this could be set to true.


--
[Message sent by forum member 'sm157516']
View Post: http://forums.java.net/node/828929