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:
Kevin W. Sutter 2007-05-31 21:24:46 +00:00
parent 4870d3ffc9
commit c634dcb4d8
1 changed files with 1 additions and 1 deletions

View File

@ -630,7 +630,7 @@ public class AnnotationPersistenceMappingParser
fk.setName(name); fk.setName(name);
fk.setDeferred(deferred); fk.setDeferred(deferred);
fk.setDeleteAction(toForeignKeyAction(deleteAction)); fk.setDeleteAction(toForeignKeyAction(deleteAction));
fk.setUpdateAction(toForeignKeyAction(deleteAction)); fk.setUpdateAction(toForeignKeyAction(updateAction));
info.setForeignKey(fk); info.setForeignKey(fk);
} }