Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Entity bean  RSS feed

 
kedar parundekar
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Q ) In case of Entity Bean ->If the primary key is a composite key the primary key class should override the hashCode() and the equals() method.Why?
 
Yuan Ye
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think so that hash based collection of the EJBs will work correctly. But is that mandatory?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!