5 Replies Latest reply on Aug 27, 2009 5:36 PM by Arbi Sookazian

    entitymanager after passivation

    Stijn Cremers Novice


      I've a problem with the entitymanager.
      When the use doesn't do something for around 10 minutes, my stateful session bean gets passivated, but when the user does something after the passivation, for example removing an enity, the entity doesn't get removed from the database, i think the persistence context of the entitymanager is closed after passivation.

      How can i handle this situation?