db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmars...@apache.org
Subject svn commit: r412258 - /db/derby/code/branches/10.1/java/client/org/apache/derby/client/am/Connection.java
Date Wed, 07 Jun 2006 02:42:45 GMT
Author: kmarsden
Date: Tue Jun  6 19:42:45 2006
New Revision: 412258

URL: http://svn.apache.org/viewvc?rev=412258&view=rev
Log:
DERBY-1005 getHoldability does not return CLOSE_CURSORS_AT_COMMIT in a global transaction

* Adds a line to resetConnection method in org/apache/derby/client/am/Connection.java which
was missed in the merge of DERBY-1005. This was causing a failure in the tests added for DERBY-1144.


Contributed by Daniel Debrunner/Deepa Remesh


Modified:
    db/derby/code/branches/10.1/java/client/org/apache/derby/client/am/Connection.java

Modified: db/derby/code/branches/10.1/java/client/org/apache/derby/client/am/Connection.java
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.1/java/client/org/apache/derby/client/am/Connection.java?rev=412258&r1=412257&r2=412258&view=diff
==============================================================================
--- db/derby/code/branches/10.1/java/client/org/apache/derby/client/am/Connection.java (original)
+++ db/derby/code/branches/10.1/java/client/org/apache/derby/client/am/Connection.java Tue
Jun  6 19:42:45 2006
@@ -249,6 +249,8 @@
 
             loginTimeout_ = ds.getLoginTimeout();
             dataSource_ = ds;
+            
+            holdability = ClientDataSource.HOLD_CURSORS_OVER_COMMIT;
         }
 
         



Mime
View raw message