From 503cae0ae57423026cd825261b892c026a6bb2f2 Mon Sep 17 00:00:00 2001 From: Gavin King Date: Mon, 7 Aug 2023 18:17:05 +0200 Subject: [PATCH] mention changes to handling of Oracle NUMBER --- migration-guide.adoc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/migration-guide.adoc b/migration-guide.adoc index ba5bf2ccd1..616ed54782 100644 --- a/migration-guide.adoc +++ b/migration-guide.adoc @@ -1081,6 +1081,10 @@ use these and not their deprecated subclasses: * `org.hibernate.community.dialect.TeradataDialect` * `org.hibernate.community.dialect.TimesTenDialect` +=== `NUMBER(n,0)` on Oracle + +In the absence of other information, Hibernate now treats columns of type `NUMBER(n,0)` as the JDBC type `INTEGER` when `n` is smaller than 11 and as type `BIGINT` when `n` is smaller than 20. Previously, all `NUMBER` types were mapped to `DECIMAL`. + [[multitenancy]] == Multitenancy simplification