Example usage for org.springframework.transaction.support AbstractPlatformTransactionManager isNestedTransactionAllowed

List of usage examples for org.springframework.transaction.support AbstractPlatformTransactionManager isNestedTransactionAllowed

Introduction

In this page you can find the example usage for org.springframework.transaction.support AbstractPlatformTransactionManager isNestedTransactionAllowed.

Prototype

public final boolean isNestedTransactionAllowed() 

Source Link

Document

Return whether nested transactions are allowed.

Usage

From source file:org.drools.container.spring.beans.persistence.HumanTaskSpringTransactionManager.java

public HumanTaskSpringTransactionManager(AbstractPlatformTransactionManager ptm) {
    this.ptm = ptm;
    this.nestedTransactions = ptm.isNestedTransactionAllowed();
}