Remove @ConditionalOnMissingBean check on deprecated class
Closes gh-20968
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
* Copyright 2012-2020 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -28,7 +28,6 @@ import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.Import;
|
||||
import org.springframework.data.jdbc.repository.config.AbstractJdbcConfiguration;
|
||||
import org.springframework.data.jdbc.repository.config.EnableJdbcRepositories;
|
||||
import org.springframework.data.jdbc.repository.config.JdbcConfiguration;
|
||||
import org.springframework.data.jdbc.repository.config.JdbcRepositoryConfigExtension;
|
||||
import org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations;
|
||||
import org.springframework.transaction.PlatformTransactionManager;
|
||||
@@ -62,7 +61,7 @@ public class JdbcRepositoriesAutoConfiguration {
|
||||
}
|
||||
|
||||
@Configuration
|
||||
@ConditionalOnMissingBean({ AbstractJdbcConfiguration.class, JdbcConfiguration.class })
|
||||
@ConditionalOnMissingBean(AbstractJdbcConfiguration.class)
|
||||
static class SpringBootJdbcConfiguration extends AbstractJdbcConfiguration {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user