Session session = this.getSession();
Connection con = session.connection();
String procedure = "{ call 存储过程名 ( ? )}";
CallableStatement cs = con.prepareCall(procedure);
cs.setLong(1, signupActiveId);
cs.execute();
hibernate调用存储过程小例
最新推荐文章于 2024-08-25 21:18:14 发布