类 JdbcAutoConfig
- java.lang.Object
-
- ai.yue.library.data.jdbc.config.JdbcAutoConfig
-
@Configuration @AutoConfigureAfter(org.springframework.boot.autoconfigure.jdbc.JdbcTemplateAutoConfiguration.class) @EnableConfigurationProperties(JdbcProperties.class) public class JdbcAutoConfig extends Object
data-jdbc配置,提供自动配置项支持与增强- 从以下版本开始:
- 2018年6月11日
- 作者:
- ylyue
-
-
构造器概要
构造器 构造器 说明 JdbcAutoConfig()
-
-
-
方法详细资料
-
db
@Bean @Primary @ConditionalOnBean({org.springframework.jdbc.core.JdbcTemplate.class,org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate.class}) public Db db(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate, org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate namedParameterJdbcTemplate)
-
-