This content has been marked as final.
Show 3 replies
-
1. Re: how to make unique primary key increce automatically
jsk Sep 7, 2001 2:52 AM (in response to sunhongfeng)Maybe you can do something ejbPostCreate method to set the key value inside the ejb. Try looking at the docs on this method.
Jesper -
2. Re: how to make unique primary key increce automatically
sunhongfeng Sep 7, 2001 4:46 AM (in response to sunhongfeng)hi jesper,
the primary key is used to create ejb. how can you get it in ejbPostCreate()?
cheers.
eric -
3. Re: how to make unique primary key increce automatically
p_d_austin Sep 7, 2001 5:22 AM (in response to sunhongfeng)Check out this description of primary key generation strategies http://www.theserverside.com/resources/review/ejbpatterns-primarykeystrategies-sept3.zip