Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Use of eclipselink hinting

Using "JOIN FETCH" in JPQL should work, the hint is only required for nested
join fetchs which are not part of the JPQL spec.

Please include your full query code and JPQL and the SQL generated for it.

Dave Brosius-2 wrote:
> Greetings, i've noticed that for my queries that specify join fetches,
> EclipseLink doesn't actually do the join fetch. I then noticed the
> specification to do
> query.setHint("eclipselink.join-fetch", "t.project");
> and that does, indeed, cause a join fetch.
> Am I to understand that specifying 'join fetch' by itself in queries does
> nothing in eclipse link and i must use the hinting as above?

--- James Sutherland
 EclipseLink ,
Wiki: EclipseLink , TopLink 
Forums: TopLink , EclipseLink 
Book: Java Persistence 
View this message in context:
Sent from the EclipseLink - Users mailing list archive at

Back to the top