-
Notifications
You must be signed in to change notification settings - Fork 92
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
Merge with reference fails if entity is associated to a column (non id) #1504
Comments
This is an unusual use case where the association is with an entity column instead of the identifier. It's a specific case and the current mapping, as it is, fails using regular Hibernate ORM anyway. I've added a test with the persist that seems to work as expected.
@DavideD I changed the EntityTypes.getIdentifier() method to mimic your changes in ORM's EntityType. I also tweaked our failing merge tests to mimic the new ORM merge test. lates: https://github.com/blafond/hibernate-reactive/commits/1504-merge-reference Now all Eager & Lazy merge tests fail because the I'm assuming I need to route it to our |
I haven't checked the code yet, but sounds right |
* Sort import * Format code
* Format code * Remove warnings
See the following tests:
I've created the following testcase for ORM: hibernate/hibernate-orm#6239
Waiting for ORM to fix https://hibernate.atlassian.net/browse/HHH-16298
(Follows #1498)
The text was updated successfully, but these errors were encountered: