-->
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: Need help for appending WITH UR to HQLs
PostPosted: Mon Nov 06, 2006 10:31 am 
Newbie

Joined: Mon Nov 06, 2006 10:22 am
Posts: 1
Location: Chennai
Hi,

I need to append "WITH UR" to all the queries. I am using DB2. In HSQLs I am able to add but when ever adding the same to HQL I am getting the following error:
org.hibernate.hql.PARSER *** ERROR: line 1:80: unexpected token: with

unexpected token: with near line 1, column 80 [select distinct uomCode.uomCode from com.apll.ecom.pc.model.UomCode as uomCode with ur]

Please suggest how to use "with ur". It is urgent.

Thanks in advance...

_________________
Thanks,
Pratul


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 06, 2006 10:39 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
why don't you just use a connection with a better isolation level for you ?

_________________
Max
Don't forget to rate


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.