wood burning stoves 2.0*
The moose likes JDBC and the fly likes Calling a MySQL stored procedure from a web service.... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Calling a MySQL stored procedure from a web service...." Watch "Calling a MySQL stored procedure from a web service...." New topic
Author

Calling a MySQL stored procedure from a web service....

Koldo Urrutia
Ranch Hand

Joined: Dec 16, 2011
Posts: 85
Im trying to use this stored procedure:




Depending on which number I pass in vnum, it either updates column 'programa_corte_1' 'programa_corte_2' or 'programa_corte_3'. It for some reason does nothing and Im thinking that it is a Java problem because I THINK the MySQL commands are correct....
Wendy Gibbons
Bartender

Joined: Oct 21, 2008
Posts: 1107

Hi
I edited your post to make some of the lines shorter, just so you know.
If it isn't working from java could you show us the java calls that aren't working?

so it does work when you call it from mysql?

and by not work does it return an exception or just do nothing?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Calling a MySQL stored procedure from a web service....
 
Similar Threads
Set Chained OFF error while executing from my Bean
what does the following error mean
SQL Server with a Select * stored proc
mysql cursor in stored procedure
I am trying to use jdbc to call sp procedure in UDB 8.1