blaze-persistence icon indicating copy to clipboard operation
blaze-persistence copied to clipboard

Using static implementation breaks updates of entity views with @EntityViewInheritance

Open david-kubecka opened this issue 2 years ago • 0 comments

Description

It seems that just having EV implementations generated by the annotation processor breaks some flows, e.g. when an existing entity view is updated with a view that has @EntityViewInheritance set up.

Steps to reproduce

See created test case: https://github.com/Blazebit/blaze-persistence/pull/1682

Currently, the newly added test fails on "The update operation did not return the expected update count". By disabling the static implementation scanning (setting com.blazebit.persistence.view.static_implementation_scanning_disabled to true, uncomment the line in createEntityViewManager) the issue disappears. Also, the issue doesn't happen when the annotation processor is not used at all.

Environment

BP version: 1.6.8

david-kubecka avatar Jan 27 '23 12:01 david-kubecka