类 DBConfiguration

java.lang.Object
net.sohelp.boot.engine.db.config.DBConfiguration

@Configuration @ConditionalOnProperty(prefix="sohelp-boot.engine.db", name="enabled", havingValue="true", matchIfMissing=true) @ComponentScan(basePackages="net.sohelp.boot.engine.db") public class DBConfiguration extends Object
数据库引擎配置
从以下版本开始:
203-01-21
作者:
Aaron Fung
  • 构造器详细资料

    • DBConfiguration

      public DBConfiguration()
  • 方法详细资料

    • annotationDrivenTransactionManager

      @Bean public org.springframework.transaction.PlatformTransactionManager annotationDrivenTransactionManager()
      配合注解完成事物管理
      返回: