|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
PersistenceUnitInfo.getClassLoader() method.
AttributeOverride annotation is used to
override the mapping of a Basic (whether explicit or
default) property or field or Id property or field.Basic annotation is the simplest type of mapping
to a database column.PersistenceUnitInfo.addTransformer
method.EntityManagerFactory
is to be created.
EntityManagerFactory
is to be created.
SINGLE_TABLE and
JOINED inheritance mapping strategies.EntityManager.persist(Object) is called and the entity
already exists.EntityExistsException exception
with null as its detail message.
EntityExistsException exception
with the specified detail message.
EntityExistsException exception
with the specified detail message and cause.
EntityExistsException exception
with the specified cause.
EntityManagerFactory interface is used
by the application to obtain an application-managed entity
manager.EntityManager.getReference(Class,Object)
is accessed but the entity does not exist.EntityNotFoundException exception
with null as its detail message.
EntityNotFoundException exception
with the specified detail message.
EntityTransaction interface is used to control
resource transactions on resource-local entity managers.EntityManager.lock() method.Map.getSingleResult() is executed on a query and there is more
than one result from the query.NonUniqueResultException exception
with null as its detail message.
NonUniqueResultException exception
with the specified detail message.
getSingleResult() is executed on a query
and there is no result to return.NoResultException exception
with null as its detail message.
NoResultException exception
with the specified detail message.
OptimisticLockException exception
with null as its detail message.
OptimisticLockException exception
with the specified detail message.
OptimisticLockException exception
with the specified detail message and cause.
OptimisticLockException exception
with the specified cause.
OptimisticLockException exception
with the specified entity.
OptimisticLockException exception
with the specified detail message, cause, and entity.
EntityManagerFactory.EntityManager persistence context.PersistenceContext annotations.PersistenceContext.PersistenceException exception
with null as its detail message.
PersistenceException exception
with the specified detail message.
PersistenceException exception
with the specified detail message and cause.
PersistenceException exception
with the specified cause.
EntityManagerFactory.EntityManagerFactory.PersistenceUnit annotations.EntityManagerFactory will be
JTA or resource-local entity managers.PrimaryKeyJoinColumn annotations.Query hint.EntityTransaction.commit() fails.RollbackException exception
with null as its detail message.
RollbackException exception
with the specified detail message.
RollbackException exception
with the specified detail message and cause.
RollbackException exception
with the specified cause.
GeneratedValue annotation.SqlResultSetMapping.GeneratedValue annotation.Date and Calendar.Date
or Calendar.TransactionRequiredException exception
with null as its detail message.
TransactionRequiredException exception
with the specified detail message.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||