Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1326564

Summary: [TEST] (6.4.x) AliasTest and MappingReorderedAliasTest fail on DB2
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Jan Martiska <jmartisk>
Component: HibernateAssignee: Gail Badner <gbadner>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Simka <msimka>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4.6CC: bbaranow, bmaxwell, gbadner, jbilek, jmartisk, msimka, smarlow
Target Milestone: CR1   
Target Release: EAP 6.4.8   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-17 12:31:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1279553, 1315479    

Description Jan Martiska 2016-04-13 05:29:02 UTC
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.

Comment 1 Gail Badner 2016-04-13 05:33:38 UTC
Should this block the component upgrade BZ: 
https://bugzilla.redhat.com/show_bug.cgi?id=1315479 ?

Comment 2 Jan Martiska 2016-04-13 05:40:20 UTC
Yes, it already does :)

Comment 5 Jan Martiska 2016-04-14 04:36:50 UTC
*** Bug 1326630 has been marked as a duplicate of this bug. ***

Comment 6 Jiří Bílek 2016-05-06 07:28:39 UTC
Verified with EAP 6.4.8.CP.CR2.

Comment 7 Petr Penicka 2017-01-17 12:31:44 UTC
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.