@Override
    public Class<Long> getReturnedClass() {
        return Long.class;
    }
{@code LongType} maps Long to Long on the JDBC level

@author tiwe
querydsl-sql/src/main/java/com/querydsl/sql/types/LongType.java