A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
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
will work correctly. But is that mandatory?
I agree. Here's the link:
subject: Entity bean
Bean Provider must create a primary key class for an entity bean
What is use of separate Primary Key Class in Entity Bean?
primay key ???
Primary key in 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