4 Replies Latest reply on Feb 15, 2002 3:03 AM by Carlo de Wolf

    ejbLoad "NoSuchEntityException" error

    Idoia Newbie

      We have a session bean accessing to an Entity Bean.
      This could be the pseudo-code:
      "
      Take a collection of entities (with find... method)
      for each entity do
      if condition A then
      update value
      else
      remove entity

      end_for
      "

      Two parallel executions of the same call take the same entities collection but one of both removes it and the other one generates an error "NoSuchEntityException" for
      each entity in the collection.


      Jboss should serialize the calls to a method of an EJB, shouldn´t it? It seems that it doesn´t do it.

      Has somebody any idea about wich can be the problem.

      TIA.

      Idoia Aguirre