P.S. If I recall correctly, this change was probably made so that Hibernate behaves the same on Oracle as on all other databases. That is, if we persist a field of type Long to a column, then running a native query on that column should return Long.