[Mulgara-svn] r449 - branches/nw-interface/src/jar/query/java/org/mulgara/query/operation
pag at mulgara.org
pag at mulgara.org
Mon Sep 24 21:00:59 UTC 2007
Author: pag
Date: 2007-09-24 16:00:59 -0500 (Mon, 24 Sep 2007)
New Revision: 449
Modified:
branches/nw-interface/src/jar/query/java/org/mulgara/query/operation/SetAutoCommit.java
Log:
Setting autocommit on a connection, rather than on the session tied to the connection
Modified: branches/nw-interface/src/jar/query/java/org/mulgara/query/operation/SetAutoCommit.java
===================================================================
--- branches/nw-interface/src/jar/query/java/org/mulgara/query/operation/SetAutoCommit.java 2007-09-24 21:00:24 UTC (rev 448)
+++ branches/nw-interface/src/jar/query/java/org/mulgara/query/operation/SetAutoCommit.java 2007-09-24 21:00:59 UTC (rev 449)
@@ -34,7 +34,7 @@
public Object execute(Connection conn) throws Exception {
boolean on = isOn();
- conn.getSession().setAutoCommit(on);
+ conn.setAutoCommit(on);
return setResultMessage(MESSAGE + (on ? ON : OFF));
}
More information about the Mulgara-svn
mailing list