[hibernate-dev] Question regarding HHH-10229

Vlad Mihalcea mihalcea.vlad at gmail.com
Mon Sep 19 11:10:58 EDT 2016


I can take a look on it tomorrow and let you know.

Vlad

On Mon, Sep 19, 2016 at 5:50 PM, Christian Beikov <
christian.beikov at gmail.com> wrote:

> Hey everyone,
>
> 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.
>
> Any comments?
>
> Regards,
> Christian Beikov
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>


More information about the hibernate-dev mailing list