Class TooManyRowsAffectedException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BatchedTooManyRowsAffectedException

public class TooManyRowsAffectedException extends HibernateException
Indicates that more rows were affected then we were expecting to be. Typically indicates presence of duplicate "PK" values in the given table.
Author:
Steve Ebersole
See Also:
  • Constructor Details

    • TooManyRowsAffectedException

      public TooManyRowsAffectedException(String message, int expectedRowCount, int actualRowCount)
  • Method Details

    • getExpectedRowCount

      public int getExpectedRowCount()
    • getActualRowCount

      public int getActualRowCount()