File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
will work correctly. But is that mandatory?
I agree. Here's the link:
subject: Entity bean
Primary key in Entity Bean
primay key ???
What is use of separate Primary Key Class in Entity Bean?
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