spring-framework icon indicating copy to clipboard operation
spring-framework copied to clipboard

Wrong condition for Types.ARRAY in PreparedStatementCreatorFactory class

Open sDismuss opened this issue 1 year ago • 2 comments

Hello, team

Now I'm working with spring-jdbc library. And I wanted to write a query which using an array of strings as conditional parameters. For this task I was trying to use Types.Array. But in the code I found out that if we're using Types.Array then we are simply missing the logic we want to use. Maybe I'm wrong, or maybe you've already discovered this defect. But I decided to wrote you about this

https://github.com/spring-projects/spring-framework/blame/02094b258c15e72d7d4c94b58ed4d0b743b6181a/spring-jdbc/src/main/java/org/springframework/jdbc/core/PreparedStatementCreatorFactory.java#L274

sDismuss avatar Oct 03 '24 15:10 sDismuss

Hi, please provide a self-contained reproducer (for example a Spring Boot project with a JUnit test) attached to this issue or a related link to a repository.

sdeleuze avatar Oct 07 '24 11:10 sdeleuze

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.

spring-projects-issues avatar Oct 14 '24 11:10 spring-projects-issues

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.

spring-projects-issues avatar Oct 21 '24 12:10 spring-projects-issues