openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awh...@apache.org
Subject svn commit: r487605 - /incubator/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java
Date Fri, 15 Dec 2006 18:00:34 GMT
Author: awhite
Date: Fri Dec 15 10:00:30 2006
New Revision: 487605

URL: http://svn.apache.org/viewvc?view=rev&rev=487605
Log:
JIRA OPENJPA-90


Modified:
    incubator/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java

Modified: incubator/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java?view=diff&rev=487605&r1=487604&r2=487605
==============================================================================
--- incubator/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java
(original)
+++ incubator/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java
Fri Dec 15 10:00:30 2006
@@ -2920,8 +2920,8 @@
 
         int delActionId = fk.getDeleteAction();
         if (delActionId == ForeignKey.ACTION_NULL) {
-            for (int i = 0; i < foreigns.length; i++) {
-                if (foreigns[i].isNotNull())
+            for (int i = 0; i < locals.length; i++) {
+                if (locals[i].isNotNull())
                     delActionId = ForeignKey.ACTION_NONE;
             }
         }



Mime
View raw message