@SuppressWarnings("unchecked")
    @Override
    public <T> T getObject(String columnLabel, Class<T> type) throws SQLException {
        // this getObject(String, Class) is available in JDK 7
        return (T) rs.getObject(columnLabel);
    }
{@code ResultSetAdapter} is an adapter implementation of the {@link ResultSet} interface

@author tiwe
querydsl-core/src/main/java/com/querydsl/core/util/ResultSetAdapter.java