[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.rt.eclipselink] Re: Dynamic fetch plan with navigations

Obviously, EclipseLink is jumping over the first relationship.

Doing

Query query = entityManager.createQuery("SELECT p FROM Person p");
query.setHint("eclipselink.join-fetch", "p.friends");
query.setHint("eclipselink.join-fetch", "p.friends.friends");

will prevent the exception.

Is there also a hint to force outer-joins?

-- Frank