primary keys and ejb's
Can anyone recommend a web site or reference that will describe
real-world examples describing how to create primary keys
automatically in a database using ejb's?
For example, I am using
an oracle database with an id field (the primary key) and want
to issue the "create()" method on my customer container managed
entity bean that is mapped to the customer table. Do I use
an oracle sequence number in the database to create the
id primary key, or do I manage it in the EJB portion?
Any help or comments would be appreciated.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center