Query, components, and entity graphs

Hi everyone,

I am using an combination of HQL/JPQL, components (aka embeddables) and entity graphs, and I seem to have run into a bug in Hibernate. I have written a bug report, including a reproduction test case:


Now, I would like to contribute a fix. I believe I found the location in the code where the problem occurs. However, before diving in, it would be nice to get some confirmation that what I believe is a bug is indeed a bug, and that my assumption about the location is at least in the right area of the code.

I haven’t contributed to Hibernate before, so any tips or suggestions, would be really appreciated.


Hi Laurens,

your analysis looks okay to me. Have you tried changing this part of the code to see if that fixes your issue? IMO you can go ahead and provide a PR for this.