@Override
    @Nullable
    public Currency getValue(ResultSet rs, int startIndex) throws SQLException {
        String val = rs.getString(startIndex);
        return val != null ? Currency.getInstance(val) : null;
    }
{@code CurrencyType} maps Currency to String on the JDBC level

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