-->
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: How to write HQL query using exists keyword of Oracle
PostPosted: Fri Oct 08, 2010 1:38 am 
Newbie

Joined: Fri Oct 08, 2010 1:29 am
Posts: 1
Right now I have delete statements and for that I am using HQL Query. The problem is I have more than 1000 Ids so I cant use 'in' clause in HQL as it is throwing error. I want to use exists keyword. Could you please guide me how to use it ?

my Query is like this

delete from Employee where id in (:ALL_IDS)
and The ParameterList's Size is greater than 1000.

Please suggest on it.

Thanks in Advanced.
Arpita.


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.