Moved from https://hibernate.atlassian.net/browse/HHH-10466 to Bugzilla. Join columns need to be explicitly marked as not-null because DB2 requires it. not required for Hibernate 5.x because https://hibernate.atlassian.net/browse/HHH-10045 is applied there so join columns are implicitly not-null Fixed in Hibernate 4.2 branch: https://github.com/hibernate/hibernate-orm/commit/3aada64294f2d76f33855f2ef0fc6b0af8bad4b9, Hibernate fix version is 4.2.23.Final.
Should this block the component upgrade BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1315479 ?
Yes, it already does :)
*** Bug 1326630 has been marked as a duplicate of this bug. ***
Verified with EAP 6.4.8.CP.CR2.
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.