org.apache.openjpa.util.MetaDataException: Type "class testkodo.Pig" declares field "id" as a primary key, but keys of type "java.util.UUID" are not supported.

Oracle Community | 666705 | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Primary-Key support for java.util.UUID

    Oracle Community | 1 decade ago | 666705
    org.apache.openjpa.util.MetaDataException: Type "class testkodo.Pig" declares field "id" as a primary key, but keys of type "java.util.UUID" are not supported.
  2. 0

    Spring mvc weblogic 10.3.6 jpa @idclass error

    Stack Overflow | 3 months ago | user3712581
    org.apache.openjpa.util.MetaDataException: Type "class eusurvey.modelA.daos.EncuestaSem" with application identity and no superclass does not declare an id class. This type is not eligible for builtin identity, so it must declare an id class.

    Root Cause Analysis

    1. org.apache.openjpa.util.MetaDataException

      Type "class testkodo.Pig" declares field "id" as a primary key, but keys of type "java.util.UUID" are not supported.

      at org.apache.openjpa.meta.ClassMetaData.validateAppIdClass()
    2. OpenJPA Aggregate Jar
      ClassMetaData.validateIdentity
      1. org.apache.openjpa.meta.ClassMetaData.validateAppIdClass(ClassMetaData.java:1796)
      2. org.apache.openjpa.meta.ClassMetaData.validateIdentity(ClassMetaData.java:1775)
      2 frames