db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r635257 - /db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/db2/Db2Platform.java
Date Sun, 09 Mar 2008 15:15:07 GMT
Author: tomdz
Date: Sun Mar  9 08:15:06 2008
New Revision: 635257

URL: http://svn.apache.org/viewvc?rev=635257&view=rev
Log:
Fixed bug in Db2 platform where it would allow more than one identity column in a table

Modified:
    db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/db2/Db2Platform.java

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/db2/Db2Platform.java
URL: http://svn.apache.org/viewvc/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/db2/Db2Platform.java?rev=635257&r1=635256&r2=635257&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/db2/Db2Platform.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/db2/Db2Platform.java Sun Mar 
9 08:15:06 2008
@@ -74,6 +74,7 @@
         info.setMaxIdentifierLength(18);
         info.setIdentityColumnAutomaticallyRequired(true);
         info.setPrimaryKeyColumnsHaveToBeRequired(true);
+        info.setMultipleIdentityColumnsSupported(false);
 
         // the BINARY types are also handled by Db2Builder.getSqlType(Column)
         info.addNativeTypeMapping(Types.ARRAY,         "BLOB",                      Types.BLOB);



Mime
View raw message