This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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]
 
jQuery in Action, 2nd edition
 
subject: Can some one help me with Entity Beans