Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] multible fetch joins

Hi Michael,

  The limitation on JPQL fetch joins comes from the JPA specification.

Have a look at the following link to see how you can get multiple fetch joins in all versions of EclipseLink.

http://wiki.eclipse.org/Using_EclipseLink_JPA_Extensions_%28ELUG%29#Join_Fetch

We are currently considering what the feature set will be for EclipseLink 2.1 and the following enhancement request covers expanding EclipseLink's JPQL capabilities beyond the JPA spec. Please feel free to vote for it and add any comments you have.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=219814

-Tom



Michael Simons wrote:
Hello [EclipseLink 1.2.0, database=MySQL 5],

I'm trying to port a client/server application first to JPA to enable the 3-tier migration.
At the moment I try to use EclipseLink as JPA implementation.

EclipseLink 1.2.0 does not support multible fetch joins like
select a from A a fetch join A.b b ...
because the alias 'b' is already denied.

Will this be supported in the 2.x of EclipseLink?

Kind Regards,
Michael

_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users


Back to the top