Class TransactionManagementConfiguration
java.lang.Object
com.foreach.across.modules.hibernate.config.TransactionManagementConfiguration
@Configuration
@EnableTransactionManagement(order=2147483637)
public class TransactionManagementConfiguration
extends Object
- Author:
- Arne Vandamme
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.orm.hibernate5.HibernateTransactionManager
transactionManager
(org.hibernate.SessionFactory sessionFactory) org.springframework.transaction.support.TransactionTemplate
transactionTemplate
(org.springframework.transaction.PlatformTransactionManager transactionManager)
-
Field Details
-
LOG
public static final org.slf4j.Logger LOG
-
-
Constructor Details
-
TransactionManagementConfiguration
public TransactionManagementConfiguration()
-
-
Method Details
-
transactionManager
@Bean(name="transactionManager") @Exposed public org.springframework.orm.hibernate5.HibernateTransactionManager transactionManager(org.hibernate.SessionFactory sessionFactory) -
transactionTemplate
@Bean @Exposed public org.springframework.transaction.support.TransactionTemplate transactionTemplate(org.springframework.transaction.PlatformTransactionManager transactionManager)
-