Thanks Danch!

(even if the answer does not make me happy ;) )


Cheers,



                                        Sacha


> -----Message d'origine-----
> Finders currently hit the database n+1 times (where N is the number of
> beans selected by the query). 
> 
> -danch
> 
> Sacha Labourey wrote:
> > 
> > Hello,
> > 
> > I have question regarding the way finders work in the current
> > implementation.
> > 
> > When using CMP and invoking a ejbFindXXX method returning a 
> collection of
> > beans, if I then invoke a method on each of these beans, will they each
> > require a DB call (select * from xxx where PK = x) or does the 
> ejbFindXXX
> > call cache the DB information that can be reused for these 
> subsequents bean
> > calls (during the whole transaction)?


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

Reply via email to