Branch: refs/heads/yrodiere-patch-1
Home:
https://github.com/hibernate/hibernate-orm
Commit: 94b7ff2297d91d3a17a9f5379ac83dc1b08930b4
https://github.com/hibernate/hibernate-orm/commit/94b7ff2297d91d3a17a9f53...
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.