Bug 1157597
| Summary: | (6.3.z) HHH-9390 - Default join column name (FK) for @ManyToMany uses owning entity primary table name | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Gail Badner <gbadner> | ||||
| Component: | Hibernate | Assignee: | Gail Badner <gbadner> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jan Martiska <jmartisk> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 6.4.0 | CC: | cdewolf, jawilson, jmartisk, msimka, smarlow | ||||
| Target Milestone: | CR1 | ||||||
| Target Release: | EAP 6.3.2 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | 1154212 | Environment: | |||||
| Last Closed: | 2019-08-19 12:39:38 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: | 1154212 | ||||||
| Bug Blocks: | 1132166, 1145704 | ||||||
| Attachments: |
|
||||||
|
Description
Gail Badner
2014-10-27 11:14:33 UTC
Created attachment 951806 [details]
reproducer
Partially fixed in Hibernate 4.2.14.SP4-redhat-1 (EAP 6.3.2.CR2). 'Partially' means using Hibernate API directly, not using Entity Manager. Another BZ is coming soon for that scenario. Attached a reproducer I wrote, should anyone need it. Note that there is configuration.setNamingStrategyDelegator(ImprovedNamingStrategyDelegator.DEFAULT_INSTANCE) needed in order to activate the fix. |