Hi,
If there are lots of elements, let’s say more than 1000, in a query with IN clause with Blaze Persistence, and the DB is Oracle, for instance (or MySQL or SQL Server) :
- Will Blaze Persistence automatically create something like this :
 
 AND codes IN (...1000 codes...)
       OR  codes IN (...200 codes...)
to avoid the runtime exception that may occur with Oracle, if putting 1200 elements in one single IN clause ?
- If the answer is yes : what about the impact on performance (of having more than 1000 entries in IN clause(s)) ?
 - If the answer is no or in case of bad performance : what could be done ? Create a temporary table and use a JOIN statement ? Or something else (simpler) ?
 
Thanks