@Override
    public Character getValue(ResultSet rs, int startIndex) throws SQLException {
        String str = rs.getString(startIndex);
        return str != null ? str.charAt(0) : null;
    }
{@code CharacterType} maps Character to Character on the JDBC level

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