Class PlatformTransactionManagerAdapter

  • All Implemented Interfaces:
    TransactionManager

    public final class PlatformTransactionManagerAdapter
    extends Object
    implements TransactionManager
    Provides a light JTA TransactionManager based upon the PlatformTransactionManager This is the transaction manager that Teiid code sees. If no third party transaction manager found, but there are multiple data sources are defined, then this class will provide light weight JTA *like* functionality. Here in case of failure it is totally on the user to manually rollback any changes if any datasources failed to commit during the commit run. This transaction manager is best used when we are dealing with only 1 transactional resource.