martin63 (1) [Avatar] Offline
I have the following problem
In the reader I read form the database , then I process and write , just as usual.

When my set of records is smaller than the commit-interval , the reader is reading till the commit-interval is reached and the wrong set is processed / written.

For example I retrieve 1 record and with a commit-interval of 10 I get 10 the same processes and writes.

When I choose 5 , I get 2 set and so on.

The only way to do a right process is a commit-interval=1 .

In my situation I use webservices to retrieve and update records.