http://newsgroups.bea.com/

and please use a meaningful subject....

thanks
r
----- Original Message -----
From: "Vipul Garg" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 23, 2001 7:12 AM


> Hi,
> I am using weblogic5.1and oracle 8 database.
> I have written Container Managed Persistence Bean that is connected to
table
> Orders which has three fields and a primary key custid for which I have
made
> a Primary Key class.I have defined these three methods in Home interface.
>         public Order create(int custid, String itemcode, int quantity)
> throws RemoteException, CreateException;
>         public Order findByPrimaryKey(OrderPK pk) throws RemoteException,
> FinderException;
>         public java.util.Enumeration findByCustID(int custid) throws
> RemoteException, FinderException;
> The following error is coming while deploying it on weblogic.
>
> [9.2.9] In EJB Order, the primary key class must implement the method
public
> int hashCode().
> [9.2.9] In EJB Order, the primary key class must implement the method
> boolean equals(Object other).
>
> Could you help me in overcoming this error.
> Thanx,
> vipul
>
>
===========================================================================
> 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".
>
>

===========================================================================
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