Obtain the TransactionManager from the cache
Once initialized, the TransactionManager can also be obtained from the Cache itself: Â //the cache must have a transactionManagerLookupClass defined Cache cache = cacheManager.getCache(); //equivalent with calling TransactionManagerLookup.getTransactionManager(); TransactionManager tm = cache.getAdvancedCache().getTransactionManager();