@Configuration @EnableTransactionManagement(proxyTargetClass=true) @EnableAspectJAutoProxy(proxyTargetClass=true) @Lazy public class JdbcConfig extends Object
| 构造器和说明 |
|---|
JdbcConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor |
autowiredAnnotationBeanPostProcessor() |
org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor |
persistenceExceptionTranslationPostProcessor() |
org.springframework.jdbc.datasource.DataSourceTransactionManager |
transactionManager(DataSource dataSource) |
@Bean
@DependsOn(value="flyway")
public org.springframework.jdbc.datasource.DataSourceTransactionManager transactionManager(@Autowired
DataSource dataSource)
@Bean public org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor persistenceExceptionTranslationPostProcessor()
@Bean public org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor autowiredAnnotationBeanPostProcessor()
Copyright © 2017 江苏南大先腾信息产业股份有限公司. All rights reserved.