[hibernate-issues] [Hibernate-JIRA] Closed: (HBX-754) hbm2hbmxml generates xml for subclasses that doesn't validate under the dtd
Max Rydahl Andersen (JIRA)
noreply at atlassian.com
Wed Sep 13 08:06:24 EDT 2006
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-754?page=all ]
Max Rydahl Andersen closed HBX-754:
-----------------------------------
Fix Version: 3.2beta8
Resolution: Fixed
> hbm2hbmxml generates xml for subclasses that doesn't validate under the dtd
> ---------------------------------------------------------------------------
>
> Key: HBX-754
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-754
> Project: Hibernate Tools
> Type: Patch
> Components: ant
> Versions: 3.2beta7
> Reporter: Bruce Cota
> Priority: Minor
> Fix For: 3.2beta8
> Attachments: patch, test.tar
>
>
> When generating xml for subclasses, hbm2hbmxml makes the following errors:
> 1) A table attribute is always generated, but this is not a valid attribute for the subclass element
> 2) A discriminator-value attribute is always generated, but this is not a valid attribute for the
> union-subclass element.
> 3) An Id element is generated, but this is not valid for any of the three different kinds of subclass
> elemtns.
> A test case (test.jar) is attached demonstrating a subclass element thatis generated with a table attribute
> and an id element.
> A suggested patch is also attached. It entails small changes to persistentclas.hbm.ftl and three
> simple helper methods added to Cfg2HbmTool.java to support the persistentclass.hbm.ftl changes.
--
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