mirror of https://github.com/apache/openjpa.git
OPENJPA-248. Modified parseForeignKey to set the appropriate cascade update action.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@543265 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4870d3ffc9
commit
c634dcb4d8
|
@ -630,7 +630,7 @@ public class AnnotationPersistenceMappingParser
|
|||
fk.setName(name);
|
||||
fk.setDeferred(deferred);
|
||||
fk.setDeleteAction(toForeignKeyAction(deleteAction));
|
||||
fk.setUpdateAction(toForeignKeyAction(deleteAction));
|
||||
fk.setUpdateAction(toForeignKeyAction(updateAction));
|
||||
info.setForeignKey(fk);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue