You must also change the return type of the finder method in the
home interface.
SUMEER KAPILA wrote:
> Hello,
>
> I am migration my EJB application from Weblogic 5.1 to 6.1 using EJB1.1,
> finder methods are working fine if I am using java.util.Enumeration but if
> I am changing return type of finder methods from Enumeration to Collection
> it is giving following error (given below).
>
> Bean_rqkaw9_HomeImpl.java:11: findByQueryIndexNo(int) in
>
> cicp.pcp.ejb.model.ItemProvisionLineItemBean_rqkaw9_HomeImpl ca
> nnot implement findByQueryIndexNo(int) in
> cicp.pcp.ejb.model.ItemProvisionLineItemHome;
>
> attempting to use incompatible return type
> found : java.util.Enumeration
> required: java.util.Collection
> public final class ItemProvisionLineItemBean_rqkaw9_HomeImpl
>
> Can any one help me out
> Thanks & regds
> Sumeer
>
> ===========================================================================
> 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".
>
>
>
--
_______________________________________________________________________________
Evan Ireland Sybase EAServer Engineering [EMAIL PROTECTED]
Wellington, New Zealand +64 4 934-5856
===========================================================================
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".