public class TupleAlreadyExistsException extends HibernateException
GridDialect implementations using DuplicateInsertPreventionStrategy.NATIVE upon insertion
of an already existing tuple.| Constructor and Description |
|---|
TupleAlreadyExistsException(EntityKeyMetadata entityKeyMetadata,
Tuple id,
Throwable cause)
Creates a new
TupleAlreadyExistsException. |
| Modifier and Type | Method and Description |
|---|---|
EntityKeyMetadata |
getEntityKeyMetadata() |
Tuple |
getId() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TupleAlreadyExistsException(EntityKeyMetadata entityKeyMetadata, Tuple id, Throwable cause)
TupleAlreadyExistsException.entityKeyMetadata - Key metadata for the affected entityid - A Tuple containing the id column(s) of the affected entitycause - An exception raised by the underlying datastore indicating the insertion of a duplicate primary keypublic EntityKeyMetadata getEntityKeyMetadata()
public Tuple getId()
Copyright © 2010-2017 Red Hat, Inc., Emmanuel Bernard and various contributors. All Rights Reserved.