-->
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: Is there any way to generate sql having OR clause in Batch
PostPosted: Wed Dec 02, 2009 2:28 pm 
Newbie

Joined: Tue Nov 10, 2009 6:31 am
Posts: 1
Hi,

Is there any way to generate sql having OR clause rather than IN clause when we set the batch size.The reason most of the database have performance issue when having IN clause in the sql statements (and i think oracle has limit to the size of the IN clasue but it is configurable) but on other hand OR clause don't have any such issues or restrictions.


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.