Danch,
I have done that "by default" (one fetch size for all finders).
Honestly, I misunderstood what fetch size was...

What I wanted is a limit of entity bean loaded with a finder method.
Say I have 20000 records.
I have a findStartAtName(String name) method.
I want to avoid instantiating all 20000 beans but only, say 100.
Then I use again this finder method to retrieve the next 100, etc...

I can avoid the instanciation of entity context by hacking the
JDBCFind...Command.
Using Cursor on ResultSet, I got it now.

Are you working on that Danch ?

Vincent.

ps: I can still commit the fetch size stuff, it is good to have.

>
> It also fits in with my evil plot to do 'cursor' type things on finders.
>
> -danch
>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to