Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Join / Batch reading and FetchType.LAZY


Bart Kummel wrote:
> 
> I can resolve this by calling getInvoiceLines() directly
> after the query, but I wonder if there's a more elegant way to fix this.
> 

Please try this one:

q.setHint(QueryHints.FETCH_GROUP_LOAD, HintValues.TRUE);

-- Frank
-- 
View this message in context: http://old.nabble.com/Join---Batch-reading-and-FetchType.LAZY-tp30406354p30408962.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top