4 Replies Latest reply on Jun 24, 2003 11:49 PM by linden28

    can I use '=>' and '<=' with java.lang.String objects in EJB

    linden28 Newbie


      <query-method>
      <method-name>findByItemAttrCodeQueryBetween</method-name>
      <method-params>
      <method-param>java.lang.String</method-param>
      <method-param>java.lang.String</method-param>
      <method-param>java.lang.String</method-param>
      </method-params>
      </query-method>

      <ejb-ql>select object(o) from RpItemAttr o where o.rpTypeCode = ?1 and o.rpItemAttrCode &gt;= ?2 and o.rpItemAttrCode &lt;= ?3</ejb-ql>