Class JdbcRepositoriesAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.data.jdbc.JdbcRepositoriesAutoConfiguration
@AutoConfiguration(after={JdbcTemplateAutoConfiguration.class,DataSourceTransactionManagerAutoConfiguration.class})
@ConditionalOnBean({org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations.class,org.springframework.transaction.PlatformTransactionManager.class})
@ConditionalOnClass({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)
@EnableConfigurationProperties(JdbcDataProperties.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.
- Since:
- 2.1.0
- Author:
- Andy Wilkinson, Stephane Nicoll, Mark Paluch, Jens Schauder
- See Also:
-
EnableJdbcRepositories
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
JdbcRepositoriesAutoConfiguration
public JdbcRepositoriesAutoConfiguration()
-