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