empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From doeb...@apache.org
Subject svn commit: r1362184 - /empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/oracle/OracleDDLGenerator.java
Date Mon, 16 Jul 2012 18:41:23 GMT
Author: doebele
Date: Mon Jul 16 18:41:22 2012
New Revision: 1362184

URL: http://svn.apache.org/viewvc?rev=1362184&view=rev
Log:
EMPIREDB-141
set default for naming the primary key constraint to true for oracle driver

Modified:
    empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/oracle/OracleDDLGenerator.java

Modified: empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/oracle/OracleDDLGenerator.java
URL: http://svn.apache.org/viewvc/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/oracle/OracleDDLGenerator.java?rev=1362184&r1=1362183&r2=1362184&view=diff
==============================================================================
--- empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/oracle/OracleDDLGenerator.java
(original)
+++ empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/oracle/OracleDDLGenerator.java
Mon Jul 16 18:41:22 2012
@@ -37,6 +37,8 @@ public class OracleDDLGenerator extends 
         super(driver);
         // Alter Column Phrase
         alterColumnPhrase  = " MODIFY ";
+        // Name Primary Keys
+        namePrimaryKeyConstraint = true;
         // set Oracle specific data types
         initDataTypes(driver);
     }



Mime
View raw message