[hibernate-issues] [Hibernate-JIRA] Commented: (METAGEN-42) The Hibernate Metamodel Generator project contains an outdated version of persistence_2_0.xsd

Pascal Thivent (JIRA) noreply at atlassian.com
Fri Oct 15 14:43:48 EDT 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/METAGEN-42?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=38761#action_38761 ] 

Pascal Thivent commented on METAGEN-42:
---------------------------------------

Damn, something went wrong with Jira and I lost the content of the issue. Posting it as comment...

The version of the {{persistence_2_0.xsd}} bundled in the project is an outdated version from 

{code}
@(#)persistence_2_0.xsd 1.0 August 27 2008
{code}

It should be replaced with the latest version from  http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd

{code}
@(#)persistence_2_0.xsd  1.0  October 1 2009
{code}

The version currently included doesn't reflect the latest changes made to the specification, like:

{quote}
h2. A.4 Proposed Final Draft 2

...

Renamed the persistence.xml caching element to shared-cache-mode and added the UNSPECIFIED
value to the persistence:persistence-unit-caching-type enum. Renamed the Caching enum as Shared-
CacheMode and renamed the PersistenceUnitInfo getCaching method to getSharedCacheMode.

...
{quote}

> The Hibernate Metamodel Generator project contains an outdated version of persistence_2_0.xsd
> ---------------------------------------------------------------------------------------------
>
>                 Key: METAGEN-42
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/METAGEN-42
>             Project: Hibernate Metamodel Generator
>          Issue Type: Bug
>          Components: processor
>    Affects Versions: 1.0.0.Beta1, 1.0.0-Beta-2, 1.0.0-Beta-3, 1.0.0-CR-1, 1.0.0.Final, 1.1.0.CR1, 1.1.0.Final, 1.x
>            Reporter: Pascal Thivent
>            Assignee: Hardy Ferentschik
>


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