MVC架构中EF怎么调用SQL存储过程

2025-03-26 08:39:34
推荐回答(1个)
回答1:

存储过程create or replace Procedure countBySal( p_sal emp.sal%type, p_count OUT number )as begin select count(*) into p_count from emp where sal >= p_sql; end countBySal; //调用步奏import java.sql.CallableStatement