Hello

    i have generated the entity beans using EJBWizard
    It works fine.

    Now , the situation arises that i have to include one more
    finder merthod into the entity bean so i did the following things

    1)  I inserted sign in Home interface
          public Enumeration findAllActivity() throw Remote Exceprion,Finder Exception

    2)  Then i did necessary changes into the jonas-ejb-jar.xml
           <finder-method-jdbc-mapping>
           <jonas-method>
              <method-name>findAllActivity</method-name>
           </jonas-method>
           <jdbc-where-clause>where </jdbc-where-clause>
            </finder-method-jdbc-mapping>
    3)  Then i recompiled the entity beans
          by make -f MyEntityBean .

    It it the wright way to include the new finder method into the
    entity beans after the entity beans is created . ??
    Or i have to do any more changes into the files.??

Thanks
Ritesh.






----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to