Using JDBC with MySQL stored procedures

Stored procedures are declarative SQL code which can be called by a trigger, another stored procedure or by an application code. In MySQL, they are compiled and stored in table proc of system database mysql.