public class

TooManyRowsAffectedException

extends HibernateException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ org.hibernate.HibernateException
           ↳ org.hibernate.jdbc.TooManyRowsAffectedException
Known Direct Subclasses

Class Overview

Indicates that more rows were affected then we were expecting to be. Typically indicates presence of duplicate "PK" values in the given table.

Summary

Public Constructors
TooManyRowsAffectedException(String message, int expectedRowCount, int actualRowCount)
Public Methods
int getActualRowCount()
int getExpectedRowCount()
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public TooManyRowsAffectedException (String message, int expectedRowCount, int actualRowCount)

Public Methods

public int getActualRowCount ()

public int getExpectedRowCount ()