Uses of Class
javax.persistence.PersistenceException

Packages that use PersistenceException
javax.persistence API used by EJB 3.0 container 
 

Uses of PersistenceException in javax.persistence
 

Subclasses of PersistenceException in javax.persistence
 class EntityExistsException
          The EntityExistsException may thrown by the persistence provider when the persist operation is invoked and the entity already exists.
 class EntityNotFoundException
          The EntityNotFoundException is thrown by the persistence provider when an entity reference obtained by getReference is accessed but the entity does not exist.
 class NonUniqueResultException
          The NonUniqueResultException is thrown by the persistence provider when Query.getSingleResult is invoked and there is more than one result from the query.
 class NoResultException
          The NoResultException is thrown by the persistence provider when Query.getSingleResult is invoked and there is no result to return.
 class OptimisticLockException
          The OptimisticLockException is thrown by the persistence provider when an optimistic locking conflict occurs.
 class RollbackException
          The RollbackException is thrown by the persistence provider when EntityTransaction.
 class TransactionRequiredException
          The TransactionRequiredException is thrown by the persistence provider when a transaction is required but is not active.
 



Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.