This API documentation is for Ballerina 1.2.0. View API documentation for the latest release.

Record - java.jdbc : BatchUpdateResult

Represents the output of the batchUpdate remote function.

Closed record

Fields

  • updatedRowCount int[]
  • The updated row count during the sql statement exectuion A number greater than or equal to zero - indicates that the command was processed successfully and is an update count giving the number of rows A value of -2 - Indicates that the command was processed successfully but that the number of rows affected is unknown A value of -3 - Indicates that the command failed to execute successfully and occurs only if a driver continues to process remaining commands after a command fails

  • generatedKeys map<anydata[]>
  • A map of auto generated key values during the batch update execution

  • returnedError Error?
  • The Error returned from the remote function in case of a failure