public <T> Set<T> listSet(final QueryMapper<T> queryMapper) {
		final ResultSet resultSet = execute();

		final Set<T> set = new HashSet<>();

		try {
			while (resultSet.next()) {
				final T t = queryMapper.process(resultSet);
				if (t == null) {
					break;
				}
				set.add(t);
			}
		} catch (SQLException sex) {
			throw new DbSqlException(sex);
		} finally {
			DbUtil.close(resultSet);
		}
		return set;
	}
public <T> Set<T> listSet(final QueryMapper<T> queryMapper) {
		final ResultSet resultSet = execute();

		final Set<T> set = new HashSet<>();

		try {
			while (resultSet.next()) {
				final T t = queryMapper.process(resultSet);
				if (t == null) {
					break;
				}
				set.add(t);
			}
		} catch (SQLException sex) {
			throw new DbSqlException(sex);
		} finally {
			DbUtil.close(resultSet);
		}
		return set;
	}
public < T > Set < T > listSet ( final QueryMapper < T > queryMapper ) { final ResultSet resultSet = execute ( ) ; final Set < T > set = new HashSet <> ( ) ; try { while ( resultSet . next ( ) ) { final T t = queryMapper . process ( resultSet ) ; if ( t == null ) { break ; } set . add ( t ) ; } } catch ( SQLException sex ) { throw new DbSqlException ( sex ) ; } finally { DbUtil . close ( resultSet ) ; } return set ; }
{@link #execute() Executes} the query, iterates all rows and
{@link QueryMapper maps} them.
{