-
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.
thanks,
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks