0 Replies Latest reply on Mar 10, 2008 6:33 AM by Nagendra Kumar

    deltee cmp entity bean

    Nagendra Kumar Newbie

      Hi, Friends

      i have a question aan i delete cmp entity bean coz i am getting error

      my ejb-ql is like this


      <query-method>
      <method-name>deleteAll</method-name>
      <method-params>
      <method-param>java.lang.String</method-param>
      </method-params>
      </query-method>
      <result-type-mapping>Local</result-type-mapping>
      <ejb-ql>
      <![CDATA[DELETE FROM UserAS p WHERE p.name = ?1]]>
      </ejb-ql>



      thanks in adv