@Configuration @AutoConfigureAfter(value=org.springframework.boot.autoconfigure.jdbc.JdbcTemplateAutoConfiguration.class) @EnableConfigurationProperties(value=JdbcProperties.class) public class JdbcAutoConfig extends Object
| 构造器和说明 |
|---|
JdbcAutoConfig() |
@Bean
@Primary
@ConditionalOnBean(value={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)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.