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
The 3.2 series minimum requirement is java 1.5 but StatementCreatorUtils makes a call to Collections.newSetFromMap() which is since 1.6.
This is preventing us from upgrading from 3.2.5 to get the #15726 fix.
This issue manifests as java.lang.NoClassDefFoundError
at org.springframework.jdbc.core.ArgumentPreparedStatementSetter.cleanupParameters(ArgumentPreparedStatementSetter.java:70)
at org.springframework.jdbc.core.JdbcTemplate$1.doInPreparedStatement(JdbcTemplate.java:656)
P.S. we use animal sniffer to catch accidental usage of newer API methods in our builds, very handy.
P.S.: We've been starting to use Animal Sniffer ourselves now, not least of it all due to this accidental breakage. Surprisingly we had hardly any breakages before, despite no specific tool support for detecting them.
Haha, websphere, no thankfully. I remember being stuck on java 1.3 for years after 1.5 came out because of websphere... Our deployment target is a shared tomcat 6 instance. Shared so it's a big effort to get all apps upgraded and tested at once, and not something i have any influence over unfortunately.
Have tested with 3.2.7-SNAP locally and my integration tests are passing again thanks. I'll have to stick with 3.2.5 until 3.2.7 is released though. Any ETA on that?
Activity
spring-projects-issues commentedon Jan 22, 2014
Juergen Hoeller commented
This has been fixed for the latest 3.2.7 snapshots already. Feel free to give it a try... (See the Maven coordinates at http://projects.spring.io/spring-framework/)
Juergen
P.S.: We've been starting to use Animal Sniffer ourselves now, not least of it all due to this accidental breakage. Surprisingly we had hardly any breakages before, despite no specific tool support for detecting them.
spring-projects-issues commentedon Jan 22, 2014
Juergen Hoeller commented
Out of curiosity: Are you, by any chance, using WebSphere 6.1 on JDK 5?
spring-projects-issues commentedon Jan 22, 2014
daniel carter commented
Haha, websphere, no thankfully. I remember being stuck on java 1.3 for years after 1.5 came out because of websphere... Our deployment target is a shared tomcat 6 instance. Shared so it's a big effort to get all apps upgraded and tested at once, and not something i have any influence over unfortunately.
Have tested with 3.2.7-SNAP locally and my integration tests are passing again thanks. I'll have to stick with 3.2.5 until 3.2.7 is released though. Any ETA on that?
spring-projects-issues commentedon Jan 23, 2014
Stéphane Nicoll commented
Daniel, next Monday. Otherwise you can have a look to the versions panel of the project where we put the dates for the upcoming releases:
https://jira.springsource.org/browse/SPR#selectedTab=com.atlassian.jira.plugin.system.project%3Aversions-panel