| Package | Description | 
|---|---|
| javax.persistence | Java Persistence is the API for the management for persistence and object/relational mapping. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | EntityExistsExceptionThrown by the persistence provider when  EntityManager.persist(Object)is called and the entity already exists. | 
| class  | EntityNotFoundExceptionThrown by the persistence provider when an entity reference obtained by
  EntityManager.getReferenceis accessed but the entity does not exist. | 
| class  | LockTimeoutExceptionThrown by the persistence provider when an pessimistic locking
 conflict occurs that does not result in transaction rollback. | 
| class  | NonUniqueResultExceptionThrown by the persistence provider when  Query.getSingleResult()orTypedQuery.getSingleResult()is executed on a
 query and there is more than one result from the query. | 
| class  | NoResultExceptionThrown by the persistence provider when  Query.getSingleResult()orTypedQuery.getSingleResult()is executed on a query
 and there is no result to return. | 
| class  | OptimisticLockExceptionThrown by the persistence provider when an optimistic locking conflict
 occurs. | 
| class  | PessimisticLockExceptionThrown by the persistence provider when an pessimistic locking conflict
 occurs. | 
| class  | QueryTimeoutExceptionThrown by the persistence provider when a query times out
 and only the statement is rolled back. | 
| class  | RollbackExceptionThrown by the persistence provider when 
  EntityTransaction.commit()fails. | 
| class  | TransactionRequiredExceptionThrown by the persistence provider when a transaction is required but is not
 active. | 
Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.