Skip to content

Commit 503cae0

Browse files
authored
mention changes to handling of Oracle NUMBER
1 parent c65fa68 commit 503cae0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

migration-guide.adoc

+4
Original file line numberDiff line numberDiff line change
@@ -1081,6 +1081,10 @@ use these and not their deprecated subclasses:
10811081
* `org.hibernate.community.dialect.TeradataDialect`
10821082
* `org.hibernate.community.dialect.TimesTenDialect`
10831083

1084+
=== `NUMBER(n,0)` on Oracle
1085+
1086+
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`.
1087+
10841088
[[multitenancy]]
10851089
== Multitenancy simplification
10861090

0 commit comments

Comments
 (0)