-->
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.  [ 1 post ] 
Author Message
 Post subject: Query parser complaints about SQL functions?
PostPosted: Wed Jul 14, 2004 12:39 pm 
Beginner
Beginner

Joined: Wed Nov 19, 2003 10:29 pm
Posts: 27
This was previously mentioned in December 2003 in this thread here:
http://forum.hibernate.org/viewtopic.php?t=926173

Basically, the query parser complains about certain common sql functions, particularly those to do with full-text searching. In the example above, the function was mySQL's match() function. In my problem, it is the MS-SQL equivilent, contains(). Both the match() and contains() function take two arguments, which seems to be what the query parser is complaining about. I've even tried adding the contains() method to the SQLServerDialect class, but it is no improvement. Is there a resolution to this?

I'm currently stuck using a raw JDBC query, since I'm only looking up primary keys, and createSQLQuery does not support scalar queries.


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

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.