• Post Reply Bookmark Topic Watch Topic
  • New Topic

Autogenerated keys for EJB

 
JeanLouis Marechaux
Ranch Hand
Posts: 906
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all.
Could you tell me what pattern you are using for autogenerated keys.
Based on Ejb Design patterns, there are 3 choices :
1-Sequence blocks
2-UUID
3-Stored Proc
Some argue the UUID is the best, others that the keys generated are too long to be efficient etc..
Please share your experience.
[ May 31, 2002: Message edited by: Bill Bailey ]
[ May 31, 2002: Message edited by: Bill Bailey ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!