public class

NonUniqueObjectException

extends HibernateException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ org.hibernate.HibernateException
           ↳ org.hibernate.NonUniqueObjectException

Class Overview

This exception is thrown when an operation would break session-scoped identity. This occurs if the user tries to associate two different instances of the same Java class with a particular identifier, in the scope of a single Session.

Summary

Public Constructors
NonUniqueObjectException(String message, Serializable id, String clazz)
NonUniqueObjectException(Serializable id, String clazz)
Public Methods
String getEntityName()
Serializable getIdentifier()
String getMessage()
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public NonUniqueObjectException (String message, Serializable id, String clazz)

public NonUniqueObjectException (Serializable id, String clazz)

Public Methods

public String getEntityName ()

public Serializable getIdentifier ()

public String getMessage ()