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.
Constructor and Description |
---|
TooManyRowsAffectedException(String message,
int expectedRowCount,
int actualRowCount) |
Modifier and Type | Method and Description |
---|---|
int |
getActualRowCount() |
int |
getExpectedRowCount() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public TooManyRowsAffectedException(String message, int expectedRowCount, int actualRowCount)
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.