Exception DmlBatchUpdateCountVerificationFailedException (6.82.0)

public class DmlBatchUpdateCountVerificationFailedException extends AbortedException

Exception thrown by a Connection when an automatic DML batch detects that one or more of the update counts that it returned during the buffering of DML statements does not match with the actual update counts that were returned after execution.

Methods

getActual()

public long[] getActual()

The actual update counts. These were returned by Spanner to the client when the DML statements were actually executed, and are the update counts that the client application would have received if auto-batching had not been enabled.

Returns
Type Description
long[]

getExpected()

public long[] getExpected()

The expected update counts. These were returned to the client application when the DML statements were buffered.

Returns
Type Description
long[]