@Configuration(proxyBeanMethods=false) @ConditionalOnBean(value={org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations.class,org.springframework.transaction.PlatformTransactionManager.class}) @ConditionalOnClass(value={org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations.class,org.springframework.data.jdbc.repository.config.AbstractJdbcConfiguration.class}) @ConditionalOnProperty(prefix="spring.data.jdbc.repositories", name="enabled", havingValue="true", matchIfMissing=true) @AutoConfigureAfter(value={JdbcTemplateAutoConfiguration.class,DataSourceTransactionManagerAutoConfiguration.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 an AbstractJdbcConfiguration
subclass.
EnableJdbcRepositories