org.hibernate.jdbc
Class BatchedTooManyRowsAffectedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.hibernate.exception.NestableRuntimeException
org.hibernate.HibernateException
org.hibernate.jdbc.TooManyRowsAffectedException
org.hibernate.jdbc.BatchedTooManyRowsAffectedException
- All Implemented Interfaces:
- Serializable, 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
- See Also:
- Serialized Form
Methods inherited from class org.hibernate.exception.NestableRuntimeException |
getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace |
BatchedTooManyRowsAffectedException
public BatchedTooManyRowsAffectedException(String message,
int expectedRowCount,
int actualRowCount,
int batchPosition)
getBatchPosition
public int getBatchPosition()