Re: Counting CMP entities

2001-06-14 Thread Russ White
: elephantwalker To: Orion-Interest Sent: Wednesday, June 13, 2001 6:56 PM Subject: RE: Counting CMP entities Sergei, Doa findAll() ,you get a collection. Then do a result.size(), that should do it. Regards, the elephantwalker -Original Message

Re: Counting CMP entities

2001-06-14 Thread Sergei Batiuk
queries that return results of arbitrary types. However, I could not find any good examples showing how to use it. WBR, Sergei - Original Message - From: elephantwalker To: Orion-Interest Sent: Thursday, June 14, 2001 1:56 AM Subject: RE: Counting CMP entities

RE: Counting CMP entities

2001-06-14 Thread elephantwalker
, the elephantwalker -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Sergei BatiukSent: Wednesday, June 14, 2000 7:08 AMTo: Orion-InterestSubject: Re: Counting CMP entities Dear elephatwalker, It looks like a big perfomance hit for both

RE: Counting CMP entities

2001-06-14 Thread Jeff Schnitzer
, 2001 6:00 AM To: Orion-Interest Subject: Re: Counting CMP entities That would work fine but would be very expensive. I would create a getCount() method and have that method do a simple JDBC call and return the count. This way the container does not have the added overhead of creating/marshalling

RE: Counting CMP entities

2001-06-13 Thread elephantwalker
Sergei, Doa findAll() ,you get a collection. Then do a result.size(), that should do it. Regards, the elephantwalker -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Sergei BatiukSent: Tuesday, June 13, 2000 3:25 PMTo: