This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Issue when migrating from Spring 2.5 to Spring 2.5.6 SEC 02 version

 
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Recently we have migrated from Spring 2.5 to Spring 2.5.6 SEC 02 version.

We see below error when we perform a database (DB2) call.

Code:



The SQLCODE -470 is returned when NULL values are passed to IN/OUT parameter of the Stored proc. But i could see that the parameters are getting passed as expected.

Also, when using the previous spring version(2.5) the db calls were working fine but when we moved to Spring 2.5.6 SEC 02 version we are seeing this strange issue.

Iam unable to figure it out the reason why spring 2.5.6 is behaving this way.

Any help will be really appreciated. Thanks for your time and attention in advance.
 
Author
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Venkata,

You'll have to give us a bit more information - what code are you using to call this "TESTSP"?

Best,
Peter
 
Venkata Sirish
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Peter, i am using the below Spring class to make stored procedure calls.

org.springframework.jdbc.object.StoredProcedure

 
These are the worst of times and these are the best of times. And this is the best tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!