If you have a primary key you are passing a findbyprimary(Pk)
that only return one row then it will return one row.

if you have FinByprimarymethod(Param) that returns mutli- entity rows then
it will return the mutiple rows into an enumeration or collection.
i.e.

  public enumeration findByPrimarymethhod( param) { };

if you need more details don't hesitate to contact me.

Regards,
Zahid



> -----Original Message-----
> From: Mohamed [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, February 13, 2001 2:30 PM
> To:   [EMAIL PROTECTED]
> Subject:      consulting a Data Base
>
> Hi all:
>
> I understand that the Entity Bean representa a row in a BBDD. Can I read
> the
> many records in the DDBB within a servlet?
> I mean, what is the correct way to make a select with a resultset of many
> records within a aplication server?
> It is correct make it with java classes? what about scalability and
> performance
> of the J2EE architecture.
>
>
> Mohamed
>
> ==========================================================================
> =
> 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".

Reply via email to