Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

primary key class.  RSS feed

 
Nikita Deshmukh
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can multiple entity beans use the same primary key class ?

Thanks in advance.
 
Surya Baabu
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Yes you can use the same primary key class for multiple entity beans. You can find this information from

http://www.javaworld.com/javaworld/jw-09-2000/jw-0901-entitybeans.html
http://java.sun.com/developer/technicalArticles/ebeans/brewingejb/

Surya Baabu
 
Surasak Leenapongpanit
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at this thread, hope this helps you.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!