1 Reply Latest reply on Jul 9, 2003 8:12 AM by sevans393

    AutoNumber

    gerdpee

      Hi all,

      I'm an EJB newbie trying to create my first CMP/database app. So far I've been successful in creating all the tables and relationships. However, I'm having trouble creating the primary keys. I read about the AutoNumberFactory the Jboss has but couldnt find any further information of its usage. Would someone share his/her knowledge ?

      Thank you
      Gerd

        • 1. Re: AutoNumber
          sevans393

          yes - look in the cmp example code - gangsters. the use of autonumber is in there.

          I am not sure I fully understand teh how...but it works well.

          stuart