Internal Website Search

101-150 of 200 results

javax.persistence.OneToOne.fetch

JPA Annotation Attribute in javax. persistence .OneToOne FetchType fetch default EAGER (Optional ... is a requirement on the persistence provider runtime that the associated entity must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime. Since: JPA 1.0

javax.persistence.NonUniqueResultException

JPA Exception NonUniqueResultException java.lang.Object ∟  java.lang.Throwable ∟  java.lang.Exception ∟  java.lang.RuntimeException ∟  javax. persistence .PersistenceException ∟  javax. persistence .NonUniqueResultException Thrown by the persistence provider when Query

javax.persistence.OneToMany.fetch

JPA Annotation Attribute in javax. persistence .OneToMany FetchType fetch default LAZY (Optional ... is a requirement on the persistence provider runtime that the associated entities must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime. Since: JPA 1.0

javax.persistence.MapKey

key for associations of type java.util.Map when the map key is itself the primary key or a persistent field or property of the entity that is the value of the map. If a persistent field or property ... of the persistent field or property of the associated entity that is used as the map key. Default

javax.persistence.ManyToMany.fetch

JPA Annotation Attribute in javax. persistence .ManyToMany FetchType fetch default LAZY (Optional ... is a requirement on the persistence provider runtime that the associated entities must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime. Since: JPA 1.0

javax.persistence.ManyToOne.fetch

JPA Annotation Attribute in javax. persistence .ManyToOne FetchType fetch default EAGER (Optional ... is a requirement on the persistence provider runtime that the associated entity must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime. Since: JPA 1.0

javax.persistence.NoResultException

JPA Exception NoResultException java.lang.Object ∟  java.lang.Throwable ∟  java.lang.Exception ∟  java.lang.RuntimeException ∟  javax. persistence .PersistenceException ∟  javax. persistence .NoResultException Thrown by the persistence provider when Query.getSingleResult() or

javax.persistence.PersistenceException

.Exception ∟  java.lang.RuntimeException ∟  javax. persistence .PersistenceException Thrown by the persistence provider when a problem occurs. All instances of PersistenceException ... , and QueryTimeoutException will cause the current transaction, if one is active and the persistence context

javax.persistence.TransactionRequiredException

JPA Exception TransactionRequiredException java.lang.Object ∟  java.lang.Throwable ∟  java.lang.Exception ∟  java.lang.RuntimeException ∟  javax. persistence .PersistenceException ∟  javax. persistence .TransactionRequiredException Thrown by the persistence provider

javax.persistence.PersistenceContext.type

JPA Annotation Attribute in javax. persistence .PersistenceContext PersistenceContextType type default PersistenceContextType.TRANSACTION (Optional) Specifies whether a transaction-scoped persistence context or an extended persistence context is to be used. Since: JPA 1.0

javax.persistence.PersistenceContext.synchronization

JPA Annotation Attribute in javax. persistence .PersistenceContext SynchronizationType synchronization default SynchronizationType.SYNCHRONIZED (Optional) Specifies whether the persistence context is always automatically synchronized with the current transaction or whether the persistence context

javax.persistence.Basic.fetch

JPA Annotation Attribute in javax. persistence .Basic FetchType fetch default EAGER (Optional ... . The EAGER strategy is a requirement on the persistence provider runtime that the value must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime. If not specified, defaults to EAGER . Since: JPA 1.0

javax.persistence.QueryTimeoutException

JPA Exception QueryTimeoutException java.lang.Object ∟  java.lang.Throwable ∟  java.lang.Exception ∟  java.lang.RuntimeException ∟  javax. persistence .PersistenceException ∟  javax. persistence .QueryTimeoutException Thrown by the persistence provider when a query times

javax.persistence.Column

the mapped column for a persistent property or field. If no Column annotation is specified, the default ... is included in SQL INSERT statements generated by the persistence provider. Since: JPA 1.0 int ... in SQL UPDATE statements generated by the persistence provider. Since: JPA 1.0

javax.persistence.Enumerated

JPA Annotation Enumerated Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies that a persistent property or field should be persisted as a enumerated type. The Enumerated annotation ... Since: JPA 1.0 The JPA Persistable Types article explains how to use Enumerated . Public Annotation

javax.persistence.FetchType

JPA Enum FetchType java.lang.Object ∟  java.lang.Enum ∟  javax. persistence .FetchType ... on the persistence provider runtime that data must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime that data should be fetched lazily when it is first accessed

javax.persistence.JoinColumn

, the persistence provider's default foreign key strategy will apply. Since: JPA 2.1 boolean insertable default true (Optional) Whether the column is included in SQL INSERT statements generated by the persistence ... ) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Since: JPA 1.0

javax.persistence.Embeddable

. Each of the persistent properties or fields of the embedded object is mapped to the database table for the entity. Note that the Transient annotation may be used to designate the non- persistent state ... String zip; protected String plusFour; } Since: JPA 1.0 The JPA Persistable Types article explains

javax.persistence.ElementCollection.fetch

JPA Annotation Attribute in javax. persistence .ElementCollection FetchType fetch default LAZY ... is a requirement on the persistence provider runtime that the collection elements must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime. Since: JPA 2.0

javax.persistence.metamodel.Type

JPA Interface Type Type Parameters: - The type of the represented object or attribute Instances of the type Type represent persistent object or attribute types. Since: JPA 2.0 Public Methods Class ... .PersistenceType getPersistenceType () Return the persistence type. Return: persistence type Since: JPA 2.0

javax.persistence.ManyToMany

should be lazily loaded or must be eagerly fetched. The EAGER strategy is a requirement on the persistence provider ... to the persistence provider runtime. Since: JPA 1.0 String mappedBy default "" The field that owns

javax.persistence.ElementCollection

is a requirement on the persistence provider runtime that the collection elements must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime. Since: JPA 2.0 Class targetClass default

javax.persistence.PessimisticLockScope.EXTENDED

JPA Enum Constant in javax. persistence .PessimisticLockScope EXTENDED In addition to the behavior for PessimisticLockScope.NORMAL , element collections and relationships owned by the entity that are contained in join tables will be locked if the javax. persistence .lock.scope property is specified

javax.persistence.AssociationOverride.foreignKey

JPA Annotation Attribute in javax. persistence .AssociationOverride ForeignKey foreignKey default @ForeignKey(PROVIDER_DEFAULT) (Optional) Used to specify or control the generation of a foreign key ... , the persistence provider's default foreign key strategy will apply. Since: JPA 2.1

javax.persistence.AssociationOverride.joinColumns

JPA Annotation Attribute in javax. persistence .AssociationOverride JoinColumn [] joinColumns default {} The join column(s) being mapped to the persistent attribute(s). The joinColumns elements must be specified if a foreign key mapping is used in the overriding of the mapping of the relationship

javax.persistence.NamedQuery.lockMode

JPA Annotation Attribute in javax. persistence .NamedQuery LockModeType lockMode default NONE (Optional) The lock mode type to use in query execution. If a lockMode other than LockModeType.NONE is specified, the query must be executed in a transaction and the persistence context joined to the transaction. Since: JPA 2.0

javax.persistence.JoinTable.foreignKey

JPA Annotation Attribute in javax. persistence .JoinTable ForeignKey foreignKey default @ForeignKey(PROVIDER_DEFAULT) (Optional) Used to specify or control the generation of a foreign key constraint ... , the persistence provider's default foreign key strategy will apply. Since: JPA 2.1

javax.persistence.JoinTable.inverseForeignKey

JPA Annotation Attribute in javax. persistence .JoinTable ForeignKey inverseForeignKey default @ForeignKey(PROVIDER_DEFAULT) (Optional) Used to specify or control the generation of a foreign key ... either location, the persistence provider's default foreign key strategy will apply. Since: JPA 2.1

javax.persistence.NamedQuery.query

JPA Annotation Attribute in javax. persistence .NamedQuery String query default null (Required) The query string in the Java Persistence query language. Since: JPA 1.0

javax.persistence.PersistenceProperty

JPA Annotation PersistenceProperty Implemented Interfaces: Annotation Describes a single container or persistence provider property. Used in PersistenceContext . Vendor specific properties may be included in the set of properties, and are passed to the persistence provider by the container

javax.persistence.metamodel.BasicType

the persistence type. Return: persistence type Inherited from: Type Since: JPA 2.0

javax.persistence.JoinTable

element is specified in either location, the persistence provider's default foreign key strategy ... either location, the persistence provider's default foreign key strategy will apply. Since: JPA 2.1 JoinColumn

javax.persistence.JoinColumns.foreignKey

JPA Annotation Attribute in javax. persistence .JoinColumns ForeignKey foreignKey default @ForeignKey(PROVIDER_DEFAULT) (Optional) Used to specify or control the generation of a foreign key constraint ... is specified in either location, the persistence provider's default foreign key strategy will apply. Since: JPA 2.1

javax.persistence.TableGenerator.table

JPA Annotation Attribute in javax. persistence .TableGenerator String table default "" (Optional) Name of table that stores the generated id values. Defaults to a name chosen by persistence provider. Since: JPA 1.0

javax.persistence.SynchronizationType.SYNCHRONIZED

JPA Enum Constant in javax. persistence .SynchronizationType SYNCHRONIZED Persistence context is automatically synchronized with the current transaction Since: JPA 2.1

javax.persistence.AssociationOverride

, the persistence provider's default foreign key strategy will apply. Since: JPA 2.1 JoinColumn [] joinColumns default {} The join column(s) being mapped to the persistent attribute(s). The joinColumns elements

javax.persistence.MapKeyJoinColumn.updatable

JPA Annotation Attribute in javax. persistence .MapKeyJoinColumn boolean updatable default true (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Since: JPA 2.0

javax.persistence.SynchronizationType.UNSYNCHRONIZED

JPA Enum Constant in javax. persistence .SynchronizationType UNSYNCHRONIZED Persistence context must be explicitly joined to the current transaction Since: JPA 2.1

javax.persistence.MapKeyJoinColumn.insertable

JPA Annotation Attribute in javax. persistence .MapKeyJoinColumn boolean insertable default true (Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider. Since: JPA 2.0

javax.persistence.OneToOne

. The EAGER strategy is a requirement on the persistence provider runtime that the associated entity must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime. Since: JPA

javax.persistence.CollectionTable.foreignKey

JPA Annotation Attribute in javax. persistence .CollectionTable ForeignKey foreignKey default @ForeignKey(PROVIDER_DEFAULT) (Optional) Used to specify or control the generation of a foreign key ... , the persistence provider's default foreign key strategy will apply. Since: JPA 2.1

javax.persistence.MapKeyColumn.updatable

JPA Annotation Attribute in javax. persistence .MapKeyColumn boolean updatable default true (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Since: JPA 2.0

javax.persistence.metamodel.Attribute

Attribute .PersistentAttributeType getPersistentAttributeType () Return the persistent attribute type for the attribute. Return: persistent attribute type Since: JPA 2.0 boolean isAssociation

javax.persistence.MapKeyColumn.insertable

JPA Annotation Attribute in javax. persistence .MapKeyColumn boolean insertable default true (Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider. Since: JPA 2.0

javax.persistence.OneToMany

must be eagerly fetched. The EAGER strategy is a requirement on the persistence provider runtime that the associated entities must be eagerly fetched. The LAZY strategy is a hint to the persistence provider

javax.persistence.MapKey.name

JPA Annotation Attribute in javax. persistence .MapKey String name default "" (Optional) The name of the persistent field or property of the associated entity that is used as the map key. Default: If the name element is not specified, the primary key of the associated entity is used as the map key

javax.persistence.PrimaryKeyJoinColumns.foreignKey

JPA Annotation Attribute in javax. persistence .PrimaryKeyJoinColumns ForeignKey foreignKey default @ForeignKey(PROVIDER_DEFAULT) (Optional) Used to specify or control the generation of a foreign key ... annotation element is specified in either location, the persistence provider's default foreign key strategy will apply. Since: JPA 2.1

javax.persistence.PrimaryKeyJoinColumn.foreignKey

JPA Annotation Attribute in javax. persistence .PrimaryKeyJoinColumn ForeignKey foreignKey default @ForeignKey(PROVIDER_DEFAULT) (Optional) Used to specify or control the generation of a foreign key ... specified, the persistence provider's default foreign key strategy will apply. Since: JPA 2.1

javax.jdo.annotations.Persistent.types

JDO Annotation Attribute in javax.jdo.annotations. Persistent Class[] types default {} Types of the member. Used when the declared member type is a supertype of the actual type that is stored in the member. For example, the declared member type might be an interface type that must contain an object of a concrete type when used for persistence . Since: JDO 2.1

javax.jdo.annotations.Persistent.table

JDO Annotation Attribute in javax.jdo.annotations. Persistent String table default "" Table to use for persisting this member. Since: JDO 2.1