This content has been marked as final.
Show 1 reply
-
1. Re: The class must provide suitable implementation of the ha
rstinejr Mar 4, 2003 1:26 PM (in response to grandmst)Just to clarify -- the class that JBoss is complaining about is the primary key class, com.cybermedtech.ejb.orgstruct.DepartmentToDivisionPK. In your post, it was not clear in which class you had put the hashCode method.
Also, in your post the methods had the name "hasCode" instead of "hashCode".
You probably already know this, but in addition to having a hashCode method, DepartmentToDivisionPK will also need to define a public "equals" method, it needs to implement "Serializable", and its instance variables need to be public.