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 ?
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.