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

HHH-12375 Fix for eager loading same named properties with conflicting types #2190

Closed
wants to merge 2 commits into from

Conversation

beikov
Copy link
Contributor

@beikov beikov commented Mar 9, 2018

@cnsgithub
Copy link

I merged your fix in hibernate-core-5.2.16-snapshot and can confirm that it works correctly again. Thanks for fixing it, great work.

Will your fix be contained in 5.2.16? And if so, when will 5.2.16 be released?

Greets to Austria

@beikov
Copy link
Contributor Author

beikov commented Mar 13, 2018

Good to hear that this works for you. I'm not sure when 5.2.16 will be released, but this will most definitely be part of that release. :)

…elated to type incompatible same named attributes being used in subtypes
@beikov
Copy link
Contributor Author

beikov commented Mar 13, 2018

@dreab8 I also added a fix for HHH-12383 which apparently models something similar to the following

@Entity class A {}
@Entity class B extends A { B relation; }
@Entity class C extends A { Set<C> relation; }

The essence is, that the attributes have the same name, but different types i.e. one is an EntityType whereas the other is a CollectionType. The user actually reported a problem with AnyType but it's essentially the same.

@dreab8
Copy link
Member

dreab8 commented Mar 16, 2018

not sure if this solution can work. It avoids having paths with null type.

@dreab8
Copy link
Member

dreab8 commented Mar 21, 2018

superseded by #2208

@dreab8 dreab8 closed this Mar 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants