Invoking and executing stored procedure
In MySQL I have a table with name, address, 开发者_Go百科telephone, age and charge column.
Assume I have written a stored procedure called
calculate_monthly_charges
. This stored procedure takes no parameters.
How can I write a corresponding code for invoking and executing the stored procedure?
Take a look at the MySQL documentation Connector/J: Calling Stored Procedures.
精彩评论