It's not a secret anymore!*
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
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?
 
 
subject: Calling a MySQL stored procedure from a web service....