db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r493943 - /db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/hsqldb/HsqlDbPlatform.java
Date Mon, 08 Jan 2007 04:42:15 GMT
Author: tomdz
Date: Sun Jan  7 20:42:15 2007
New Revision: 493943

URL: http://svn.apache.org/viewvc?view=rev&rev=493943
Log:
HsqlDb does not allow an INSERT to give a value for an IDENTITY column

Modified:
    db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/hsqldb/HsqlDbPlatform.java

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/hsqldb/HsqlDbPlatform.java
URL: http://svn.apache.org/viewvc/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/hsqldb/HsqlDbPlatform.java?view=diff&rev=493943&r1=493942&r2=493943
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/hsqldb/HsqlDbPlatform.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/hsqldb/HsqlDbPlatform.java Sun
Jan  7 20:42:15 2007
@@ -50,6 +50,7 @@
         PlatformInfo info = getPlatformInfo();
 
         info.setNonPKIdentityColumnsSupported(false);
+        info.setIdentityOverrideAllowed(false);
 
         info.addNativeTypeMapping(Types.ARRAY,       "LONGVARBINARY", Types.LONGVARBINARY);
         info.addNativeTypeMapping(Types.BLOB,        "LONGVARBINARY", Types.LONGVARBINARY);



Mime
View raw message