db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r509093 - in /db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/firebird: FirebirdBuilder.java FirebirdPlatform.java
Date Mon, 19 Feb 2007 04:55:25 GMT
Author: tomdz
Date: Sun Feb 18 20:55:24 2007
New Revision: 509093

URL: http://svn.apache.org/viewvc?view=rev&rev=509093
Log:
Fixed bugs

Modified:
    db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/firebird/FirebirdBuilder.java
    db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/firebird/FirebirdPlatform.java

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/firebird/FirebirdBuilder.java
URL: http://svn.apache.org/viewvc/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/firebird/FirebirdBuilder.java?view=diff&rev=509093&r1=509092&r2=509093
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/firebird/FirebirdBuilder.java
(original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/firebird/FirebirdBuilder.java
Sun Feb 18 20:55:24 2007
@@ -170,7 +170,7 @@
             for (int idx = 0; idx < columns.length; idx++)
             {
                 result.append("GEN_ID(");
-                result.append(getConstraintName("gen", table, columns[idx].getName(), null));
+                result.append(getDelimitedIdentifier(getGeneratorName(table, columns[idx])));
                 result.append(", 0)");
             }
             result.append(" FROM RDB$DATABASE");

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/firebird/FirebirdPlatform.java
URL: http://svn.apache.org/viewvc/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/firebird/FirebirdPlatform.java?view=diff&rev=509093&r1=509092&r2=509093
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/firebird/FirebirdPlatform.java
(original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/firebird/FirebirdPlatform.java
Sun Feb 18 20:55:24 2007
@@ -47,6 +47,7 @@
         PlatformInfo info = getPlatformInfo();
 
         info.setMaxIdentifierLength(31);
+        info.setSystemForeignKeyIndicesAlwaysNonUnique(true);
         info.setCommentPrefix("/*");
         info.setCommentSuffix("*/");
 



Mime
View raw message