Package org.jbpm.pvm.internal.tx

Examples of org.jbpm.pvm.internal.tx.HibernateSessionResource


      session = sessionFactory.openSession();
    }
   
    StandardTransaction standardTransaction = environment.get(StandardTransaction.class);
    if (standardTransaction!=null) {
      HibernateSessionResource hibernateSessionResource = new HibernateSessionResource(session);
      standardTransaction.enlistResource(hibernateSessionResource);
    }

    return session;
  }
View Full Code Here


      session = sessionFactory.openSession();
    }
   
    StandardTransaction standardTransaction = environment.get(StandardTransaction.class);
    if (standardTransaction!=null) {
      HibernateSessionResource hibernateSessionResource = new HibernateSessionResource(session);
      standardTransaction.enlistResource(hibernateSessionResource);
    }

    return session;
  }
View Full Code Here

TOP

Related Classes of org.jbpm.pvm.internal.tx.HibernateSessionResource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.