org.apache.openjpa.persistence.ArgumentException: An error occurred while parsing the query filter "select h from JobHistory h where h.jobStatusCode = :jobStatusCode order by h.jobHistoryId". Error message: The name "JobHistory" is not a recognized entity or identifier. Perhaps you meant JobHistory, which is a close match. Known entity names: [ReportPrint, FileHistory, ReportHistory, ReportTemplate, JobHistory, FileGeneration, JobMessage] [See nested exception: batch.exception.BatchEjbException: batch.exception.DaoException: <openjpa-1.1.1-SNAPSHOT-r422266:807362 nonfatal user error>org.apache.openjpa.persistence.ArgumentException: An error occurred while parsing the query filter "select h from JobHistory h where h.jobStatusCode = :jobStatusCode order by h.jobHistoryId". Error message: The name "JobHistory" is not a recognized entity or identifier. Perhaps you meant JobHistory, which is a close match. Known entity names: [ReportPrint, FileHistory, ReportHistory, ReportTemplate, JobHistory, FileGeneration, JobMessage]]

Oracle Community | 761360 | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    OpenJPA error

    Oracle Community | 7 years ago | 761360
    org.apache.openjpa.persistence.ArgumentException: An error occurred while parsing the query filter "select h from JobHistory h where h.jobStatusCode = :jobStatusCode order by h.jobHistoryId". Error message: The name "JobHistory" is not a recognized entity or identifier. Perhaps you meant JobHistory, which is a close match. Known entity names: [ReportPrint, FileHistory, ReportHistory, ReportTemplate, JobHistory, FileGeneration, JobMessage] [See nested exception: batch.exception.BatchEjbException: batch.exception.DaoException: <openjpa-1.1.1-SNAPSHOT-r422266:807362 nonfatal user error>org.apache.openjpa.persistence.ArgumentException: An error occurred while parsing the query filter "select h from JobHistory h where h.jobStatusCode = :jobStatusCode order by h.jobHistoryId". Error message: The name "JobHistory" is not a recognized entity or identifier. Perhaps you meant JobHistory, which is a close match. Known entity names: [ReportPrint, FileHistory, ReportHistory, ReportTemplate, JobHistory, FileGeneration, JobMessage]]
  2. 0

    Portal EAR project deplyoment Error : 'weblogic.application.ModuleException

    Oracle Community | 7 years ago | 757864
    org.apache.openjpa.persistence.ArgumentException: An error occurred while parsing the query filter "select h from JobHistory h where h.jobStatusCode = :jobStatusCode order by h.jobHistoryId". Error message: The name "JobHistory" is not a recognized entity or identifier. Perhaps you meant JobHistory, which is a close match. Known entity names: [ReportPrint, FileHistory, ReportHistory, ReportTemplate, JobHistory, FileGeneration, JobMessage] [See nested exception: batch.exception.BatchEjbException: batch.exception.DaoException: <openjpa-1.1.1-SNAPSHOT-r422266:807362 nonfatal user error>org.apache.openjpa.persistence.ArgumentException: An error occurred while parsing the query filter "select h from JobHistory h where h.jobStatusCode = :jobStatusCode order by h.jobHistoryId". Error message: The name "JobHistory" is not a recognized entity or identifier. Perhaps you meant JobHistory, which is a close match. Known entity names: [ReportPrint, FileHistory, ReportHistory, ReportTemplate, JobHistory, FileGeneration, JobMessage]]

    Root Cause Analysis

    1. batch.exception.BatchEjbException

      batch.exception.DaoException: <openjpa-1.1.1-SNAPSHOT-r422266:807362 nonfatal user error> org.apache.openjpa.persistence.ArgumentException: An error occurred while parsing the query filter "select h from JobHistory h where h.jobStatusCode = :jobStatusCode order by h.jobHistoryId". Error message: The name "JobHistory" is not a recognized entity or identifier. Perhaps you meant JobHistory, which is a close match. Known entity names: [ReportPrint, FileHistory, ReportHistory, ReportTemplate, JobHistory, FileGeneration, JobMessage]

      at batch.ejb.BatchEjb.findJobHistoryByJobStatusCode()
    2. batch.ejb
      BatchEjb.findJobHistoryByJobStatusCode
      1. batch.ejb.BatchEjb.findJobHistoryByJobStatusCode(BatchEjb.java:117)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. com.bea.core
      DelegatingIntroductionInterceptor.doProceed
      1. com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
      2. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      3. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      4. com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      4 frames