org.hibernate.jdbc

Class BatchedTooManyRowsAffectedException

Implemented Interfaces:
Nestable

public class BatchedTooManyRowsAffectedException
extends TooManyRowsAffectedException

Much like TooManyRowsAffectedException, indicates that more rows than what we were expcecting were affected. Additionally, this form occurs from a batch and carries along the batch positon that failed.
Author:
Steve Ebersole

Field Summary

Fields inherited from class org.hibernate.exception.NestableRuntimeException

delegate

Constructor Summary

BatchedTooManyRowsAffectedException(String message, int expectedRowCount, int actualRowCount, int batchPosition)

Method Summary

int
getBatchPosition()

Methods inherited from class org.hibernate.jdbc.TooManyRowsAffectedException

getActualRowCount, getExpectedRowCount

Methods inherited from class org.hibernate.exception.NestableRuntimeException

getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace

Constructor Details

BatchedTooManyRowsAffectedException

public BatchedTooManyRowsAffectedException(String message,
                                           int expectedRowCount,
                                           int actualRowCount,
                                           int batchPosition)

Method Details

getBatchPosition

public int getBatchPosition()