Hi all,
I am new to EJBs and am currently attempting to define my findBy methods. I was under the impression that you define your sql in the ejb-jar file like such:
 
 <finder-method query="select name,type,createDate,updateDate,creator,currentOwner,privateView,status,contentLanguage,parentId,appInstance_id,filter from remoteApp where $name = $1" partial="false">
   <method>
    <ejb-name>RemoteApp</ejb-name>
       <method-name>findByName(name)</method-name>
    <method-params>
      <method-param>java.lang.String</method-param>
       </method-params>
          </method>
       </finder-method>
   
 
However I have noticed that the orion ejb-jar file also generated finder methods. So the question is what exactly is defined in the ejb-jar file? your where conditions or nothing. I am running orion 1.4.7 and the orion ejb jar file has defined everything from what I can see.
 
regards Francis

Reply via email to