ObjectDB Database Search

101-150 of 200 results

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.MapKeyJoinColumn

key constraint when table generation is in effect. If this element is not specified, the persistence ... (Optional) Whether the column is included in SQL INSERT statements generated by the persistence ... 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.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.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.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.OptimisticLockException

JPA Exception OptimisticLockException java.lang.Object ∟  java.lang.Throwable ∟  java.lang.Exception ∟  java.lang.RuntimeException ∟  javax. persistence .PersistenceException ∟  javax. persistence .OptimisticLockException Thrown by the persistence provider when an optimistic

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.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.PessimisticLockException

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

javax.persistence.PessimisticLockScope.NORMAL

JPA Enum Constant in javax. persistence .PessimisticLockScope NORMAL This value defines the default behavior for pessimistic locking. The persistence provider must lock the database row(s) that correspond to the non-collection-valued persistent state of that instance. If a joined inheritance

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.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.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.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.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.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.AttributeOverride.column

JPA Annotation Attribute in javax. persistence .AttributeOverride Column column default null (Required) The column that is being mapped to the persistent attribute. The mapping type will remain the same as is defined in the embeddable class or mapped superclass. Since: JPA 1.0

javax.persistence.CacheRetrieveMode

JPA Enum CacheRetrieveMode java.lang.Object ∟  java.lang.Enum ∟  javax. persistence .CacheRetrieveMode Used as the value of the javax. persistence .cache.retrieveMode property to specify the behavior when data is retrieved by the find methods and by queries. Since: JPA 2.0 The Shared (L2

javax.persistence.CacheStoreMode

JPA Enum CacheStoreMode java.lang.Object ∟  java.lang.Enum ∟  javax. persistence .CacheStoreMode Used as the value of the javax. persistence .cache.storeMode property to specify the behavior when data is read from the database and when data is committed into the database. Since: JPA 2.0

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.Column.insertable

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

javax.persistence.Column.updatable

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

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.Entity

JPA Annotation Entity Target: TYPE Implemented Interfaces: Annotation Specifies that the class is an entity. This annotation is applied to the entity class. Since: JPA 1.0 The JPA Persistable Types ... to the entity in queries. The name must not be a reserved literal in the Java Persistence query language. Since: JPA 1.0

javax.persistence.Entity.name

JPA Annotation Attribute in javax. persistence .Entity String name default "" (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. Since: JPA 1.0

javax.persistence.EnumType.ORDINAL

JPA Enum Constant in javax. persistence .EnumType ORDINAL Persist enumerated type property or field as an integer. Since: JPA 1.0

javax.persistence.EnumType.STRING

JPA Enum Constant in javax. persistence .EnumType STRING Persist enumerated type property or field as a string. Since: JPA 1.0

javax.persistence.FieldResult.name

JPA Annotation Attribute in javax. persistence .FieldResult String name default null Name of the persistent field or property of the class. Since: JPA 1.0

javax.persistence.ForeignKey

, the persistence provider's default foreign key strategy will be used. The ConstraintMode value is used ... generation is in effect. A value of CONSTRAINT will cause the persistence provider to generate

javax.persistence.ForeignKey.value

JPA Annotation Attribute in javax. persistence .ForeignKey ConstraintMode value default CONSTRAINT (Optional) Used to specify whether a foreign key constraint should be generated when schema generation is in effect. A value of CONSTRAINT will cause the persistence provider to generate a foreign key

javax.persistence.GeneratedValue

persistence provider. Since: JPA 1.0 GenerationType strategy default AUTO (Optional) The primary key generation strategy that the persistence provider must use to generate the annotated entity primary key. Since: JPA 1.0

javax.persistence.GeneratedValue.strategy

JPA Annotation Attribute in javax. persistence .GeneratedValue GenerationType strategy default AUTO (Optional) The primary key generation strategy that the persistence provider must use to generate the annotated entity primary key. Since: JPA 1.0

javax.persistence.GeneratedValue.generator

JPA Annotation Attribute in javax. persistence .GeneratedValue String generator default "" (Optional) The name of the primary key generator to use as specified in the SequenceGenerator or TableGenerator annotation. Defaults to the id generator supplied by persistence provider. Since: JPA 1.0

javax.persistence.GenerationType.TABLE

JPA Enum Constant in javax. persistence .GenerationType TABLE Indicates that the persistence provider must assign primary keys for the entity using an underlying database table to ensure uniqueness. Since: JPA 1.0

javax.persistence.GenerationType.SEQUENCE

JPA Enum Constant in javax. persistence .GenerationType SEQUENCE Indicates that the persistence provider must assign primary keys for the entity using a database sequence. Since: JPA 1.0

javax.persistence.GenerationType.IDENTITY

JPA Enum Constant in javax. persistence .GenerationType IDENTITY Indicates that the persistence provider must assign primary keys for the entity using a database identity column. Since: JPA 1.0

javax.persistence.GenerationType.AUTO

JPA Enum Constant in javax. persistence .GenerationType AUTO Indicates that the persistence provider should pick an appropriate strategy for the particular database. The AUTO generation strategy may expect a database resource to exist, or it may attempt to create one. A vendor may provide

javax.persistence.JoinColumn.insertable

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

javax.persistence.JoinColumn.updatable

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

javax.persistence.JoinColumn.foreignKey

JPA Annotation Attribute in javax. persistence .JoinColumn ForeignKey foreignKey default @ForeignKey(PROVIDER_DEFAULT) (Optional) Used to specify or control the generation of a foreign key constraint when table generation is in effect. If this element is not specified, the persistence provider's default foreign key strategy will apply. Since: JPA 2.1

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.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.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.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.ManyToOne

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 boolean optional default true

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.MapKeyColumn

statements generated by the persistence provider. Since: JPA 2.0 int length default 255 (Optional) The column ... updatable default true (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Since: JPA 2.0