public static void setParams(PreparedStatement ps, Object... params) throws SQLException {

			if (ps != null && params != null) {
				for (int i = 0; i != params.length; ++i) {
					ps.setObject(i + 1, params[i]);
				}
			}
		}