Branch: refs/heads/6.0
Home:
https://github.com/hibernate/hibernate-orm
Commit: d0c61c22f54e210806c5354445ae9cc36abb56c0
https://github.com/hibernate/hibernate-orm/commit/d0c61c22f54e210806c5354...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2023-03-02 (Thu, 02 Mar 2023)
Changed paths:
M migration-guide.adoc
Log Message:
-----------
Fix recommendation in migration guide for duration mapping backwards-compatibility
Quoting: "5.x used the type code `Types.BIGINT`".
So, in order to retain backwards-compatibility, one needs to set the JDBC type to
`BIGINT`, not to `NUMERIC`.
Tested locally on a schema created with 5.x by starting an application using 6.x: with
`NUMERIC`, schema validation fails; with `BIGINT` it does not.