You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Ari Maniatis (JIRA)" <ji...@apache.org> on 2010/01/06 10:49:54 UTC

[jira] Closed: (CAY-1012) Loaded JPA orm.xml metadata is not merged with other metadata

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

Ari Maniatis closed CAY-1012.
-----------------------------

    Resolution: Won't Fix

Not fixing any JPA issues.

> Loaded JPA orm.xml metadata is not merged with other metadata
> -------------------------------------------------------------
>
>                 Key: CAY-1012
>                 URL: https://issues.apache.org/jira/browse/CAY-1012
>             Project: Cayenne
>          Issue Type: Bug
>         Environment: Cayenne 3M3
>            Reporter: Frank Schwarz
>            Assignee: Andrus Adamchik
>
> Entities declared in orm.xml without any further JPA annotations are not recognized as JPA entities.
> Exception in thread "main" java.lang.IllegalArgumentException: entity 
> must be Persistent: foo.bar
>         at org.apache.cayenne.jpa.TypeCheckingEntityManager.checkEntityType(TypeCheckingEntityManager.java:64)
>         at org.apache.cayenne.jpa.TypeCheckingEntityManager.persist(TypeCheckingEntityManager.java:150)
> See: http://mail-archives.apache.org/mod_mbox/cayenne-user/200803.mbox/%3c47DAB1E3.7050209@gmx.de%3e

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.