openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Curtis (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OPENJPA-2129) Getting WARN messages [main] openjpa.MetaData - Found duplicate metadata or mapping for "class xxx.xxx". Ignoring.
Date Thu, 16 Feb 2012 14:24:59 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-2129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209384#comment-13209384
] 

Rick Curtis commented on OPENJPA-2129:
--------------------------------------

Can you post the contents of your orm mapping files and the jpql xml file?
                
> Getting WARN messages [main] openjpa.MetaData - Found duplicate metadata or mapping for
"class xxx.xxx".  Ignoring.
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-2129
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2129
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jpa
>    Affects Versions: 2.1.1
>            Reporter: aabbcc
>
> I am trying to execute Junit test for ORM mapping using OPENJPA2.1.1
> Getting below Duplicate OpenJPA meta data warning     
> [main] openjpa.MetaData - Found duplicate metadata or mapping for "class xxx.xxx".  Ignoring.
> It is not able to execute actual code. There are no two mapping files with same content.
It seems OpenJPA parsing the same orm.xml location twice.
> It seems there is a bug. Please look into this issue and fix it or suggest alternative
solution as soon as possible.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message