Hi,
I got everything working except got an error when load the page with data populated. See errors below:
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.orm.hibernate3.HibernateQueryException: EmployeeCourse is not mapped [From EmployeeCourse where employee = ?]; nested exception is org.hibernate.hql.ast.QuerySyntaxException: EmployeeCourse is not mapped [From EmployeeCourse where employee = ?] ..... Root cause org.springframework.orm.hibernate3.HibernateQueryException: EmployeeCourse is not mapped [From EmployeeCourse where employee = ?]; nested exception is org.hibernate.hql.ast.QuerySyntaxException: EmployeeCourse is not mapped [From EmployeeCourse where employee = ?] org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:660)
I used annotation conversion from Legacy code to Annotation. I've checked everything in the configuration xml files, and all DOMAIN OBJECT everything looks fine. However, I think there is something wrong or missing that caused an exception above.
Does anyone has any clue or ran into this problem?
Your input is greatly appreciated!
HC
|