About entities

41-50 of 200Refresh
JPA Doc
55

isLoadedWithReference(entity, attributeName)

Method javax.persistence.spi.ProviderUtil LoadState isLoadedWithReference(   Object entity,   String attributeName ) If the provider determines that the entity has been provided by ... . If a provider determines that the entity has been provided by itself and that either the entity attributes
JPA Doc
54

getLockMode(entity)

Method javax.persistence.EntityManager LockModeType getLockMode(   Object entity ) Get the current lock mode for the entity instance. Parameters: entity - entity instance Returns: lock mode Throws ... is not a managed entity and a transaction is active Since: JPA 2.0
JPA Doc
54

isLoaded(entity, attributeName)

Method javax.persistence.PersistenceUnitUtil boolean isLoaded(   Object entity,   String attributeName ) Determine the load state of a given persistent attribute of an entity belonging to the persistence unit. Parameters: entity - entity instance containing the attribute attributeName - name
JPA Doc
54

Entity.name

Annotation Element javax.persistence.Entity String name (Optional) The entity name. Defaults to the unqualified name of the entity class. This name is used to refer to the entity in queries. The name must not be a reserved literal in the Java Persistence query language. Default value: "" Since: JPA 1.0
JPA Doc
54

isLoaded(entity, attributeName)

Method javax.persistence.PersistenceUtil boolean isLoaded(   Object entity,   String attributeName ) Determine the load state of a given persistent attribute. Parameters: entity - entity containing ... if entity's state has not been loaded or if the attribute state has not been loaded, else true Since: JPA 2.0
JPA Doc
54

LockTimeoutException(message, cause, entity)

Constructor javax.persistence.LockTimeoutException LockTimeoutException(   String message,   Throwable cause,   Object entity ) Constructs a new LockTimeoutException exception with the specified detail message, cause, and entity. Parameters: message - the detail message. cause - the cause. entity - the entity. Since: JPA 2.0
JPA Doc
54

OptimisticLockException(entity)

Constructor javax.persistence.OptimisticLockException OptimisticLockException(   Object entity ) Constructs a new OptimisticLockException exception with the specified entity. Parameters: entity - the entity. Since: JPA 1.0
JPA Doc
54

OptimisticLockException(message, cause, entity)

Constructor javax.persistence.OptimisticLockException OptimisticLockException(   String message,   Throwable cause,   Object entity ) Constructs a new OptimisticLockException exception with the specified detail message, cause, and entity. Parameters: message - the detail message. cause - the cause. entity - the entity. Since: JPA 1.0
JPA Doc
54

PessimisticLockException(entity)

Constructor javax.persistence.PessimisticLockException PessimisticLockException(   Object entity ) Constructs a new PessimisticLockException exception with the specified entity. Parameters: entity - the entity. Since: JPA 2.0
JPA Doc
54

PessimisticLockException(message, cause, entity)

Constructor javax.persistence.PessimisticLockException PessimisticLockException(   String message,   Throwable cause,   Object entity ) Constructs a new PessimisticLockException exception with the specified detail message, cause, and entity. Parameters: message - the detail message. cause - the cause. entity - the entity. Since: JPA 2.0