Home » Search

About entity

51-60 of 200Refresh
JPA Doc
35

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
35

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
35

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
35

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
35

JPA Lifecycle Events

Callback methods are user defined methods that are attached to entity lifecycle events ... methods are methods that are defined within an entity class. For example, the following entity class defines all the supported callback methods with empty implementations: @Entity public static class
JPA Doc
35

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
JPA Doc
34

JPA Annotations for Classes

JPA defines three types of persistable classes which are set by the following annotations: Chapter 2 of the ObjectDB manual explains these annotations in detail. Entity and mapped super classes can be further configured by annotations that specify cache preferences and lifecycle event listener
JPA Doc
34

Bindable.BindableType.ENTITY_TYPE

Enum Constant javax.persistence.metamodel.Bindable.BindableType ENTITY_TYPE Entity type Since: JPA 2.0
JPA Doc
34

SqlResultSetMapping.entities

Annotation Element javax.persistence.SqlResultSetMapping EntityResult[] entities Specifies the result set mapping to entities. Default value: {} Since: JPA 1.0
JPA Doc
34

Type.PersistenceType.ENTITY

Enum Constant javax.persistence.metamodel.Type.PersistenceType ENTITY Entity Since: JPA 2.0