openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1683151 - /openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/schema/SchemaTool.java
Date Tue, 02 Jun 2015 17:54:53 GMT
Author: struberg
Date: Tue Jun  2 17:54:52 2015
New Revision: 1683151

URL: http://svn.apache.org/r1683151
Log:
OPENJPA-2581 we need to switch back to going to the DB otherwise we don't get FKs generated


Modified:
    openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/schema/SchemaTool.java

Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/schema/SchemaTool.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/schema/SchemaTool.java?rev=1683151&r1=1683150&r2=1683151&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/schema/SchemaTool.java
(original)
+++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/schema/SchemaTool.java
Tue Jun  2 17:54:52 2015
@@ -426,7 +426,7 @@ public class SchemaTool {
         throws SQLException {
         SchemaGroup group = new SchemaGroup();
         group.addSchema();
-        buildSchema(group, assertSchemaGroup(), false);
+        buildSchema(group, assertSchemaGroup(), true);
     }
 
     /**



Mime
View raw message