Package | Description |
---|---|
com.caucho.amber.manager | |
javax.persistence |
Modifier and Type | Method and Description |
---|---|
PersistenceException |
AmberConnection.rollback(java.lang.Exception e) |
Modifier and Type | Class and Description |
---|---|
class |
EntityExistsException
Thrown by the persistence provider when
EntityManager.persist(Object) is called
and the entity already exists.
|
class |
EntityNotFoundException
Thrown by the persistence provider when an entity reference
obtained by EntityManager.getReference(Class, Object) is accessed
but the entity does not exist.
|
class |
LockTimeoutException
Thrown by the persistence provider when
a pessimistic locking conflict occurs, without forcing a rollback.
|
class |
NonUniqueResultException
Thrown by the persistence provider when getSingleResult() is
executed on a query and there is more than one result from the
query.
|
class |
NoResultException
Thrown by the persistence provider when getSingleResult() is
executed on a query and there is no result to return.
|
class |
OptimisticLockException
Thrown by the persistence provider when an
optimistic locking conflict occurs.
|
class |
PessimisticLockException
Thrown by the persistence provider when an
pessimistic locking conflict occurs.
|
class |
QueryTimeoutException
Thrown by the persistence provider when a query times out.
|
class |
RollbackException
Thrown by the persistence provider when a
transaction is required but is not active.
|
class |
TransactionRequiredException |