db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From banda...@apache.org
Subject svn commit: r125571 - in incubator/derby/code/trunk/java: engine/org/apache/derby/impl/jdbc testing/org/apache/derbyTesting/functionTests/master testing/org/apache/derbyTesting/functionTests/master/DerbyNet
Date Tue, 18 Jan 2005 23:44:40 GMT
Author: bandaram
Date: Tue Jan 18 15:44:36 2005
New Revision: 125571

URL: http://svn.apache.org/viewcvs?view=rev&rev=125571
Log:
Make metadata function supportsOpenCursorsAcrossCommit() return TRUE, instead of FALSE.

Submitting the patch from Mamta Satoor (mamta@Remulak.Net)

Modified:
   incubator/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedDatabaseMetaData.java
   incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNet/metadata.out
   incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/metadata.out

Modified: incubator/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedDatabaseMetaData.java
Url: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedDatabaseMetaData.java?view=diff&rev=125571&p1=incubator/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedDatabaseMetaData.java&r1=125570&p2=incubator/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedDatabaseMetaData.java&r2=125571
==============================================================================
--- incubator/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedDatabaseMetaData.java
(original)
+++ incubator/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedDatabaseMetaData.java
Tue Jan 18 15:44:36 2005
@@ -1045,8 +1045,9 @@
      *
      * @return true if cursors always remain open; false if they might not remain open
      */
+	//returns true because Derby can have cursors that are open across commits.
 	public boolean supportsOpenCursorsAcrossCommit() {
-		return false;
+		return true;
 	}
 
     /**

Modified: incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNet/metadata.out
Url: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNet/metadata.out?view=diff&rev=125571&p1=incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNet/metadata.out&r1=125570&p2=incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNet/metadata.out&r2=125571
==============================================================================
--- incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNet/metadata.out
(original)
+++ incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNet/metadata.out
Tue Jan 18 15:44:36 2005
@@ -119,7 +119,7 @@
 supportsCorrelatedSubqueries(): true
 supportsUnion(): true
 supportsUnionAll(): true
-supportsOpenCursorsAcrossCommit(): false
+supportsOpenCursorsAcrossCommit(): true
 supportsOpenCursorsAcrossRollback(): false
 supportsOpenStatementsAcrossCommit(): true
 supportsOpenStatementsAcrossRollback(): false

Modified: incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/metadata.out
Url: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/metadata.out?view=diff&rev=125571&p1=incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/metadata.out&r1=125570&p2=incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/metadata.out&r2=125571
==============================================================================
--- incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/metadata.out
(original)
+++ incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/metadata.out
Tue Jan 18 15:44:36 2005
@@ -119,7 +119,7 @@
 supportsCorrelatedSubqueries(): true
 supportsUnion(): true
 supportsUnionAll(): true
-supportsOpenCursorsAcrossCommit(): false
+supportsOpenCursorsAcrossCommit(): true
 supportsOpenCursorsAcrossRollback(): false
 supportsOpenStatementsAcrossCommit(): true
 supportsOpenStatementsAcrossRollback(): false

Mime
View raw message