Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] batch reading with separate fetch size setting

I'm not exactly sure I understand what you mean perhaps give an example.

Assuming you want to set the fetch size of the nested batch queries, there
is no easy way to do this.  However you could prepare() your query, then
access the getBatchReadMappingQueries() that are generated to customize any
of the nested batch queries.



Kate Lain wrote:
> 
> Hi,
> 
> 
> 
> for performance reasons I've optimized my queries using batch reading
> and fetch size tuning - but is there a way to set the fetch size separate
> per
> batch query?
> 
> Thomas
> 


-----
---
http://wiki.eclipse.org/User:James.sutherland.oracle.com James Sutherland 
http://www.eclipse.org/eclipselink/
 EclipseLink ,  http://www.oracle.com/technology/products/ias/toplink/
TopLink 
Wiki:  http://wiki.eclipse.org/EclipseLink EclipseLink , 
http://wiki.oracle.com/page/TopLink TopLink 
Forums:  http://forums.oracle.com/forums/forum.jspa?forumID=48 TopLink , 
http://www.nabble.com/EclipseLink-f26430.html EclipseLink 
Book:  http://en.wikibooks.org/wiki/Java_Persistence Java Persistence 
-- 
View this message in context: http://www.nabble.com/batch-reading-with-separate-fetch-size-setting-tp19767497p19779803.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top