Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using static implementation breaks updates of entity views with @EntityViewInheritance #1681

Open
david-kubecka opened this issue Jan 27, 2023 · 0 comments
Labels
Milestone

Comments

@david-kubecka
Copy link
Contributor

david-kubecka commented Jan 27, 2023

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: #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

@beikov beikov added this to the 1.6.9 milestone Feb 6, 2023
@beikov beikov modified the milestones: 1.6.9, 1.6.10 Jun 14, 2023
@beikov beikov modified the milestones: 1.6.10, 1.6.11 Sep 23, 2023
@beikov beikov modified the milestones: 1.6.11, 1.6.12 Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants