-->
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: HibernateQueryException: unexpected token
PostPosted: Tue Mar 03, 2009 10:49 pm 
Newbie

Joined: Tue Mar 03, 2009 6:37 am
Posts: 1
Hi,

I got this error
org.springframework.orm.hibernate3.HibernateQueryException: unexpected token: member near line 1, column 6 [FROM member];

my query is select only, no where caulse
why this error, but when i just change this query to product
it works fine, why this happen ?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 04, 2009 4:52 am 
Expert
Expert

Joined: Thu Jan 08, 2009 6:16 am
Posts: 661
Location: Germany
Is there a class named member in your classpath? With "m" instead of "M"?
Remember that you need to put the entityName in the from clause. If you are still unsure, post your mapping file(s).

_________________
-----------------
Need advanced help? http://www.viada.eu


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.