A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
Joined: May 10, 2006
Jul 26, 2006 00:17:00
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?
Joined: Mar 05, 2003
Jul 26, 2006 15:47:00
I think so that hash based collection of the EJBs will work correctly. But is that mandatory?
rocket mass heater
subject: Entity bean
What is use of separate Primary Key Class in Entity Bean?
Primary key in Entity Bean
primay key ???
Bean Provider must create a primary key class for an entity bean
Is it possible to create a Entity Bean with no primary key?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014