You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A PrePersist function in a MappedSuperclass that is not overridden in the derived class fires three times instead of just once. If the subclass does override it, and annotates the function, it is called twice instead of just once. If the subclass does override it but does not annotate it then it is called just once as expected.
HasLifecycleCallbacksTest in #428 will test for this, as we cover all permutations of super/sub classes with @HasLifecycleCallback annotations and overridden methods (8 total). The proper behavior will be for no method to be invoked more than once. That is currently happening in the PR for all but one case (to be fixed) where both the super and sub are annotated and the sub-class overrides the method, too.
A PrePersist function in a MappedSuperclass that is not overridden in the derived class fires three times instead of just once. If the subclass does override it, and annotates the function, it is called twice instead of just once. If the subclass does override it but does not annotate it then it is called just once as expected.
The text was updated successfully, but these errors were encountered: