aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes How to implement EJB 2.0 Entity bean for auto increment DB file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How to implement EJB 2.0 Entity bean for auto increment DB file" Watch "How to implement EJB 2.0 Entity bean for auto increment DB file" New topic
Author

How to implement EJB 2.0 Entity bean for auto increment DB file

Diya charu
Greenhorn

Joined: Nov 29, 2006
Posts: 8
How to implement EJB 2.0 Entity bean for auto increment DB filed, let's say I have table person(ID, name), ID is auto-increment PK, I have ejbCreate(ID, name), if I send null for ID that won't work (exception), if I have ejbCreate(name) that won't work because I receive exception.
I am using Db2 server, app. server is Eclipse.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to implement EJB 2.0 Entity bean for auto increment DB file