BatchUpdateException
class in package klyn.databases.sql

    public class BatchUpdateException extends SQLException:

Object
└ Exception
└ SQLException
└ BatchUpdateException

Raised when a batch statement stops part-way through execution.

    import klyn.databases.sql

    ex = BatchUpdateException("Batch failed")
    ex.updateCounts = [1l, 1l]
    ex.sqlState = "42000"
    print(ex.updateCounts.size)

Properties

Modifier and Type | Member | Description
--- | --- | ---
public property | updateCounts `updateCounts as ArrayList<Long>` | Update counts already produced before the failure.

Inherited Properties
property Inherited Properties from SQLException: sqlState, vendorCode
property Inherited Properties from Exception: message
property Inherited Properties from Object: type
Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | BatchUpdateException `BatchUpdateException():` | Creates a batch update exception.
public | BatchUpdateException `BatchUpdateException(message as String):` | No summary.

Inherited Methods
method Inherited Methods from Exception: toString
method Inherited Methods from Object: deepCopy, fromJson, toDict, toJson, toString, toXml