1 Reply Latest reply on Aug 12, 2002 6:31 PM by L.G.

    java.util.ConcurrentModificationException

    L.G. Newbie

      When I call CMP Entity Bean method findByIdRange(to, from)

      <query-method>
      <method-name>findByIdRange</method-name>
      <method-params>
      <method-param>int</method-param>
      <method-param>int</method-param>
      </method-params>
      </query-method>

      <ejb-ql>[CDATA[
      SELECT OBJECT (ic)
      FROM InvestmentCompany ic
      WHERE ic.investmentCompanyId >= ?1 AND ic.investmentCompanyId < ?2
      ]]
      </ejb-ql>

      from SFSB I get java.util.ConcurrentModificationException.
      Any idea why?
      Env: jboss-3.0.1, sun jdk-1.4, RedHat 7.3, Oracle7

      TIA