Session session = getSession();
ProcedureCall procedureCall = session.createStoredProcedureCall("lingqu");
procedureCall.registerParameter("coupon_id",Integer.class,ParameterMode.IN) .bindValue(recipients.getRecipientsCoupon().getCouponId()) ;
ProcedureCall procedureCall = session.createStoredProcedureCall("lingqu");
procedureCall.registerParameter("coupon_id",Integer.class,ParameterMode.IN) .bindValue(recipients.getRecipientsCoupon().getCouponId()) ;