aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Can some one help me with Entity Beans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Can some one help me with Entity Beans" Watch "Can some one help me with Entity Beans" New topic
Author

Can some one help me with Entity Beans

Indrayani Bhoir
Greenhorn

Joined: Dec 02, 2002
Posts: 21
Hi,
I have one database table in which primary key field is defined as autonumber (Identity).
How can i create a Entity bean CMP for such table where primary key is auto number.?
thanks,
indu
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
First of all, "indu" does not qualify as a valid display name according to our naming policy, so you'll have to change it right away.
As to your question, it depends on which application server you're using?
If it happens to be WebLogic 7, for example, here's the relevant documentation.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can some one help me with Entity Beans
 
Similar Threads
adding to a table with no primary keys
two or more primary keys
primary key class of entity beans?
Modify Primary-key?
what happen when a table haven't Primary Key?