why not. U can do this in a session bean if all you want to do is a get. But
if u are looking at adding one to max and assigning it to next rec, you can
do it in the ejbCreate() of the entity bean.

----- Original Message -----
From: Christophe Demez <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 09, 2001 11:29 PM
Subject: Get the bigger Key


> Hello,
>
> I m looking for a way of getting the key value ( or the EJB ) for the
bigger
> primary key.
> it is like Select MAX(PrimaryKey) From MyTable, do you think it is
possible
> ? and how ?
>
> Thanks a lot
>
> Christophe
>
>
===========================================================================
> 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