diff --git a/src/main/antora/modules/ROOT/pages/jpa/entity-persistence.adoc b/src/main/antora/modules/ROOT/pages/jpa/entity-persistence.adoc index c5f8cb8de5..990c959441 100644 --- a/src/main/antora/modules/ROOT/pages/jpa/entity-persistence.adoc +++ b/src/main/antora/modules/ROOT/pages/jpa/entity-persistence.adoc @@ -40,7 +40,7 @@ public abstract class AbstractEntity implements Persistable { return isNew; <2> } - @PrePersist <3> + @PostPersist <3> @PostLoad void markNotNew() { this.isNew = false;