users@glassfish.java.net

Entity auto generated id

From: Kenneth Clark <kenneth_at_rabiddog.co.za>
Date: Wed, 24 Jan 2007 13:46:37 +0200

This might be a really weird question so please forgive me

Is there anyway to auto generate a unique ID using a custom routine for
the record?

i.e.: I would like to use a GUID as the PK value for an entity. Is this
possible?

Thanks

-- 
Kenneth Clark
Developer / Analyst
Rabid Dog Laboratories ^(TM)
Putting the art back into development
*tel:*           +27 11 475 7409
*mobile:*   +27 82 500 5090
*e-mail:*     kenneth_at_rabiddog.co.za
*website:*  http://www.rabiddog.co.za/