Top Description Fields Constructors Methods
org.hibernate.jdbc

public Class TooManyRowsAffectedException

extends HibernateException
Class Inheritance
Known Direct Subclasses
org.hibernate.jdbc.BatchedTooManyRowsAffectedException
Imports
org.hibernate.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

Field Summary

Modifier and TypeField and Description
private final int
private final int

Constructor Summary

AccessConstructor and Description
public
TooManyRowsAffectedException(String message, int expectedRowCount, int actualRowCount)

Method Summary

Modifier and TypeMethod and Description
public int
public int

Field Detail

actualRowCountback to summary
private final int actualRowCount
expectedRowCountback to summary
private final int expectedRowCount

Constructor Detail

TooManyRowsAffectedExceptionback to summary
public TooManyRowsAffectedException(String message, int expectedRowCount, int actualRowCount)

Method Detail

getActualRowCountback to summary
public int getActualRowCount()
getExpectedRowCountback to summary
public int getExpectedRowCount()