4 Replies Latest reply on Feb 5, 2009 3:58 AM by tarun bansal

    Callback Transaction Commit-CMP

    tarun bansal Newbie

      Hi 


      I am using container managed persistence through JPA in my seam applications.


      I want to perform some operation whenever the transaction commits. I have configured EntityManager in conversation context like this-



      <persistence:managed-persistence-context auto-create="true"
        name="entityManager"  scope="CONVERSATION" persistence-unit-jndi-name="java:/TalentPactEntityManagerFactory"  />
      
      
      



      Please suggest me how can I configure some callback at transaction commit event.


      Thanks
      Tarun