Hi everybody
I am experiencing problem in orion-ejb-jar.xml .
Whenever i try to write a finder method involving 2
fields rather than one, orion overwrites the query in
the finder-method by a findAll equivalent method like
below
<finder-method query="">
<!-- Generated SQL: "select codes.companyId,          
           codes.categoryName,                     
codes.entryValue,                     
codes.entryDescription 
                     from codes" -->

INSTEAD of 
<finder-method query="$companyId = $1 
               and $categoryName = $2">
                                
please tell me how to stop orion from overwriting the
finder-method at time of deployment....
  I even tried to copy the orion-ejb-jar.xml into the
XXX/lib/ejb/orion/orion-ejb-jar.xml writing a small
copy script in the build.xml and then built the
XXX-ejb.jar out of it thinking that ant will then
automatically copy the orion-ejb-jar.xml in the
application-deployment/XXX/XXX-ejb.jar directory .
XXX is the name of my application.

  Please help me 
Thanks 



__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

Reply via email to