You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by "Frank Schwarz (JIRA)" <de...@cayenne.apache.org> on 2008/03/16 17:19:38 UTC

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

Loaded JPA orm.xml metadata is not merged with other metadata
-------------------------------------------------------------

                 Key: CAY-1012
                 URL: https://issues.apache.org/cayenne/browse/CAY-1012
             Project: Cayenne
          Issue Type: Bug
          Components: Cayenne JPA
         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.