Internal Website Search

101-150 of 200 results

javax.persistence.Column

that is used when generating the DDL for the column. Defaults to the generated SQL to create ... is included in SQL INSERT statements generated by the persistence provider. Since: JPA 1.0 int ... when generating the DDL for the column. Since: JPA 1.0 int scale default 0 (Optional) The scale for a decimal

javax.persistence.CollectionTable

) (Optional) Used to specify or control the generation of a foreign key constraint for the columns corresponding to the joinColumns element when table generation is in effect. If both this element ... for the table. These are only used if table generation is in effect. Since: JPA 2.1 JoinColumn

javax.persistence.MapKeyColumn

String columnDefinition default "" (Optional) The SQL fragment that is used when generating the DDL for the column. Defaults to the generated SQL to create a column of the inferred type. Since: JPA 2 ... statements generated by the persistence provider. Since: JPA 2.0 int length default 255 (Optional) The column

javax.persistence.SecondaryTable

default @ForeignKey(PROVIDER_DEFAULT) (Optional) Used to specify or control the generation of a foreign key constraint for the columns corresponding to the pkJoinColumns element when table generation is in ... [] indexes default {} (Optional) Indexes for the table. These are only used if table generation is in

javax.persistence.OrderColumn

columnDefinition default "" (Optional) The SQL fragment that is used when generating the DDL for the column. Defaults to generated SQL to create a column of the inferred type. Since: JPA 2.0 boolean insertable default true (Optional) Whether the column is included in SQL INSERT statements generated by

javax.persistence.GenerationType

.GenerationType Defines the types of primary key generation strategies. See Also: GeneratedValue Since: JPA 1.0 The Auto Generated Values article explains how to use GenerationType . Enum Constants AUTO ... . The AUTO generation strategy may expect a database resource to exist, or it may attempt to create

javax.persistence.PrimaryKeyJoinColumn

columnDefinition default "" (Optional) The SQL fragment that is used when generating the DDL for the column. This should not be specified for a OneToOne primary key association. Defaults to the generated ... @ForeignKey(PROVIDER_DEFAULT) (Optional) Used to specify or control the generation of a foreign key constraint

Persistence.generateSchema(persistenceUnitName,map) - JPA Static Method

create DDL scripts as determined by the supplied properties. Called when schema generation is to occur ... - the name of the persistence unit map - properties for schema generation ; these may also contain ... information is provided or if schema generation otherwise fails. Since: JPA 2.1

javax.persistence.TableGenerator.pkColumnValue

JPA Annotation Attribute in javax.persistence.TableGenerator String pkColumnValue default "" (Optional) The primary key value in the generator table that distinguishes this set of generated values ... the primary key column of the generator table Since: JPA 1.0

javax.persistence.criteria.CriteriaBuilder

to work around the fact that Java generics are not compatible with varags. Since: JPA 2.0 The JPA ... CriteriaBuilder.Case selectCase () Create a general case expression. Return: general case expression

javax.persistence.criteria.CriteriaBuilder$Case

general case expressions. Case conditions are evaluated in the order in which they are specified ... : condition - "when" condition result - "then" result expression Return: general case expression ... a when/then clause to the case expression. Parameters: condition - "when" condition result - "then" result value Return: general case expression Since: JPA 2.0

javax.persistence.ElementCollection.targetClass

is optional only if the collection field or property is defined using Java generics , and must be specified otherwise. It defaults to the paramterized type of the collection when defined using generics . Since: JPA 2.0

javax.persistence.ManyToMany

only if the collection-valued relationship property is defined using Java generics . Must be specified otherwise. Defaults to the parameterized type of the collection when defined using generics . Since: JPA 1.0

javax.persistence.ElementCollection

. This element is optional only if the collection field or property is defined using Java generics , and must be specified otherwise. It defaults to the paramterized type of the collection when defined using generics . Since: JPA 2.0

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 constraint for the columns corresponding to the joinColumns element when table generation is in effect

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 for the columns corresponding to the joinColumns element when table generation is in effect

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 constraint for the columns corresponding to the inverseJoinColumns element when table generation is in

javax.persistence.TableGenerator.name

JPA Annotation Attribute in javax.persistence.TableGenerator String name default null (Required) A unique generator name that can be referenced by one or more classes to be the generator for id values. Since: JPA 1.0

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 when table generation is in effect. If both this element and the foreignKey element of any

javax.persistence.MapKeyJoinColumn.columnDefinition

JPA Annotation Attribute in javax.persistence.MapKeyJoinColumn String columnDefinition default "" (Optional) The SQL fragment that is used when generating the DDL for the column. Defaults to SQL generated by the provider for the column. Since: JPA 2.0

javax.persistence.Table

. These are only used if table generation is in effect. Note that it is not necessary to specify an index ... that are to be placed on the table. These are only used if table generation is in effect. These constraints

javax.persistence.AssociationOverride

@ForeignKey(PROVIDER_DEFAULT) (Optional) Used to specify or control the generation of a foreign key constraint for the columns corresponding to the joinColumns element when table generation is in effect

javax.persistence.MapKeyColumn.columnDefinition

JPA Annotation Attribute in javax.persistence.MapKeyColumn String columnDefinition default "" (Optional) The SQL fragment that is used when generating the DDL for the column. Defaults to the generated SQL to create a column of the inferred type. 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 constraint for the columns corresponding to the joinColumns element when table generation is in effect

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 constraint when table generation is in effect. If both this element and the foreignKey element

