db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r515011 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedConnection.java
Date Tue, 06 Mar 2007 07:50:26 GMT
Author: kahatlen
Date: Mon Mar  5 23:50:25 2007
New Revision: 515011

URL: http://svn.apache.org/viewvc?view=rev&rev=515011
Log:
DERBY-2064: Updated javadoc for EmbedConnection.setTransactionIsolation() to
reflect that transactions are not committed if the isolation level remains
unchanged.

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedConnection.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedConnection.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedConnection.java?view=diff&rev=515011&r1=515010&r2=515011
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedConnection.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedConnection.java Mon Mar
 5 23:50:25 2007
@@ -1211,7 +1211,9 @@
      * isolation level using one of the TRANSACTION_* values.
      *
      * <P><B>Note:</B> setTransactionIsolation causes the current
-     * transaction to commit
+     * transaction to commit if the isolation level is changed. Otherwise, if
+     * the requested isolation level is the same as the current isolation
+     * level, this method is a no-op.
      *
      * @param level one of the TRANSACTION_* isolation values with the
      * exception of TRANSACTION_NONE; some databases may not support



Mime
View raw message