diff --git a/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/AnnotationPersistenceMappingParser.java b/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/AnnotationPersistenceMappingParser.java index 40a97d9cc..823812689 100644 --- a/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/AnnotationPersistenceMappingParser.java +++ b/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/AnnotationPersistenceMappingParser.java @@ -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); }