@Override
	public void update(T entity) throws DaoException {
		if (entity.getId() == 0) {
			throw new DaoException("id = 0, not update!!");
		}
		waitCompete();
		getEntities().put(entity.getId(), entity);
	}