Home » Search

About EntityNotFoundException

11-20 of 29Refresh
JPA Doc
12

getReference(entityClass, primaryKey)

the database, the EntityNotFoundException is thrown when the instance state is first accessed. (The persistence provider runtime is permitted to throw the EntityNotFoundException when getReference ... a valid type for that entity’s primary key or is null EntityNotFoundException - if the entity state cannot be accessed Since: JPA 1.0
Result
7

java.io.Serializable

, EntityExistsException, EntityNotFoundException, Enum, EnumType, EventObject, Exception, FetchType
JPA Doc
7

javax.persistence.PersistenceException

, EntityNotFoundException, LockTimeoutException, NonUniqueResultException, NoResultException
JPA Doc
7

lock(entity, lockMode)

is a detached entity TransactionRequiredException - if there is no transaction EntityNotFoundException
JPA Doc
7

lock(entity, lockMode, properties)

is a detached entity TransactionRequiredException - if there is no transaction EntityNotFoundException
JPA Doc
7

refresh(entity)

PersistenceContextType.TRANSACTION and there is no transaction EntityNotFoundException - if the entity no longer exists in the database Since: JPA 1.0
JPA Doc
7

refresh(entity, lockMode)

other than NONE EntityNotFoundException - if the entity no longer exists in the database
JPA Doc
7

refresh(entity, lockMode, properties)

other than NONE EntityNotFoundException - if the entity no longer exists in the database PessimisticLockException
JPA Doc
7

refresh(entity, properties)

of type PersistenceContextType.TRANSACTION and there is no transaction EntityNotFoundException - if the entity no longer exists in the database Since: JPA 2.0
Forum
4

Accessiblity of attributes in entities in several OSGi-Bundles

when we execute the example: Caused by: com.objectdb.o._EntityNotFoundException: Entity is not found ... transaction. The connection to OSGi (if any) is unclear, and possibly EntityNotFoundException ... that was not handled yet. Build 2.6.1_06 should fix this now. However, an EntityNotFoundException will be thrown in this case now, similar to the first case.