class RuntimeExceptionDao implements Dao<T, ID> {

	@Override
	public boolean objectsEqual(T data1, T data2) {
		try {
			return dao.objectsEqual(data1, data2);
		} catch (SQLException e) {
			logMessage(e, "objectsEqual threw exception on: " + data1 + " and " + data2);
			throw new RuntimeException(e);
		}
	}

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

}