This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
two or more primary keys
Modify Primary-key?
what happen when a table haven't Primary Key?
primary key class of entity beans?
adding to a table with no primary keys