@Configuration @AutoConfigureAfter(value=org.springframework.boot.autoconfigure.jdbc.JdbcTemplateAutoConfiguration.class) @EnableConfigurationProperties(value=JdbcProperties.class) public class JdbcAutoConfig extends Object
Constructor and Description |
---|
JdbcAutoConfig() |
Modifier and Type | Method and Description |
---|---|
Db |
db(org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate namedParameterJdbcTemplate,
JdbcProperties jdbcProperties) |
@Bean @Primary @ConditionalOnBean(value=org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate.class) public Db db(org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate namedParameterJdbcTemplate, JdbcProperties jdbcProperties)
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.