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.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Oracle Community by 666705, 1 year ago
Type "class testkodo.Pig" declares field "id" as a primary key, but keys of type "java.util.UUID" are not supported.
via Stack Overflow by user3712581
, 1 year ago
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.
via Oracle Community by 666705, 1 year ago
Type "class ejb3.Ejb UserEntity" declares field "userid" as a primary key, but keys of type "java.math.BigDecimal" are n t supported.
via Oracle Community by 821992, 4 months ago
Type "class com.bac.fvo.model.pricing.PricingVerificationPK" with application identity and no superc lass does not declare an id class. This type is not eligible for builtin identity, so it must decla re an id class.
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(ClassMetaData.java:1796)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.