-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: *** WARNING: Keyword 'from' is being intepreted as ...
PostPosted: Tue May 24, 2005 8:39 am 
Senior
Senior

Joined: Tue May 10, 2005 9:00 am
Posts: 125
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?


Top
 Profile  
 
 Post subject: Re: *** WARNING: Keyword 'from' is being intepreted as ...
PostPosted: Tue May 24, 2005 9:22 am 
Expert
Expert

Joined: Mon Feb 14, 2005 12:32 pm
Posts: 609
Location: Atlanta, GA - USA
tchize wrote:
Is it a big problem? (Except the fact it's polluting logs)
Should i correct my query? If yes, how?


Check out http://forum.hibernate.org/viewtopic.php?t=939965


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.