Skip to content

Spring Data JDBC does not consider properly strict configuration mode [DATAJDBC-437] #657

@spring-projects-issues

Description

@spring-projects-issues

Mark Paluch opened DATAJDBC-437 and commented

Having multiple modules on the classpath (Spring Data JDBC and Spring Data JPA) does not cause Spring Data JDBC back off from repositories that it should not implement. This is, because JdbcRepositoryConfigExtension does not declare identifying repository types and annotations.

We should also aid strict configuration mode detection by introducing spring.factories with an entry for org.springframework.data.repository.core.support.RepositoryFactorySupport.


Affects: 1.1 GA (Moore), 1.0.12 (Lovelace SR12), 2.0 M1 (Neumann)

Reference URL: spring-projects/spring-boot#18721

Issue Links:

  • DATACMNS-1596 Module not exposing any entity identifying annotations claims all repositories

Referenced from: pull request #177

Backported to: 1.1.1 (Moore SR1), 1.0.12 (Lovelace SR12)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions