here u can use where condition
---------------------- Forwarded by ebreddy/Cds on 26/02/2000 02:41 AM
---------------------------
ebreddy
26/02/2001 02:49 PM
Sent by: ebreddy
To: A mailing list for Enterprise JavaBeans development
<[EMAIL PROTECTED]>
cc:
Subject: Re: How can I get no.of records using Entity Bean. (Document
link not converted)
Hi Abdul,
Use session bean, but dont wrap cmp in session, but use bean managed trx,
issue a select stmt.
SELECT COUNT(*) FROM TABLENAE WHERE F1=?.
I hope this will solve u problem and this is quite efficient.
Reddy
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".