2 Replies Latest reply on Jul 8, 2002 11:26 AM by prashantpatel

    Generating OID's for PK

    prashantpatel

      Is there a service or api in jboss to generate unique id's for a new record (ie pkey), i have read in the pervious post that a class named
      "org.jboss.varia.autonumber. AutoNumberFactory" which provides this facility is there any api doc to refer to this, does some one have a example on this oid generation for ejb model. Which is the good design to generate unique id's (espically for ejb model)?