Uses of Class
javax.persistence.PersistenceException

Packages that use PersistenceException
javax.persistence The javax.persistence package contains the classes and interfaces that define the contracts between a persistence provider and the managed classes and the clients of the Java Persistence API. 
 

Uses of PersistenceException in javax.persistence
 

Subclasses of PersistenceException in javax.persistence
 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 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 RollbackException
          Thrown by the persistence provider when the EntityTransaction.commit() fails.
 class TransactionRequiredException
          Thrown by the persistence provider when a transaction is required but is not active.