@Configuration @ConditionalOnBean(value=org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations.class) @ConditionalOnClass(value={org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations.class,org.springframework.data.jdbc.repository.config.JdbcConfiguration.class}) @ConditionalOnProperty(prefix="spring.data.jdbc.repositories", name="enabled", havingValue="true", matchIfMissing=true) @AutoConfigureAfter(value=JdbcTemplateAutoConfiguration.class) public class JdbcRepositoriesAutoConfiguration extends Object
Auto-configuration
for Spring Data's JDBC Repositories.
Once in effect, the auto-configuration is the equivalent of enabling JDBC repositories
using the EnableJdbcRepositories
annotation and providing a
JdbcConfiguration
subclass.
EnableJdbcRepositories
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.