Unary Operations return types
Before OpenJPA-3.2.0 Unary Operations like MIN, MAX, SUM, etc did return whatever type got returned by the JDBC driver.
For certain column types this could also have been internal classes of that very JDBC driver.
E.g.
a SELECT MAX(a.someLocalDateField) .. might have returned an instance of types com.oracle.jdbc…. or com.microsoft.sqlserver…, etc.
We now use the respective DBDictionary to request the correct type from the ResultSet.