Original title:
An entity is defined with a non-optional secondary table. After migrating from an older Hibernate release to Hibernate 5.3, encountering {{not-null}} constraint violations (database layer and in bean validation) in various scenarios for properties persisted in the secondary table.
It was discovered that the secondary table was corrupt and rows were missing for one or more entities. Hibernate did not load the invalid entity rows in older Hibernate releases. |
|