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

    Callback Transaction Commit-CMP

    tarunbansal84

      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