| Author |
Entity bean
|
kedar parundekar
Ranch Hand
Joined: May 10, 2006
Posts: 40
|
|
|
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
Joined: Mar 05, 2003
Posts: 172
|
|
|
I think so that hash based collection of the EJBs will work correctly. But is that mandatory?
|
 |
 |
|
|
subject: Entity bean
|
|
|