Use a (stateless) session bean using CPM.
R.
> -----Original Message-----
> From: Abdul Salam [mailto:[EMAIL PROTECTED]]
> Sent: Monday, 26 February 2001 18:52
> To: [EMAIL PROTECTED]
> Subject: How can I get no.of records using Entity Bean.
>
>
> Hi guys,
>
> I am sorry, if i disturbed you by this mail.
>
> I am using Entity bean managed by container for
> retrieving data from the datbase. I am getting the
> individual records using finder methods. I want to
> find the total no. of records, the finder method
> returns.
>
> I know the simple way by going thru the Enumeration
> value in a loop. But if thousands of records were
> there then it will take much time. Is there any easier
> way to find the number of records the finder method
> return.
>
> I appreciate your help regarding this.
>
> Thanks.
>
> Abdul.
>
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
>
> ==============================================================
> =============
> 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".
>
===========================================================================
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".