I noticed this line in my log:

    [QueryLogger] === updated -2 rows.

Note the minus sign.

I suspected the recently modified code in BatchAction.runAsBatch() was
running into an Oracle 8i flakiness.  I put a couple of println's in
that method and got this for a single-row update:

 [QueryLogger] UPDATE EMPLOYEE SET MIDDLEINITIAL = ? WHERE EMPLOYEE_ID = ?
 [QueryLogger] [batch bind: 'J', 312]
 [STDOUT] >> results[0] = -2
 [STDOUT] >> totalUpdateCount = -2
 [QueryLogger] === updated -2 rows.

When I do the same on Postgres I get the expected "1 row".

Reply via email to