Package org.jbpm.env.session.hibernate

Examples of org.jbpm.env.session.hibernate.HibernateTransactionResource


      if (standardTransaction==null) {
        throw new WireException("couldn't find standard-transaction "+(standardTransactionName!=null ? "'"+standardTransactionName+"'" : "by type ")+"to enlist the hibernate transaction");
      }

      // enlist the hibernate transaction to the global transaction
      HibernateTransactionResource resource = new HibernateTransactionResource(hibernateTransaction, session);
      standardTransaction.enlistResource(resource);
    }

    // make sure that the session is closed when the context closes.
    // method event will be called (see below)
View Full Code Here

TOP

Related Classes of org.jbpm.env.session.hibernate.HibernateTransactionResource

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.