You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ddlutils-dev@db.apache.org by to...@apache.org on 2008/03/09 16:15:07 UTC
svn commit: r635257 -
/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/db2/Db2Platform.java
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);