org.apache.openjpa.persistence.ArgumentException: The type "class" has not been enhanced.

ode-dev | Guillaume Nodet | 1 decade ago
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Re: OpenJPA big bang

    ode-dev | 1 decade ago | Guillaume Nodet
    org.apache.openjpa.persistence.ArgumentException: The type "class" has not been enhanced.
  2. 0

    Pax Exam synchronisation issues

    Stack Overflow | 3 years ago | Christina
    org.apache.openjpa.persistence.ArgumentException: Failed to execute query "XXX". Check the query syntax for correctness. See nested exception for details.
  3. 0

    No metadata found for type using OpenJPA with RuntimeUnenhancedClasses

    Stack Overflow | 6 years ago
    org.apache.openjpa.persistence.ArgumentException: No metadata was found for type "class". Ensure that the class is enhanced (if necessary), that the class has appropriate metadata, and that if you list your persistent classes, the class is included in your list.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    OpenJPA enhancer or load-time weaver

    Stack Overflow | 4 years ago | user888263
    org.apache.openjpa.persistence.ArgumentException: Could not locate metadata for the class using alias "Customer". This could mean that the OpenJPA enhancer or load-time weaver was not run on the type whose alias is "Customer". Registered alias mappings: "{Customer=null}"
  6. 0

    Suqueries in select clause with JPA

    Stack Overflow | 5 years ago | veote

    1 unregistered visitors
    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.persistence.ArgumentException

      The type "class" has not been enhanced.

      at org.apache.openjpa.meta.ClassMetaData.resolveMeta()
    2. OpenJPA Aggregate Jar
      1. org.apache.openjpa.meta.ClassMetaData.resolveMeta(
      2. org.apache.openjpa.meta.ClassMetaData.resolve(
      3. org.apache.openjpa.meta.MetaDataRepository.processBuffer(
      4. org.apache.openjpa.meta.MetaDataRepository.resolveMeta(
      5. org.apache.openjpa.meta.MetaDataRepository.resolve(
      6. org.apache.openjpa.meta.MetaDataRepository.getMetaData(
      7. org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getClassMetaData(
      8. org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.resolveClassMetaData(
      9. org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateMetaData(
      10. org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateMetaData(
      11. org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateType(
      12. org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.access$500(
      13. org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder$ParsedJPQL.populate(
      14. org.apache.openjpa.kernel.jpql.JPQLParser.populate(
      15. org.apache.openjpa.kernel.ExpressionStoreQuery.populateFromCompilation(
      16. org.apache.openjpa.kernel.QueryImpl.newCompilation(
      17. org.apache.openjpa.kernel.QueryImpl.compileForCompilation(
      18. org.apache.openjpa.kernel.QueryImpl.compileForExecutor(
      19. org.apache.openjpa.kernel.QueryImpl.getOperation(
      20. org.apache.openjpa.kernel.DelegatingQuery.getOperation(
      21. org.apache.openjpa.persistence.QueryImpl.execute(
      22. org.apache.openjpa.persistence.QueryImpl.getResultList(
      22 frames
    3. org.apache.ode
      3 frames
    4. Java RT
      1. java.util.concurrent.FutureTask$Sync.innerRun(
      3. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
      4. java.util.concurrent.ThreadPoolExecutor$
      4 frames