@Override
    public Byte getValue(ResultSet rs, int startIndex) throws SQLException {
        byte val = rs.getByte(startIndex);
        return rs.wasNull() ? null : val;
    }
{@code ByteType} maps Byte to Byte on the JDBC level

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