프로시저 DELIMITER // CREATE PROCEDURE proc_multiply (INOUT inParam INT, INOUT outParam INT) BEGIN SET outParam = inParam * 2; END // 순서 기반 파라미터 호출 StoredProcedureQuery spq = em.createStoredProcedureQuery("proc_multiply"); spq.registerStoredProcedureParameter(1, Integer.class, ParameterMode.IN); spq.registerStoredProcedureParameter(2, Integer.class, ParameterMode.OUT); spq.setParameter(1, 100); spq...