I have a query like this -
SELECT * FROM mytable WHERE id IN()
The IN will get list of ids which are more than 1000. So my query fails on Oracle.
One option is that I insert the ids in a temp table and change the above query to join with this new table.
Does spring-jdbc provides anything to solve this? Is there any pattern I can follow to write my DAO?