Hi,
I have created a 'Account' Entity bean having a Primary Key class
'AccountPK' which has a AccountNumber field. My bean class has abstarct
set/get methods for AccountNumber also. Signatures of these methods is
as under

public abstract int getAccNumber();
public abstract void setAccNumber(int accnumber);

When i tried deploying the Bean in weblgic 7.0, i got the exception
saying that the return type of the abstarct methods getAccountNumber
should be of primary key AccountPK and not the int. However, all the
examples which i could find in tutorials and Books says that the return
type should be the data type of the field which in this case is int.

Thanks in advance!

Manoj Kumar.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to