0 Replies Latest reply on Jan 22, 2006 3:59 PM by Ghaoui Roland

    Switching CMT/Autocommit to false.

    Ghaoui Roland Newbie

      in my framework which manages the persistance of the applications's EJB, I want the developper to have the choice to let the framework manager the persistance (Container Managed Transaction), or to manage it himself.
      But to let the framework manage the persistence i must set it to local-tx datasource.
      The problem is that this does not enable me to set the Autocommit to false when i want to manage the transaction myself.
      Is there a parameter I can put instead of local-tx datasource to let me switch between CMT and transaction managed by developper?