public void setSingleBlob(String sql, Values values, InputStream is,
			int size) {
		if (values == null) {
			values = new Values();
		}
		DbUtil.printSql(sql, values);
		Connection con = null;
		PreparedStatement ps = null;
		try {
			con = dbSource.getConnection();
			ps = con.prepareStatement(sql);
			if (is == null) {
				ps.setBinaryStream(1, null, 0);
			} else {
				ps.setBinaryStream(1, is, size);
			}
			DbUtil.setColumnValue(ps, 2, values);
			ps.executeUpdate();
		} catch (SQLException e) {
			throw new DbKingException(e);
		} finally {
			DbUtil.closeStatement(ps);
			if (!(dbSource instanceof ConnectionDbSource)) {
				DbUtil.closeConnection(con);
			}
		}
	}