Connection conn=JdbcUtil.getConnection();//JdbcUtil是我写的获取connection的工具类
CallableStatement cast=conn.prepareCall("CALL 函数过程名称");
cast.executeQuery //执行存储过程
Connection conn=JdbcUtil.getConnection();//JdbcUtil是我写的获取connection的工具类
CallableStatement cast=conn.prepareCall("CALL 函数过程名称");
cast.executeQuery //执行存储过程
转载于:https://www.cnblogs.com/ly-china/p/5414222.html