This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JDBC and the fly likes Getting strange error when trying to call another procedure Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "Getting strange error when trying to call another procedure" Watch "Getting strange error when trying to call another procedure" New topic
Author

Getting strange error when trying to call another procedure

Peter Hammar
Ranch Hand

Joined: Mar 01, 2010
Posts: 34
Hi, all!

Im getting "callStoredProcedure2(String,String) cannot invoke callStoredProcedure2(int,int) in DataCommon" from my int svar = callStoredProcedure2. So, I guess there are a problem related to string and int. But the below call dont use string, or does it?
Im quite new to this...



Peter Hammar
Ranch Hand

Joined: Mar 01, 2010
Posts: 34
Never mind, I saw it myself
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2343

Peter Hammar wrote:Never mind, I saw it myself
Can you share what you saw?


OCUP UML fundamental
ITIL foundation
Peter Hammar
Ranch Hand

Joined: Mar 01, 2010
Posts: 34


ARGUS_KOLLI_PKG.get_kolli_brytningnr is a string, not an INT and so is kolliId

Regards
Peter
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2343

Thank you for sharing
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting strange error when trying to call another procedure
 
Similar Threads
data mismatch error
Error in calling the Function
NumberFormatException while inserting data into database
errors uploading an image to the database
Help on how to use my return TRUE value from an Stored Procedure