aspose file tools
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Primiary Key Field Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Reply Bookmark "Primiary Key Field" Watch "Primiary Key Field" New topic
Author

Primiary Key Field

hiren dossani
Greenhorn

Joined: May 25, 2002
Posts: 2
The customer table has a 'customerID' field which is an auto-incremented field. So, I use 'default' value to insert a customer record in table using db2 v8.1 database.
Now I want to create a CMP Customer entity bean, with the properties as id, firstname, lastname, username, password, email, etc.
Not sure, if the mapping of id property with customerID column in database will work. Also, how to implement the create and findByPrimarykey methods ?
Thanks for all your help.
--
hiren
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Primiary Key Field
 
Similar Threads
How to read XML in a Message Driven Bean?
Linking two tables in JDBC
The XMLQuery syntax problem
Composite Key Mapping with OneToMany does not work
[Newb] How to reuse attributes