I have table in DB,e.g. TableOne.
By some rules i should commit N records from this table to other tables.
Is it possible to do with jdbc or ResultSet or CachedRowSet?
Preliminary flow, as i see:
1. loop through ResultSet
of TableOne
2. increment counter
if certain condition is met
3. if condition is not met, it's time to commit to other DB tables N records=counter
4. commit these N records
So,the question is in step 4.
How it may be implemented?
Thank you.