Dear elephatwalker,
It looks like a big perfomance hit for both
database and container to count entities in such a way. Another decision is to
talk directly to db, which is also not good.
Browsing EJB 2.0 documentation, I found out
that there is an ejbSelect() method that allows to perform queries that return
results of arbitrary types. However, I could not find any good examples showing
how to use it.
WBR,
Sergei
|
- 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