DB にテーブルがあります。たとえば、TableOneです。
いくつかの規則により、このテーブルから N 個のレコードを他のテーブルにコミットする必要があります。
jdbc または ResultSet または 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.