Re: compound key

2001-01-16 Thread Henry Hu
Thank you for your help, Tim. It worked. Henry Tim Squires wrote: What you need to do is create a primary key class with the primary keys in it: public class answerPK implements java.io.Serializable { public Integer Id; public Integer Answer_Type_Id; /**

RE: compound key

2000-12-21 Thread Tim Squires
Ooops, Thanks Stanislas. Don't for get the hashCode and equals methods in the primary key classes -Original Message- From: Stanislas Truffaut Sent: 20 December 2000 17:11 To: Tim Squires Subject: RE: compound key Hi, be carefull a PK class as said in ejb specification must