mention change in migration guide

Signed-off-by: Gavin King <gavin@hibernate.org>
This commit is contained in:
Gavin King 2024-11-01 16:09:46 +01:00
parent eb41dbd47f
commit 0f092f502e
1 changed files with 7 additions and 0 deletions

View File

@ -368,6 +368,13 @@ This is now done across the entire set of `hbm.xml` files at once.
While most users will never see this change, it might impact integrations which tie-in to XML processing. While most users will never see this change, it might impact integrations which tie-in to XML processing.
==== ====
[[mysql-varchar]]
== Default DDL type for `char` and `Character` on MySQL
Previously, `char` and `Character` fields were, by default, mapped to `char(1)` columns by the schema export tool.
However, MySQL treats a `char(1)` containing a single space as an empty string, resulting in broken behavior for some HQL and SQL functions.
Now, `varchar(1)` is used by default.
[[cleanup]] [[cleanup]]
== Cleanup == Cleanup