Package org.hibernate.jdbc
Class BatchedTooManyRowsAffectedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.persistence.PersistenceException
org.hibernate.HibernateException
org.hibernate.jdbc.TooManyRowsAffectedException
org.hibernate.jdbc.BatchedTooManyRowsAffectedException
- All Implemented Interfaces:
Serializable
Much like
TooManyRowsAffectedException
, indicates that more
rows than what we were expecting were affected. Additionally, this form
occurs from a batch and carries along the batch position that failed.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBatchedTooManyRowsAffectedException
(String message, int expectedRowCount, int actualRowCount, int batchPosition) -
Method Summary
Methods inherited from class org.hibernate.jdbc.TooManyRowsAffectedException
getActualRowCount, getExpectedRowCount
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BatchedTooManyRowsAffectedException
public BatchedTooManyRowsAffectedException(String message, int expectedRowCount, int actualRowCount, int batchPosition)
-
-
Method Details
-
getBatchPosition
public int getBatchPosition()
-