openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Dick (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (OPENJPA-2010) Duplicate meta data warning logged due to parsing the same location twice
Date Wed, 27 Jul 2011 19:10:10 GMT

     [ https://issues.apache.org/jira/browse/OPENJPA-2010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Dick closed OPENJPA-2010.
---------------------------------


> Duplicate meta data warning logged due to parsing the same location twice
> -------------------------------------------------------------------------
>
>                 Key: OPENJPA-2010
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2010
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 2.0.1, 2.1.0
>            Reporter: Michael Dick
>            Assignee: Michael Dick
>             Fix For: 2.0.2, 2.1.2, 2.2.0
>
>
> I've only seen this when entities are defined in an XML mapping file, and then only in
some difficult to replicate classloader environments.
> The same XML mapping file may be parsed more than one time, resulting in a misleading
warning message about duplicate metadata. The metadata is in fact identical, and does not
indicate a problem. 
> To detect this condition we can store the source file and line number where the meta
data was defined, and only issue the warning if the metadata is defined in a different location.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message