@EnableJdbcRepositories imports JdbcConfiguration which prevents users from extending from JdbcConfiguration in their code when using Spring Boot 2.1 with strict override detection.
In any case, this arrangement causes bean overrides and sorting out the priority in which beans are registered causes trouble for users.
We should remove the JdbcConfiguration import and leave it to users to import the required configuration.
In a second step, we should conditionally register the required components (RelationalMappingContext, RelationalConverter) within JdbcRepositoryConfigExtension to align with other store modules
Issue Links:
DATAJDBC-244 Conditionally register RelationalMappingContext and RelationalConverter in JdbcRepositoryConfigExtension
("is depended on by")
The text was updated successfully, but these errors were encountered:
Mark Paluch opened DATAJDBC-243 and commented
@EnableJdbcRepositories
importsJdbcConfiguration
which prevents users from extending fromJdbcConfiguration
in their code when using Spring Boot 2.1 with strict override detection.In any case, this arrangement causes bean overrides and sorting out the priority in which beans are registered causes trouble for users.
We should remove the
JdbcConfiguration
import and leave it to users to import the required configuration.In a second step, we should conditionally register the required components (
RelationalMappingContext
,RelationalConverter
) withinJdbcRepositoryConfigExtension
to align with other store modulesIssue Links:
("is depended on by")
The text was updated successfully, but these errors were encountered: