0 Replies Latest reply on Mar 5, 2012 8:18 AM by Moacir Cardoso

    Management of transactions that span over multiple bundles

    Moacir Cardoso Newbie

      Hello,

      I need to separate the data access layer of my application into multiple bundles and I am concerned with the management of transactions that span over multiple bundles in the same instance.

      I wonder how it should be made a ​​jpa configuration of each bundle so that all share the same datasouce pool and participate in transactions opened by services components.

      I will use the spring and @Transaction-based transactions in the service layer.

      The transaction will be started / committed / rolledback in the services layer.

      Does anyone have an example of how I set this up, I'm using springDM + JPA + Hibernate?

       

      Edited by: moacsjr on Mar 5, 2012 1:17 PM