A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
EJB and other Java EE Technologies
Primary Key CMP
Joined: Jan 18, 2002
Jun 10, 2002 07:19:00
If my primary key is auto-generated using "sequence" in oracle how should i code my primary key class and map the fields so that create() method calls inserts one record into the table properly.
Joined: Jun 25, 2001
Jun 10, 2002 08:23:00
You can't. This is a problem with CMPs that allegedly will be fixed in future. Try searching this forum for "sequence" and you'll find more on this common problem.
Customer surveys are for companies who didn't pay proper attention to begin with.
subject: Primary Key CMP
Problem with update data to database
primay key ???
Primary key and update method strange issue
JDBC Callable Statement JConnect2 Returning null resultset
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014