From: Sacha L. <sac...@co...> - 2001-05-05 07:52:59
|
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).=20 >=20 > -danch >=20 > Sacha Labourey wrote: > >=20 > > Hello, > >=20 > > I have question regarding the way finders work in the current > > implementation. > >=20 > > When using CMP and invoking a ejbFindXXX method returning a=20 > 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 =3D x) or does the=20 > ejbFindXXX > > call cache the DB information that can be reused for these=20 > subsequents bean > > calls (during the whole transaction)? |