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;
/**
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