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

From: Frank Schwarz (JIRA) ("Frank)
Date: Sun Mar 16 2008 - 12:19:38 EDT

  • Next message: Andrus Adamchik (JIRA): "[jira] Commented: (CAY-1011) Add confirmation dialog for delete actions."

    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.705020..mx.de%3e

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



    This archive was generated by hypermail 2.0.0 : Sun Mar 16 2008 - 12:21:28 EDT