[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.rt.eclipselink] Re: Dynamic fetch plan with navigations
|
- From: fs5@xxxxxxx (Frank Schwarz)
- Date: Mon, 11 Aug 2008 15:55:22 +0000 (UTC)
- Newsgroups: eclipse.rt.eclipselink
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
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