File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Reply 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: 1098

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Calling a MySQL stored procedure from a web service....
 
Similar Threads
SQL Server with a Select * stored proc
Set Chained OFF error while executing from my Bean
mysql cursor in stored procedure
what does the following error mean
I am trying to use jdbc to call sp procedure in UDB 8.1