Hi! See below.

Indika Fernando skrev:
> 
> thanx very much Lennart Petersson
> 
> When I include that it gives the following messages.....again need a quick
> reply!
> 
> [Verifier]
> Bean   : UserListBean
> Method : public String ejbCreate(String)
> Section: 9.2.3
> Warning: The return type of an ejbCreate(...) method must be the entity
> bean's primary key type.
Ok! Then do so ;-) (This is new in EJB 1.1) That is: declare the
ejbCreate method to return UserListPK or whatever your PK class is
named. But in the code you just return null!
> 
> [Verifier]
> Bean   : UserListBean
> Section: 9.2.9
> Warning: The primary key class must override equals().
Same here - just do it (and the hashcode() methods also as mentioned
below). Look at the EJB 1.1 spec or elsewhere in this mailing list.

/Lennart
> 
> [Verifier]
> Bean   : UserListBean
> Section: 9.2.9
> Warning: The primary key class must override hashCode().
> 
> [Container factory] Deploying UserBean
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> List Help?:          [EMAIL PROTECTED]

-- 
mailto:[EMAIL PROTECTED]
http://www.benefit.se/english


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to