org.apache.openjpa.util.MetaDataException: The id class specified by type "class com.lifelinesys.hsrm.persistence.model.EimHsrSchedule" does not match the primary key fields of the class. Make sure your identity class has the same primary keys as your persistent type, that the access types are the same, and if you are getting this error at runtime, that you have your persistent class since last compiling your identity class. FailedObject: setCalendarDate [java.lang.String]

Oracle Community | 666705 | 9 years ago
  1. 0

    @IdClass with Timestamp value

    Oracle Community | 9 years ago | 666705
    org.apache.openjpa.util.MetaDataException: The id class specified by type "class com.lifelinesys.hsrm.persistence.model.EimHsrSchedule" does not match the primary key fields of the class. Make sure your identity class has the same primary keys as your persistent type, that the access types are the same, and if you are getting this error at runtime, that you have your persistent class since last compiling your identity class. FailedObject: setCalendarDate [java.lang.String]
  2. 0

    OPENJPA - The id class specified by type does not match the primary key fields of the class

    Stack Overflow | 3 years ago | Joe
    org.apache.openjpa.util.MetaDataException: The id class specified by type "class org.orphee.gps.beans.entity.LastAlarmRaised" does not match the primary key fields of the class. Make sure your identity class has the same primary keys as your persistent type, including pk field types. Mismatched property: "box"
  3. 0

    OPENJPA - The id class specified by type does not match the primary key fields of the class (EJB and other Java EE Technologies forum at JavaRanch)

    coderanch.com | 1 year ago
    org.apache.openjpa.util.MetaDataException: The id class specified by type "class org.orphee.gps.beans.entity.LastAlarmRaised" does not match the primary key fields of the class. Make sure your identity class has the same primary keys as your persistent type, including pk field types. Mismatched property: "box"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    org.apache.openjpa.util.MetaDataException while build time enhancing using ANT

    Stack Overflow | 5 years ago | Natraj
    org.apache.openjpa.util.MetaDataException: MetaDataFactory could not be configured (conf.newMetaDataFactoryInstance() returned null). This might mean that no configuration properties were found. Ensure that you have a META-INF/persistence.xml file, that it is available in your classpath, or that the properties file you are using for configuration is available. If you are using Ant, please see the <properties> or <propertiesFile> attributes of the task's nested <config> element. This can also occur if your OpenJPA distribution jars are corrupt, or if your security policy is overly strict.
  6. 0

    openjpa, maven and persistence.xml. help me please

    openjpa-users | 4 years ago | laudio.info
    org.apache.openjpa.util.MetaDataException: MetaDataFactory could not be configured (conf.newMetaDataFactoryInstance() returned null). This might mean that no configuration properties were found. Ensure that you have a META-INF/persistence.xml file, that it is available in your classpath, or that the properties file you are using for configuration is available. If you are using Ant, please see the <properties> or <propertiesFile> attributes of the task's nested <config> element. This can also occur if your OpenJPA distribution jars are corrupt, or if your security policy is overly strict.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.openjpa.util.MetaDataException

      The id class specified by type "class com.lifelinesys.hsrm.persistence.model.EimHsrSchedule" does not match the primary key fields of the class. Make sure your identity class has the same primary keys as your persistent type, that the access types are the same, and if you are getting this error at runtime, that you have your persistent class since last compiling your identity class. FailedObject: setCalendarDate [java.lang.String]

      at org.apache.openjpa.meta.ClassMetaData.validateAppIdClassPKs()
    2. OpenJPA Aggregate Jar
      ClassMetaData.validateMeta
      1. org.apache.openjpa.meta.ClassMetaData.validateAppIdClassPKs(ClassMetaData.java:1942)
      2. org.apache.openjpa.meta.ClassMetaData.validateAppIdClass(ClassMetaData.java:1836)
      3. org.apache.openjpa.meta.ClassMetaData.validateIdentity(ClassMetaData.java:1775)
      4. org.apache.openjpa.meta.ClassMetaData.validateMeta(ClassMetaData.java:1692)
      4 frames