Examples of NoTransactionException


Examples of org.springframework.transaction.NoTransactionException

   * because the method was invoked outside an AOP invocation context
   */
  public static TransactionStatus currentTransactionStatus() throws NoTransactionException {
    TransactionInfo info = currentTransactionInfo();
    if (info == null) {
      throw new NoTransactionException("No transaction aspect-managed TransactionStatus in scope");
    }
    return currentTransactionInfo().transactionStatus;
  }
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.