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]]

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

Solutions on the web

via Oracle Community by 761360, 1 year ago
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
via Oracle Community by 757864, 1 year ago
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
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(BatchEjb.java:117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)

Users with the same issue

You are the first who have seen this exception.

Write tip

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