javax.persistence.PrimaryKeyJoinColumns

(PROVIDER_DEFAULT) (Optional) Used to specify or control the generation of a foreign key constraint when table generation is in effect. If both this element and the foreignKey element of any

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 constraint for the primary key join column when table generation is in effect. If this element is not

javax.persistence.OneToMany.targetEntity

JPA Annotation Attribute in javax.persistence.OneToMany Class targetEntity default void.class (Optional) The entity class that is the target of the association. Optional only if the collection property is defined using Java generics . Must be specified otherwise. Defaults to the parameterized type of the collection when defined using generics . Since: JPA 1.0

javax.persistence.PrimaryKeyJoinColumn.columnDefinition

JPA Annotation Attribute in javax.persistence.PrimaryKeyJoinColumn String columnDefinition default "" (Optional) The SQL fragment that is used when generating the DDL for the column. This should not be specified for a OneToOne primary key association. Defaults to the generated SQL to create a column of the inferred type. Since: JPA 1.0

javax.persistence.ManyToMany.targetEntity

-valued relationship property is defined using Java generics . Must be specified otherwise. Defaults to the parameterized type of the collection when defined using generics . Since: JPA 1.0

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 constraint for the columns corresponding to the pkJoinColumns element when table generation is in effect

javax.persistence.SequenceGenerator.name

JPA Annotation Attribute in javax.persistence.SequenceGenerator String name default null (Required) A unique generator name that can be referenced by one or more classes to be the generator for primary key values. Since: JPA 1.0

javax.persistence.Column.columnDefinition

JPA Annotation Attribute in javax.persistence.Column String columnDefinition default "" (Optional) The SQL fragment that is used when generating the DDL for the column. Defaults to the generated SQL to create a column of the inferred type. Since: JPA 1.0

javax.persistence.OrderColumn.columnDefinition

JPA Annotation Attribute in javax.persistence.OrderColumn String columnDefinition default "" (Optional) The SQL fragment that is used when generating the DDL for the column. Defaults to generated SQL to create a column of the inferred type. Since: JPA 2.0

javax.persistence.DiscriminatorColumn.columnDefinition

JPA Annotation Attribute in javax.persistence.DiscriminatorColumn String columnDefinition default "" (Optional) The SQL fragment that is used when generating the DDL for the discriminator column. Defaults to the provider- generated SQL to create a column of the specified discriminator type. Since: JPA 1.0

javax.persistence.DiscriminatorColumn

"" (Optional) The SQL fragment that is used when generating the DDL for the discriminator column. Defaults to the provider- generated SQL to create a column of the specified discriminator type

CriteriaBuilder.selectCase() - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder CriteriaBuilder.Case selectCase () Create a general case expression. Return: general case expression Since: JPA 2.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

) Used to specify or control the generation of a foreign key constraint when table generation is in

javax.persistence.JoinColumn.columnDefinition

JPA Annotation Attribute in javax.persistence.JoinColumn String columnDefinition default "" (Optional) The SQL fragment that is used when generating the DDL for the column. Defaults to the generated SQL for the column. Since: JPA 1.0

javax.persistence.Index

JPA Annotation Index Implemented Interfaces: Annotation Used in schema generation to specify creation of an index. Note that it is not necessary to specify an index for a primary key, as the primary ... name default "" (Optional) The name of the index; defaults to a provider- generated name. Since: JPA

javax.persistence.MapKeyJoinColumns

@ForeignKey(PROVIDER_DEFAULT) (Optional) Used to specify or control the generation of a foreign key constraint when table generation is in effect. If both this element and the foreignKey element of any

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 constraint when table generation is in effect. If both this element and the foreignKey element of any

JDOImplHelper.copyKeyFieldsFromObjectId(pcClass,fm,oid) - JDO Method

is generated in the PersistenceCapable class to generate a call to the field manager for each key field ... , and Float salary ) would have the method generated : void jdoCopyKeyFieldsFromObjectId

JDOImplHelper.copyKeyFieldsToObjectId(pcClass,fm,oid) - JDO Method

is generated in the PersistenceCapable class to generate a call to the field manager for each key field in ... , and Float salary ) would have the method generated : void jdoCopyKeyFieldsToObjectId (Object oid

PersistenceCapable.jdoCopyKeyFieldsToObjectId(fm,oid) - JDO Method

an outside source to the key fields in the ObjectId. This method is generated in the PersistenceCapable class to generate a call to the field manager for each key field in the ObjectId. For example ... ) would have the method generated : void jdoCopyKeyFieldsToObjectId (ObjectIdFieldSupplier fm, Object objectId

PersistenceCapable.jdoCopyKeyFieldsFromObjectId(fm,oid) - JDO Method

to an outside consumer from the key fields in the ObjectId. This method is generated in the PersistenceCapable class to generate a call to the field manager for each key field in the ObjectId. For example ... ) would have the method generated : void copyKeyFieldsFromObjectId (ObjectIdFieldConsumer fm, Object objectId

javax.jdo.annotations.Persistent

default "" Custom value strategy to use to generate the value for this field or property (if any ... IdGeneratorStrategy valueStrategy default IdGeneratorStrategy.UNSPECIFIED Value strategy to use to generate

javax.jdo.annotations.DatastoreIdentity

to generate the value for the identity. If customStrategy is non-empty, then strategy ... IdGeneratorStrategy strategy default IdGeneratorStrategy.UNSPECIFIED Strategy to use when generating datastore identities Since: JDO 2.1