I use NamedNativeQuery for delete rows, and it's somthing like this:
DELETE from FAKTOR
where ID IN (
select fa.ID
from FAKTOR fa
left join FAKTOR_REASON fars
on fa.FARS_ID = fars.ID
where fars.ID = 63
and fa.USER_ID in (:userIds))
But How i can use more that 1000 userIds with IN Operator at Oracle where clues?
P.S: I'm looking for a solution to handle it in one commit;