hibernate-orm icon indicating copy to clipboard operation
hibernate-orm copied to clipboard

HHH-18151 Fix lazy loading with generics and inheritance

Open mapuci opened this issue 1 year ago • 1 comments

https://hibernate.atlassian.net/jira/software/c/projects/HHH/issues/HHH-18151

My first PR. :)

The issue turned to be quite similar to https://hibernate.atlassian.net/jira/software/c/projects/HHH/issues/HHH-16459 with fix https://github.com/hibernate/hibernate-orm/pull/6404

The problem was that the method $$_$$_hibernate_read_GENERIC_ATTRIBUTE that was defined in concrete class did not override the same method in its MappedSuperclass. Because method signature (return type) was different.

mapuci avatar May 24 '24 16:05 mapuci

cc @yrodiere

mapuci avatar May 24 '24 16:05 mapuci

Thanks for your pull request!

This pull request appears to follow the contribution rules.

› This message was automatically generated.