Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: 596debed4d301de84a207f2d0fa7fda9043908cb
https://github.com/hibernate/hibernate-orm/commit/596debed4d301de84a207f2...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2022-01-10 (Mon, 10 Jan 2022)
Changed paths:
M documentation/src/test/java/org/hibernate/userguide/schema/CheckTest.java
M hibernate-core/src/main/java/org/hibernate/annotations/Check.java
M hibernate-core/src/main/java/org/hibernate/annotations/ForeignKey.java
M hibernate-core/src/main/java/org/hibernate/annotations/Index.java
M hibernate-core/src/main/java/org/hibernate/annotations/Table.java
M hibernate-core/src/main/java/org/hibernate/cfg/AnnotatedColumn.java
M hibernate-core/src/main/java/org/hibernate/cfg/AnnotatedJoinColumn.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/EntityBinder.java
Log Message:
-----------
make @Check work when applied at the field level
This was a bug!
Also add checkConstraint member to @Table to allow check constraints on secondary tables
Also clean up some Javadoc of some related annotations