You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug description
With a30aaac in 5.0.0-M4 it is no longer possible to use queries in RepositoryItemReader() or RepositoryItemReaderBuilder that return a different type than the repository's entity type.
Environment
JKD 17.0.3, Spring Boot 3.0.0-M4
Steps to reproduce
Update from Spring Boot 3.0.0-M3 to 3.0.0-M4.
Expected behavior
Same behavior as in .
Minimal Complete Reproducible example
Simplified illustrative example:
Consider something like the following repository.
makigumo
changed the title
Breaking change in https://github.com/spring-projects/spring-batch/commit/a30aaac4be6bdf66d21a252c87dd5d15b1239bd1
setRepository() in RepositoryItemReader in 5.0.0-M4 broken
Jul 21, 2022
fmbenhassine
changed the title
setRepository() in RepositoryItemReader in 5.0.0-M4 broken
RepositoryItemReader#setRepository is broken in 5.0.0-M4
Aug 24, 2022
Bug description
With a30aaac in 5.0.0-M4 it is no longer possible to use queries in
RepositoryItemReader()
orRepositoryItemReaderBuilder
that return a different type than the repository's entity type.Environment
JKD 17.0.3, Spring Boot 3.0.0-M4
Steps to reproduce
Update from Spring Boot 3.0.0-M3 to 3.0.0-M4.
Expected behavior
Same behavior as in .
Minimal Complete Reproducible example
Simplified illustrative example:
Consider something like the following repository.
With the following batch configuration.
The text was updated successfully, but these errors were encountered: