Hi.
You either code a session bean method to perform that query or write a
finder method for the entity bean, something like findByMaxPK...

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Christophe Demez
Sent: Tuesday, January 09, 2001 8:00 PM
To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
Subject: [jBoss-User] 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 subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to