1.

How To Call A Stored Procedure From Jdbc?

Answer»

The first step is to create a CALLABLESTATEMENT object. As with Statement an and PreparedStatement objects, this is done with an OPEN Connection object. A CallableStatement object CONTAINS a call to a STORED procedure.
E.g.
CallableStatement cs = con.prepareCall("{call SHOW_SUPPLIERS}");

The first step is to create a CallableStatement object. As with Statement an and PreparedStatement objects, this is done with an open Connection object. A CallableStatement object contains a call to a stored procedure.
E.g.
CallableStatement cs = con.prepareCall("{call SHOW_SUPPLIERS}");



Discussion

No Comment Found