Skip to content

Between queries bind Pair as second between argument #349

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jumal opened this issue Apr 18, 2020 · 1 comment
Closed

Between queries bind Pair as second between argument #349

jumal opened this issue Apr 18, 2020 · 1 comment
Labels
type: bug A general bug

Comments

@jumal
Copy link

jumal commented Apr 18, 2020

Description

Derived query methods using between are not working and throwing:

java.lang.IllegalArgumentException: Cannot encode parameter of type org.springframework.data.util.Pair

Sample project reproducing the issue

between-issue.tar.gz

@mp911de mp911de added the type: bug A general bug label Apr 20, 2020
@mp911de mp911de added this to the 1.1 RC2 (Neumann) milestone Apr 21, 2020
mp911de added a commit that referenced this issue Apr 21, 2020
We now bind the correct parameter when issuing Between queries.
mp911de added a commit that referenced this issue Apr 21, 2020
Update reference documentation about query derivation support.
@mp911de
Copy link
Member

mp911de commented Apr 21, 2020

Thanks for reporting the issue. That's fixed now.

@mp911de mp911de closed this as completed Apr 21, 2020
@mp911de mp911de changed the title Issue with derived query methods using between Between queries bind Pair as second between argument Apr 21, 2020
mp911de added a commit that referenced this issue Jul 7, 2020
Remove manual query for query derivation with SQL Server.
mp911de added a commit that referenced this issue Jul 7, 2020
Remove manual query for query derivation with SQL Server.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants