mention changes to handling of Oracle NUMBER

This commit is contained in:
Gavin King 2023-08-07 18:17:05 +02:00 committed by GitHub
parent c65fa68154
commit 503cae0ae5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -1081,6 +1081,10 @@ use these and not their deprecated subclasses:
* `org.hibernate.community.dialect.TeradataDialect` * `org.hibernate.community.dialect.TeradataDialect`
* `org.hibernate.community.dialect.TimesTenDialect` * `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]]
== Multitenancy simplification == Multitenancy simplification