@Configuration @EnableTransactionManagement(order=2147483637) public class TransactionManagementConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
TransactionManagementConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.orm.hibernate5.HibernateTransactionManager |
transactionManager(org.hibernate.SessionFactory sessionFactory) |
org.springframework.transaction.support.TransactionTemplate |
transactionTemplate(org.springframework.transaction.PlatformTransactionManager transactionManager) |
@Bean(name="transactionManager") @Exposed public org.springframework.orm.hibernate5.HibernateTransactionManager transactionManager(org.hibernate.SessionFactory sessionFactory)
@Bean @Exposed public org.springframework.transaction.support.TransactionTemplate transactionTemplate(org.springframework.transaction.PlatformTransactionManager transactionManager)
Copyright © 2020. All rights reserved.