Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:3
Hello: am getting this when using hibernate:
Code:
3850 [main] WARN org.hibernate.hql.PARSER - *** WARNING: Keyword 'from' is being intepreted as an identifier due to: expecting IDENT, found 'from'
The query is as follow:
Code:
Query query = session.createQuery(
"select Vacancy from be.rmi.intranet.db.users.Vacancy Vacancy "+
"where Vacancy.from <= current_date() AND Vacancy.to >= current_date() "+
" AND Vacancy.user = :user AND "+
"((Vacancy.function is null) OR (Vacancy.function = :func))"
);
Is it a big problem? (Except the fact it's polluting logs)
Should i correct my query? If yes, how?