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

Cascading throws IllegalArgumentException when attempting to merge LazyLoadingProxy #248

Closed
ledsoft opened this issue Jun 17, 2024 · 0 comments · Fixed by #249
Closed

Cascading throws IllegalArgumentException when attempting to merge LazyLoadingProxy #248

ledsoft opened this issue Jun 17, 2024 · 0 comments · Fixed by #249
Labels
Milestone

Comments

@ledsoft
Copy link
Contributor

ledsoft commented Jun 17, 2024

When the client attempts to, for example, merge an already managed instance that cascades merging on a lazily loaded attribute, JOPA throws java.lang.IllegalArgumentException: OWLClassE_LazyLoadingProxy is not a known entity in this persistence unit.

JOPA cascading should be able to recognize lazy loading proxy and skip its processing.

@ledsoft ledsoft added the bug label Jun 17, 2024
@ledsoft ledsoft added this to the 2.0.1 milestone Jun 17, 2024
ledsoft added a commit that referenced this issue Jun 17, 2024
Remove cascading on lazily loaded relationship triggers loading and then cascades the remove operation.
@ledsoft ledsoft linked a pull request Jun 17, 2024 that will close this issue
ledsoft added a commit that referenced this issue Jun 17, 2024
Remove cascading on lazily loaded relationship triggers loading and then cascades the remove operation.
@ledsoft ledsoft closed this as completed Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant