I'm working on a Hibernate / Spring / Tomcat application (my first foray into this particular combination ), and after working through several configuration issues that prevented the application from deploying, it now deploys. But when I'm using the application, I'm now facing an Unknown entity exception:
which seems to indicate that it cannot locate the Job.hbm.xml file, but elsewhere in the log I see things like:
which, to me, indicates that the Job.hbm.xml file can be located
The relevent section of my applicationContext-hibernate.xml file looks like:
And the .hbm.xml files are located:
What am I missing here? [ April 14, 2008: Message edited by: Joel McNary ]
It seems that this may be more a Spring issue than a Hibernate issue, since the application can, in fact, access Jobs during the application initialization phase. It's just afterward, when I go to check the status of a job, that I'm getting this error.
<2008-04-14 20:49:49,718> [DEBUG] - select job0_.JOB_ID as JOB1_, job0_.JOB_STATUS as JOB2_0_, job0_.JOB_START_TIME as JOB3_0_, job0_.JOB_END_TIME as JOB4_0_, job0_.PARAMETER_FILE_NAME as PARAMETER5_0_, job0_.ERROR_FILE_NAME as ERROR6_0_, job0_.JOB_REQUEST_TIME as JOB7_0_ from JOB job0_ where job0_.JOB_STATUS='QUEUED' (AbstractBatcher.java:log:324)