ObjectDB Database Search

101-150 of 200 results

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

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

JPA Annotation Attribute in javax. persistence .MapKeyJoinColumn 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

javax.persistence.MapKeyJoinColumns.foreignKey

JPA Annotation Attribute in javax. persistence .MapKeyJoinColumns 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.NamedQueries

JPA Annotation NamedQueries Target: TYPE Implemented Interfaces: Annotation Specifies multiple named Java Persistence query language queries. Query names are scoped to the persistence unit. The NamedQueries annotation can be applied to an entity or mapped superclass. See Also: NamedQuery

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

JPA Annotation Attribute in javax. persistence .OrderColumn 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.OrderColumn.updatable

JPA Annotation Attribute in javax. persistence .OrderColumn 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.Parameter

only. Applications that use this method for Java Persistence query language queries and native queries will not ... on a parameter obtained from a Java persistence query language query or native query

Persistence.getPersistenceUtil() - JPA Static Method

JPA Static Method in javax. persistence . Persistence PersistenceUtil getPersistenceUtil () Return the PersistenceUtil instance Return: PersistenceUtil instance Since: JPA 2.0

javax.persistence.PersistenceContext.properties

JPA Annotation Attribute in javax. persistence .PersistenceContext PersistenceProperty [] properties default {} (Optional) Properties for the container or persistence provider. Vendor specific properties may be included in this set of properties. Properties that are not recognized by a vendor are ignored. Since: JPA 1.0

javax.persistence.PersistenceContextType.TRANSACTION

JPA Enum Constant in javax. persistence .PersistenceContextType TRANSACTION Transaction-scoped persistence context Since: JPA 1.0

javax.persistence.PersistenceContextType.EXTENDED

JPA Enum Constant in javax. persistence .PersistenceContextType EXTENDED Extended persistence context 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.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.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.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.SecondaryTable

is specified, it is assumed that all persistent fields or properties of the entity are mapped to the primary ... either location, the persistence provider's default foreign key strategy will apply. Since: JPA 2.1 Index

javax.persistence.SecondaryTable.foreignKey

JPA Annotation Attribute in javax. persistence .SecondaryTable 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.SharedCacheMode.NONE

JPA Enum Constant in javax. persistence .SharedCacheMode NONE Caching is disabled for the persistence unit. Since: JPA 2.0