[hibernate-dev] Question regarding HHH-10229
Christian Beikov
christian.beikov at gmail.com
Mon Sep 19 13:48:47 EDT 2016
Thanks Vlad,
and for what it's worth, the tests for H2 run through.
Am 19.09.2016 um 17:10 schrieb Vlad Mihalcea:
> 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 <mailto: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
> <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 <mailto:hibernate-dev at lists.jboss.org>
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
> <https://lists.jboss.org/mailman/listinfo/hibernate-dev>
>
>
More information about the hibernate-dev
mailing list