Package com.caucho.transaction

Examples of com.caucho.transaction.TransactionImpl.enlistResource()


  ManagedPoolItem poolItem = _poolItems.get(i);

  poolItem.enableLocalTransactionOptimization(_poolItems.size() == 1);

  try {
    xa.enlistResource(poolItem);
  } catch (Exception e) {
          String message = L.l("Failed to begin UserTransaction due to: {0}", e);
          log.log(Level.SEVERE, message, e);

    throw new SystemException(message);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.