This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Spring and the fly likes Issue when migrating from Spring 2.5 to Spring 2.5.6 SEC 02 version Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Issue when migrating from Spring 2.5 to Spring 2.5.6 SEC 02 version" Watch "Issue when migrating from Spring 2.5 to Spring 2.5.6 SEC 02 version" New topic
Author

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

Venkata Sirish
Ranch Hand

Joined: Apr 09, 2007
Posts: 112
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.
Peter Mularien
Author
Ranch Hand

Joined: Sep 06, 2007
Posts: 84
Hi Venkata,

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

Best,
Peter


Author, Spring Security 3 (the Book), Packt Publishing, 2010
SCJP, OCP
Venkata Sirish
Ranch Hand

Joined: Apr 09, 2007
Posts: 112
Peter, i am using the below Spring class to make stored procedure calls.

org.springframework.jdbc.object.StoredProcedure

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Issue when migrating from Spring 2.5 to Spring 2.5.6 SEC 02 version
 
Similar Threads
DB2 SQL error: SQLCODE: -911, SQLSTATE: 40001, SQLERRMC: 2
Query from View using iBatis
Error Code
On SQL Error 407
Exception calling Stored Procedure