OracleDialect: Changes in Number Type Mappings in Version 6

The JPA specification doesn’t say anything about how we should interpret native query results when no result set mapping is given. Usually, we try to follow map native query results similar to how we would generate a schema though. Since we generate NUMBER(10,0) for persistent attributes of type Integer, we try to map that back to Integer then also.