Yes, i did add the finder in the home interface.What is amazing is that the finder is returning an empty collection although no SQL is executed with it. (checking the server.log)

here is my jaws.xml :
<jaws>
 <datasource>java:/OracleDB</datasource>
   <enterprise-beans>
     <entity>
       <ejb-name>RespEJB</ejb-name>
       <table-name>RESP</table-name>
       <create-table>false</create-table>
       <cmp-field>
         <field-name>respId</field-name>
         <column-name>RESP_ID</column-name>
       </cmp-field>
       <cmp-field>
         <field-name>respLib</field-name>
         <column-name>RESP_LIB</column-name>
       </cmp-field>
       <cmp-field>
         <field-name>raysId</field-name>
         <column-name>RAYS_ID</column-name>
       </cmp-field>
       <cmp-field>
         <field-name>confId</field-name>
         <column-name>CONF_ID</column-name>
       </cmp-field>
       <cmp-field>
         <field-name>respType</field-name>
         <column-name>RESP_TYPE</column-name>
       </cmp-field>
       <finder>
         <name>findByRaysAndType</name>
         <query>raysId = {0}AND respType = {1}</query>
         <order></order>
       </finder>
     </entity>
   </enterprise-beans>
</jaws>

any help appreciated
 

"danch (Dan Christopherson)" wrote:

SoftLiban RAMLAWI Mona wrote:

> Hi all,
> I'm just getting started with jBoss. I successfully deployed my first
> CMP bean and mapped it using jaws.jar ..

jaws.xml, right?

> I added a finder and added it's descriptor in jaws.xml..
> However, this finder is not being interpreted by JAWS .. I turned the
> debugger on and checked server.log, and it just passes by the finder ..
> It is working for the findAll and findBy<CMR-FIELD>  but not for the
> finder that i describe in jaws

Sorry to ask the obvious, but you _did_ add the finder to the home
interface, correct?

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

_______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to