Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [eclipselink-users] org.eclipse.persistence.internal.jpa.metadata.xml.XMLEntityMappingsReader bug

I have raised https://bugs.eclipse.org/bugs/show_bug.cgi?id=288869

-Jaro 

-----Original Message-----
From: eclipselink-users-bounces@xxxxxxxxxxx [mailto:eclipselink-users-bounces@xxxxxxxxxxx] On Behalf Of Tom Ware
Sent: 08 September 2009 15:40
To: EclipseLink User Discussions
Subject: Re: [eclipselink-users] org.eclipse.persistence.internal.jpa.metadata.xml.XMLEntityMappingsReader bug

Hi Jaro,

   Thanks for the info.  Please feel free to file a bug.

-Tom

Kuruc, Jaro wrote:
> Hi
>  
> Whilst trying to switch to orm_2_0.xsd schema, I found a bug in 
> org.eclipse.persistence.internal.jpa.metadata.xml.XMLEntityMappingsReader.
>  
> Current implementation is:
>  
>     public static Schema getOrm2_0Schema() throws IOException, 
> SAXException {
>         if (m_orm1_0Schema == null) {
>             m_orm1_0Schema = loadLocalSchema(ORM_2_0_XSD);
>         }
>         return m_orm2_0Schema;
>     }
>  
>     public static Schema getEclipseLinkOrmSchema() throws IOException, 
> SAXException {
>         if (m_orm1_0Schema == null) {
>             m_orm1_0Schema = loadLocalSchema(ECLIPSELINK_ORM_XSD);
>         }
>         return m_eclipseLinkOrmSchema;
>     }
> While I think it should be:
>  
>     public static Schema getOrm2_0Schema() throws IOException, 
> SAXException {
>         if (m_orm2_0Schema == null) {
>             m_orm2_0Schema = loadLocalSchema(ORM_2_0_XSD);
>         }
>         return m_orm2_0Schema;
>     }
>  
>     public static Schema getEclipseLinkOrmSchema() throws IOException, 
> SAXException {
>         if (m_eclipseLinkOrmSchema == null) {
>             m_eclipseLinkOrmSchema = loadLocalSchema(ECLIPSELINK_ORM_XSD);
>         }
>         return m_eclipseLinkOrmSchema;
>     }
> Best Regards
>  
> Jaro Kuruc
> Java/SQL Developer
> 
> Commerzbank AG
> Corporates & Markets
> Credit Process
> 
> Office address: 30 Gresham Street, London EC2V 7PG, United Kingdom
> 
> Phone +44 (0)20 7475 8258
> 
> jaro.kuruc@xxxxxxxxxxxxxxx <mailto:jaro.kuruc@xxxxxxxxxxxxxxx>
> 
> http://www.commerzbank.com <http://www.commerzbank.com/>
> 
> Commerzbank Aktiengesellschaft, Frankfurt am Main 
> Handelsregister/Commercial Register: Amtsgericht Frankfurt am Main, 
> HRB 32000 Vorsitzender des Aufsichtsrates/Chairman of the Supervisory 
> Board:
> Klaus-Peter Müller
> Vorstand/Board of Managing Directors: Martin Blessing 
> (Vorsitzender/Chairman), Frank Annuscheit, Markus Beumer, Achim 
> Kassow, Jochen Klösges, Michael Reuther, Stefan Schmittmann, Ulrich 
> Sieber, Eric Strutz
> 
> 
> This e-mail is confidential and is intended only for the person to 
> whom it is addressed.  It may be privileged and should not be read, 
> copied or used by anyone other than the intended recipient.  If you 
> are not that person, you are not permitted to make use of the 
> information and you are requested to notify the sender immediately 
> that you have received it and then destroy the copy in your possession without disclosing its contents to any person.
> 
> Commerzbank AG may monitor outgoing and incoming e-mails.  By replying 
> to this e-mail you consent to such monitoring.  We believe, but do not 
> warrant, that this e-mail and any attachments are virus free, but you 
> must take full responsibility for virus checking.
> 
> This e-mail was sent either by Commerzbank AG, London Branch, or by 
> Commerzbank Corporates & Markets, a division of Commerzbank AG.  
> Commerzbank AG is a company incorporated in the Federal Republic of 
> Germany and registered in England (registered number FC008139, place 
> of business 30 Gresham Street, London EC2V 7PG) and is authorised by 
> Bundesanstalt fuer Finanzdienstleistungsaufsicht (BaFin) and 
> authorised and subject to limited regulation by the Financial Services Authority (FSA).
> 
> 
> ----------------------------------------------------------------------
> --
> 
> _______________________________________________
> eclipselink-users mailing list
> eclipselink-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/eclipselink-users
_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users


This e-mail is confidential and is intended only for the person to whom it is 
addressed.  It may be privileged and should not be read, copied or used by
anyone other than the intended recipient.  If you are not that person, you are
not permitted to make use of the information and you are requested to notify
the sender immediately that you have received it and then destroy the copy in
your possession without disclosing its contents to any person.

Commerzbank AG may monitor outgoing and incoming e-mails.  By replying to this
e-mail you consent to such monitoring.  We believe, but do not warrant, that 
this e-mail and any attachments are virus free, but you must take full 
responsibility for virus checking.

This e-mail was sent either by Commerzbank AG, London Branch, or by Commerzbank
Corporates & Markets, a division of Commerzbank AG.  Commerzbank AG is a 
company incorporated in the Federal Republic of Germany and registered in 
England (registered number FC008139, place of business 30 Gresham Street, 
London EC2V 7PG) and is authorised by Bundesanstalt fuer 
Finanzdienstleistungsaufsicht (BaFin) and authorised and subject to limited 
regulation by the Financial Services Authority (FSA).



Back to the top