db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From banda...@apache.org
Subject svn commit: r168176 - in /incubator/derby/code/trunk/java: engine/org/apache/derby/impl/jdbc/EmbedDatabaseMetaData.java testing/org/apache/derbyTesting/functionTests/master/dbMetaDataJdbc30.out
Date Wed, 04 May 2005 19:50:23 GMT
Author: bandaram
Date: Wed May  4 12:50:21 2005
New Revision: 168176

URL: http://svn.apache.org/viewcvs?rev=168176&view=rev
Log:
Derby-242: Make DatabaseMetadata.supportsMultipleOpenResults() return FALSE.

Submitted by Lance Anderson. (Lance.Andersen@Sun.COM)

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/dbMetaDataJdbc30.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?rev=168176&r1=168175&r2=168176&view=diff
==============================================================================
--- 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
Wed May  4 12:50:21 2005
@@ -2880,7 +2880,13 @@
 	*/
 	public boolean supportsGetGeneratedKeys()
 	{
-		return true;
+               /*
+                * Currently reverting the returned value to false until there 
+                * is more support for autogenerated keys in Derby.
+                * (such as support for specifying the returned columns for
+                * the autogenerated key)
+                */
+		return false;
 	}
 
 	/**

Modified: incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/dbMetaDataJdbc30.out
URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/dbMetaDataJdbc30.out?rev=168176&r1=168175&r2=168176&view=diff
==============================================================================
--- incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/dbMetaDataJdbc30.out
(original)
+++ incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/dbMetaDataJdbc30.out
Wed May  4 12:50:21 2005
@@ -4,7 +4,7 @@
 supportsSavepoints() : true
 supportsNamedParameters() : false
 supportsMultipleOpenResults() : true
-supportsGetGeneratedKeys() : true
+supportsGetGeneratedKeys() : false
 supportsResultSetHoldability(HOLD_CURSORS_OVER_COMMIT) : true
 supportsResultSetHoldability(CLOSE_CURSORS_AT_COMMIT) : true
 getJDBCMajorVersion() : 3



Mime
View raw message