This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have a where clause like:"WHERE IB.CURR_CUSTOMER_KEY IN (?)" Now input values may contain one or more then one values. And the number of customer key can only decided at runtime only so how to pass values in IN attribute.
Makarand, That won't work. You can only substitute a single string literal for the parameter. So the database would try to match on "Value1,Value2" rather than "Value1" and "Value2."
Jignesh, Take a look at this thread where I explain select batching a bit. Interestingly, this is the topic of an article for the October JavaRanch Journal. The article will go into more depth on the topic, walk through an example and point out some criteria to use.