| A 32 byte GUID generator (Globally Unique ID). These artificial keys SHOULD NOT be seen by the user,
not even touched by the DBA but with very rare exceptions, just manipulated by the database and the programs.
Usage: Add an id field (type java.lang.String) to your EJB, and add setId(XXXUtil.generateGUID(this)); to the ejbCreate method.
|