Fixed #20824: ezoracledb->generateSQLINStatement - not working correctly for items > 1000
(cherry picked from commit 3fff95005cf911cef7d3a2c4d151115ed06fb1c8)