mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-10 21:24:49 +00:00
Sharing it results in some tables being aliased twice for the same query space, but with different aliases, resulting in exceptions. Ideally we should try to generate the aliases once, and then share the AliasResolutionContextImpl between EntityLoadQueryDetails instances, but I'm really not comfortable enough with this code to make that kind of changes.