-
Notifications
You must be signed in to change notification settings - Fork 344
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
Query methods with tuple bind parameter List<String[]>
does no longer work
#1323
Comments
Please provide a Minimimal Reproducable Example, preferable as a Github repository. Make sure to include the database, either as an in memory database or if that is not possible using Testcontainers. |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
@schauder here is the Minimal Reproducable Example: https://github.com/bci-oss/spring-data-jdbc-1323 |
Any update on this issue? It's still not possible to use spring-data-jdbc query with a "IN" containing tuple (spring-data-jdbc version 2.4.8) The exemple provided can be simplified with simple IN criteria Error with postgresql: Errro with H2: The workaround is to use directly NamedParameterJdbcTemplate : |
@schauder Is there an update to this issue? Thanks for your feedback |
This issue is still present in Spring Data JDBC 2.4.18. In my case in conjunction with MariaDB:
|
List<String[]>
does no longer work
The following query doesn't work any more with spring-data-jdbc versions 2.4.1 & 2.4.2. It works in version 2.4.0.
The invocation of the method is like this:
I tested it with PostgreSQL and H2.
PostgreSQL
Version: postgres:13.6-alpine
Driver-Version: 42.5.0
Error:
H2
Version: 2.1.214
Error:
The issue seams to be here:
2.4.0...2.4.2#diff-b8453546f8ae7cc224005f536bb3be8a0c341186f2cf38b2b34d958cc769ac4cR171
The
if
condition should evaluate tofalse
forIterable
s containing array objects.The text was updated successfully, but these errors were encountered: