Skip to content

Commit a74cc2a

Browse files
committed
add HHH-19614 to migration guide
1 parent 92a59e8 commit a74cc2a

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

migration-guide.adoc

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,19 @@ earlier versions, see any other pertinent migration guides as well.
2222
This section describes changes to contracts (classes, interfaces, methods, etc.) which are considered https://hibernate.org/community/compatibility-policy/#api[API].
2323

2424
[[session-getLobHelper]]
25-
==== Session#getLobHelper
25+
=== Session#getLobHelper
2626

2727
The `Session#getLobHelper` method has been marked as deprecated in favor of the static `Hibernate#getLobHelper` and will be removed in a future *major* version.
2828

29+
[[ddl-changes]]
30+
== Changes to DDL generation
31+
32+
This section describes changes to DDL generated by the schema export tooling.
33+
Such changes typically do not impact programs using a relational schema managed externally to Hibernate.
34+
35+
[[single-table-check]]
36+
=== Automatic check constraints with single table inheritance mappings
37+
38+
Previously, the non-nullability of the column mapped by an attribute declared `optional=false` by a subclass in a single table inheritance hierarchy was not enforced by the database.
39+
Hibernate now automatically generates DDL `check` constraints to enforce the non-nullability of such columns.
40+

0 commit comments

Comments
 (0)