class RuntimeExceptionDao implements Dao<T, ID> {

	@Override
	public void setObjectCache(boolean enabled) {
		try {
			dao.setObjectCache(enabled);
		} catch (SQLException e) {
			logMessage(e, "setObjectCache(" + enabled + ") threw exception");
			throw new RuntimeException(e);
		}
	}

	public  RuntimeExceptionDao(Dao<T, ID> dao);

}