[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-6080) Migrate from DTD to XSD for hbm.xml files

Steve Ebersole (JIRA) noreply at atlassian.com
Mon Apr 25 22:15:59 EDT 2011


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

Steve Ebersole commented on HHH-6080:
-------------------------------------

Not following here.  {{orm.xml}} is completely different from {{hbm.xml}}.  They use completely different schemas.  {{orm.xml}} is the JPA define mapping format.  {{hbm.xml}} is the legacy hibernate mapping format.

h3. Mapping files
||file||xsd||root element||description||
|{{???.hbm.xml}}|{{hibernate-mapping-4.0.xsd}}|<hibernate-mapping>|hibernate specific mapping format|
|{{orm.xml}}|{{orm_2_0.xsd}}|<entity-mappings>|JPA defined mapping format|

h3. Configuration files
||file||xsd||root element||description||
|{{???.cfg.xml}}|{{hibernate-configuration-4.0.xsd}}|<hibernate-configuration>|hibernate specific configuration format|
|{{persistence.xml}}|{{persistence_2_0.xsd}}|<persistence>|JPA defined configuration format|

> Migrate from DTD to XSD for hbm.xml files
> -----------------------------------------
>
>                 Key: HHH-6080
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6080
>             Project: Hibernate Core
>          Issue Type: Improvement
>            Reporter: Steve Ebersole
>            Assignee: John Verhaeg
>             Fix For: 4.0.0.Alpha3
>
>          Time Spent: 0.25h
>  Remaining Estimate: 0h
>


-- 
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