Uses of Class
jakarta.persistence.PersistenceException
-
Packages that use PersistenceException Package Description jakarta.persistence Jakarta Persistence is the API for the management for persistence and object/relational mapping. -
-
Uses of PersistenceException in jakarta.persistence
Subclasses of PersistenceException in jakarta.persistence Modifier and Type Class Description classEntityExistsExceptionThrown by the persistence provider whenEntityManager.persist(Object)is called and the entity already exists.classEntityNotFoundExceptionThrown by the persistence provider when an entity reference obtained byEntityManager.getReferenceis accessed but the entity does not exist.classLockTimeoutExceptionThrown by the persistence provider when an pessimistic locking conflict occurs that does not result in transaction rollback.classNonUniqueResultExceptionThrown by the persistence provider whenQuery.getSingleResult()orTypedQuery.getSingleResult()is executed on a query and there is more than one result from the query.classNoResultExceptionThrown by the persistence provider whenQuery.getSingleResult()orTypedQuery.getSingleResult()is executed on a query and there is no result to return.classOptimisticLockExceptionThrown by the persistence provider when an optimistic locking conflict occurs.classPessimisticLockExceptionThrown by the persistence provider when an pessimistic locking conflict occurs.classQueryTimeoutExceptionThrown by the persistence provider when a query times out and only the statement is rolled back.classRollbackExceptionThrown by the persistence provider whenEntityTransaction.commit()fails.classTransactionRequiredExceptionThrown by the persistence provider when a transaction is required but is not active.
-