Remove JdbcConfiguration import in EnableJdbcRepositories.
We now no longer import JdbcConfiguration to prevent bean overrides when creating a configuration class that extends JdbcConfiguration. Using EnableJdbcRepositories requires either an import of the configuration class inside the application code or registration of the required RelationalConverter and RelationalMappingContext beans.
Related ticket:
@@ -33,12 +33,14 @@ import org.springframework.data.jdbc.repository.support.JdbcRepositoryFactoryBea
*
* @author Jens Schauder
* @author Greg Turnquist
+ * @author Mark Paluch
+ * @see JdbcConfiguration
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
-@Import({JdbcRepositoriesRegistrar.class, JdbcConfiguration.class})
+@Import(JdbcRepositoriesRegistrar.class)
public @interface EnableJdbcRepositories {
/**
