mirror of https://github.com/apache/openjpa.git
JIRA OPENJPA-90
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@487605 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f48441c17a
commit
87b5ae1f4f
|
@ -2920,8 +2920,8 @@ public class DBDictionary
|
||||||
|
|
||||||
int delActionId = fk.getDeleteAction();
|
int delActionId = fk.getDeleteAction();
|
||||||
if (delActionId == ForeignKey.ACTION_NULL) {
|
if (delActionId == ForeignKey.ACTION_NULL) {
|
||||||
for (int i = 0; i < foreigns.length; i++) {
|
for (int i = 0; i < locals.length; i++) {
|
||||||
if (foreigns[i].isNotNull())
|
if (locals[i].isNotNull())
|
||||||
delActionId = ForeignKey.ACTION_NONE;
|
delActionId = ForeignKey.ACTION_NONE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue