[hibernate-dev] Question regarding HHH-10229
christian.beikov at gmail.com
Mon Sep 19 10:50:59 EDT 2016
I'd like to get HHH-10229 fixed as I can't workaround it. I prepared the
fix and a test(https://github.com/hibernate/hibernate-orm/pull/1558),
but I am not sure if that's the best way to do it.
Basically what I did is to check if an IdentNode is an alias to an
element collection and if so, resolve it to the element type when
requested from the select clause. This is very similar to what is
happening when a MapValueNode is used, in fact some of the code is copied.
When I later encounter that a map or index function is around it, I
resolve it as alias again.
More information about the hibernate-dev