Register / Login
EJB and other Java EE Technologies
How to use db sequence to generate primary key for EJB CMP
posted 12 years ago
Hi all. I'm new to
and need your help.
I have a database sequence already defined but how do I use it to generate primary key values for my entity bean
. I'm using Oracle db and my EJB will be deployed in WebSphere Application Server.
I would appreciate any help.
SCJP 1.4<br />SCWCD 1.4
Boost this thread!
How to generate Primary Keys in CMP-EJB
EJB and Database
how to handle autogenerated numbers in oracle using CMP
ejbcreate return type
Composite Primary Key in CMP Bean??