Hey
Saurabh Sahai wrote:
>
> Hi,
>
> >Nope. Two reasons:
> >a) The ejbFindByPrimaryKey method returns the primary key class, which is
> different for each bean
>
> Could'nt the return type be declared as on Object ?
Sure, but there's no need to.
> >b) When using container managed persistence this method is implemented by
> the container and not >in the bean
>
> The EntityBean interface should declare this as an abstract method.
How do you define an "abstract" method in an interface??
/Rickard
--
Rickard �berg
Computer Science student@LiTH
@home: +46 13 177937
Email: [EMAIL PROTECTED]
Homepage: http://www-und.ida.liu.se/~ricob684
===========================================================================
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".