[jbosstools-issues] [JBoss JIRA] Assigned: (JBIDE-5189) Loss id-candidate field for Subclass mapping in New Hibernate Hbm Mapping File wizard.

Dmitry Geraskov (JIRA) jira-events at lists.jboss.org
Thu Nov 12 03:22:17 EST 2009


     [ https://jira.jboss.org/jira/browse/JBIDE-5189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Geraskov reassigned JBIDE-5189:
--------------------------------------

    Assignee: Anton Klimkovich  (was: Dmitry Geraskov)


Test case:
1. Create abstract class Top with int field id.
2. Create class Child extends Top with int field child_id
3. New Hibernate XML Mapping file for the classes.
Observe that field child_id exists in the generated mapping of the Child class.

> Loss id-candidate field for Subclass mapping in New Hibernate Hbm Mapping File wizard.
> --------------------------------------------------------------------------------------
>
>                 Key: JBIDE-5189
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-5189
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Hibernate
>    Affects Versions: 3.1.0.M4
>            Reporter: Dmitry Geraskov
>            Assignee: Anton Klimkovich
>             Fix For: 3.1.0.CR1
>
>
> When the wizard build Configuration it mappes all classes (here id-property is set for class) and after this create hierarchy structure. On the step instead of  If initial RootClass JoinedClass or SingleTableSubclass could be created with copiing attributes and properties.  As id-property isn't required for SingleTableSubclass and it isn't hold among properties it should be inserted in SingleTableSubclass.properties manually or it is lost.

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

        


More information about the jbosstools-issues mailing list