[hibernate-dev] HHH-9329

Christian Beikov christian.beikov at gmail.com
Wed Sep 21 03:14:12 EDT 2016


Thanks, I know that it's a beauty ^^
Hope this can get into all 5.x branches?

Regards,
Christian
Am 20.09.2016 um 23:05 schrieb Steve Ebersole:
> I took a quick look.  I'd prefer to see better solution as we migrate 
> to SQM; but for 5.x, given how Hibernate generates SQL there, I am not 
> sure how else you would possibly do this
>
>
> On Tue, Sep 20, 2016 at 12:54 PM Vlad Mihalcea 
> <mihalcea.vlad at gmail.com <mailto:mihalcea.vlad at gmail.com>> wrote:
>
>     Thanks,
>
>     I'm going to review it tomorrow.
>
>     Vlad
>
>     On Tue, Sep 20, 2016 at 8:38 PM, Christian Beikov <
>     christian.beikov at gmail.com <mailto:christian.beikov at gmail.com>> wrote:
>
>     > Hey again,
>     >
>     > I implemented the approach that I proposed in the issue and a
>     test in
>     > https://github.com/hibernate/hibernate-orm/pull/1561
>     >
>     > It detects left joins with join tables that use the target table
>     alias.
>     > The join table is replaced with a subquery and the WITH clause
>     is moved
>     > to the join of the subquery.
>     >
>     > Any comments?
>     >
>     > Regards,
>     > Christian
>     > _______________________________________________
>     > 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
>     >
>     _______________________________________________
>     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
>



More information about the hibernate-dev mailing list