A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course 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?
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
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-2015