Skip to content

Hibernate returns null instead of throwing an exception when using @N… #159

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

Closed
wants to merge 2 commits into from

Conversation

thjanssen
Copy link

Hibernate returns null instead of throwing an exception when using @NotFound(action = NotFoundAction.EXCEPTION) on a @manytoone association and fetching an entity with a broken foreign key reference.

…otFound(action = NotFoundAction.EXCEPTION) on a @manytoone association and fetching an entity with a broken foreign key reference.
@thjanssen
Copy link
Author

This is for bug HHH-15229

@beikov
Copy link
Member

beikov commented May 5, 2022

Superseded by hibernate/hibernate-orm#5010

@beikov beikov closed this May 5, 2022
@beikov
Copy link
Member

beikov commented May 5, 2022

Thanks for the test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants