public void bindValue(Connection conn, CallableStatement cs, String parameterName, Object value) throws SQLException { if (value == null) { setNull(cs, parameterName); } else { cs.setInt(parameterName, DfTypeUtil.toPrimitiveInt(value)); } }
public void bindValue(Connection conn, PreparedStatement ps, int index, Object value) throws SQLException { if (value == null) { setNull(ps, index); } else { ps.setInt(index, DfTypeUtil.toPrimitiveInt(value)); } }