|
Finder
methods are declared in a proprietory format for each vendor so they are
declared in the vendors .xml file. For Orion this is orion-ejb-jar.xml and this
file is created during the deployment process.in the
applications-deployments/factory/ejbs directory
look
at the orion-ejb-jar.dtd referenced in this file for
more
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
|