|
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 the collection.
|
- Counting CMP entities Sergei Batiuk
- RE: Counting CMP entities elephantwalker
- Re: Counting CMP entities Russ White
- Re: Counting CMP entities Sergei Batiuk
- RE: Counting CMP entities elephantwalker
- Undeliverable: Mail Delivery Subsystem
- RE: Counting CMP entities Jeff Schnitzer
- Undeliverable: Mail Delivery Subsystem
