BatchSQLExceptionクラス
BatchSQLException
クラスは、バッチ処理エラーを処理するメソッドを提供します。BatchSQLException
クラスはSQLExceptionクラスから導出されるため、すべてのBatchSQLException
インスタンスは、表13-6に示したメソッド以外に、SQLException
のすべてのメソッドをサポートします。
getException()
指定されたindex
に一致する例外を戻します。
構文
SQLException getSQLException (
unsigned int index) const;
getFailedRowCount()
INSERT文またはUPDATE文が失敗した行の数を戻します。
構文
unsigned int getFailedRowCount( ) const;
getRowNum()
指定されたindex
に一致したエラーのある行の番号を戻します。
構文
unsigned int getRowNum(
unsigned int index) const;