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
public class BatchedTooManyRowsAffectedException extends TooManyRowsAffectedException
Much likeTooManyRowsAffectedException
, 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BatchedTooManyRowsAffectedException(String message, int expectedRowCount, int actualRowCount, int batchPosition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBatchPosition()
-
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 Detail
-
BatchedTooManyRowsAffectedException
public BatchedTooManyRowsAffectedException(String message, int expectedRowCount, int actualRowCount, int batchPosition)
-
-