About entities

51-60 of 200Refresh
JPA Doc
28

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
27

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
27

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
27

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
27

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
27

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
27

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
27

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
Manual
27

JPA Primary Key

Every entity object that is stored in the database has a primary key. Once assigned, the primary key cannot be modified. It represents the entity object as long as it exists in the database. As ... that is absent from other object oriented databases. Entity Identification Every entity object in
JPA Doc
27

LockTimeoutException(entity)

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