Transactions, Spring.
PlatformTransactionManager of the type JTA: @Bean public PlatformTransactionManager platformTransactionManager() throws Throwable { return new JtaTransactionManager( userTransaction(), transactionManager()); } Here, we are providing instances of UserTransaction and TransactionManager to