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/[EMAIL 
PROTECTED]

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

Reply via email to