[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4648) Mapping exception when one class maps to multiple tables.

Subhan (JIRA) noreply at atlassian.com
Fri Dec 11 05:54:08 EST 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=34930#action_34930 ] 

 Subhan commented on HHH-4648:
------------------------------

for this fix, Envers side 2 classes needs to be changed, 'Tools.java' and 'ToOneIdMapper.java' by passing the the entity name to the 'entitiesEqual() of the Tools.java class.Please go through the attachment. its working fine for this scenario.

> Mapping exception when one class maps to multiple tables.
> ---------------------------------------------------------
>
>                 Key: HHH-4648
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4648
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: envers
>    Affects Versions: 3.5.0-Beta-2
>         Environment: hibernate-envers-3.5.0-Beta-2 and hibernate-core-3.3.2.GA
>            Reporter:  Subhan
>            Priority: Critical
>         Attachments: Tools.java, ToOneIdMapper.java
>
>
> The problem arises when there is one class mapped to multiple tables separated by entity name.
> See the scenarios about it here:
> http://www.jboss.org/index.html?module=bb&op=viewtopic&t=164631.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list