ObjectDB Database Search

101-150 of 200 results

jakarta.persistence.Index

: Annotation Used in schema generation to specify creation of an index. The syntax of the columnList element ... name (Optional) The name of the index. Defaults to a provider- generated name. Default ... options (Optional) A SQL fragment appended to the generated DDL which creates this index. Default

jakarta.persistence.DiscriminatorColumn

columnDefinition (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 ... appended to the generated DDL which declares this column. May not be used in conjunction

jakarta.persistence.UniqueConstraint

Interfaces: Annotation Specifies that a unique constraint is to be included in the generated DDL ... to a provider- generated name. Default: "" Since: Jakarta Persistence (JPA) 2.0 String[] columnNames ... String options (Optional) A SQL fragment appended to the generated DDL which creates this constraint

jakarta.persistence.criteria.CriteriaBuilder.Case

Interface used to build general case expressions. Case conditions are evaluated in the order in ... expression. Parameters: result - "then" result value condition - "when" condition Returns: general case ... condition - "when" condition Returns: general case expression. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder

is used instead of Expression in this API in order to work around the fact that Java generics are not ... case expression. Since: Jakarta Persistence (JPA) 1.0 Case selectCase () Create a general case expression. Returns: general case expression. Since: Jakarta Persistence (JPA) 1.0 Expression sign

jakarta.persistence.CheckConstraint

Interfaces: Annotation Used to specify a SQL check constraint on a column or table when schema generation ... Elements String name (Optional) The name of the constraint. Defaults to a provider- generated name ... appended to the generated DDL which creates this constraint. Default: "" Since: Jakarta Persistence

jakarta.persistence.PersistenceConfiguration.SCHEMAGEN_SCRIPTS_ACTION

Jakarta Persistence (JPA) Field in jakarta.persistence.PersistenceConfiguration SCHEMAGEN_SCRIPTS_ACTION The action to be generated as a SQL script. The script is generated in the location specified by "jakarta.persistence.schema- generation .create-target" or "jakarta.persistence.schema- generation

jakarta.persistence.PersistenceUnitUtil

entity ) Return the id of the entity. A generated id is not guaranteed to be available ... ) Return the version of the entity. A generated version is not guaranteed to be available

jakarta.persistence.JoinColumns

Persistence (JPA) 1.0 ForeignKey foreignKey (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

jakarta.persistence.ManyToMany

generics . Must be specified otherwise. Defaults to the parameterized type of the collection when defined using generics . Default: void/class Since: Jakarta Persistence (JPA) 1.0 CascadeType[] cascade

jakarta.persistence.MapKeyJoinColumns

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

jakarta.persistence.ElementCollection

generics , and must be specified otherwise. It defaults to the parameterized type of the collection when defined using generics . Default: void/class Since: Jakarta Persistence (JPA) 1.0 FetchType fetch

jakarta.persistence.DiscriminatorValue

-specific function is used to generate a value representing the entity type. If the DiscriminatorType ... to generate a value representing the entity type. If the DiscriminatorType is STRING , the discriminator

jakarta.persistence.AssociationOverride

(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

jakarta.persistence.PrimaryKeyJoinColumns

the generation of a foreign key constraint when table generation is in effect. If both this element

jakarta.persistence.TableGenerator.pkColumnValue

Jakarta Persistence (JPA) Method in jakarta.persistence.TableGenerator String pkColumnValue (Optional) The primary key value in the generator table that distinguishes this set of generated values ... the primary key column of the generator table Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Persistence.generateSchema(String,Map)

and/or create DDL scripts as determined by the supplied properties. Called when schema generation ... : persistenceUnitName - 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: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.CriteriaBuilder.selectCase()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Case selectCase() Create a general case expression. Returns: general case expression. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Table.options

Jakarta Persistence (JPA) Method in jakarta.persistence.Table String options (Optional) A SQL fragment appended to the generated DDL statement which creates this table. This is only used if table generation is in effect. Default: "" Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.TableGenerator.name

Jakarta Persistence (JPA) Method in jakarta.persistence.TableGenerator String name (optional) A unique generator name that can be referenced by one or more classes to be the generator for id values. Defaults to the name of the entity when the annotation occurs on an entity class or primary key

jakarta.persistence.GeneratedValue.strategy

Jakarta Persistence (JPA) Method in jakarta.persistence.GeneratedValue GenerationType strategy (Optional) The primary key generation strategy that the persistence provider must use to generate the annotated entity primary key. Default: AUTO Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.OneToMany.targetEntity

is defined using Java generics . Must be specified otherwise. Defaults to the parameterized type of the collection when defined using generics . Default: void/class Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.GenerationType.UUID

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.GenerationType UUID Indicates that the persistence provider must assign primary keys for the entity by generating an RFC 4122 Universally Unique IDentifier. May be used to generate primary keys of type UUID or String . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.GenerationType.AUTO

, GenerationType.SEQUENCE , and GenerationType.IDENTITY . The AUTO generation strategy may expect a database ... such resources in the event that it does not support schema generation or cannot create the schema

jakarta.persistence.OrderColumn.columnDefinition

Jakarta Persistence (JPA) Method in jakarta.persistence.OrderColumn String columnDefinition (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. Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.MapKeyColumn.columnDefinition

Jakarta Persistence (JPA) Method in jakarta.persistence.MapKeyColumn String columnDefinition (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. Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.MapKeyJoinColumn.columnDefinition

Jakarta Persistence (JPA) Method in jakarta.persistence.MapKeyJoinColumn String columnDefinition (Optional) The SQL fragment that is used when generating the DDL for the column. Defaults to SQL generated by the provider for the column. Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.MapKeyJoinColumn.foreignKey

Jakarta Persistence (JPA) Method in jakarta.persistence.MapKeyJoinColumn ForeignKey foreignKey (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, a default foreign key strategy is selected by

jakarta.persistence.MapKeyJoinColumns.foreignKey

Jakarta Persistence (JPA) Method in jakarta.persistence.MapKeyJoinColumns ForeignKey foreignKey (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 of the MapKeyJoinColumn

jakarta.persistence.JoinColumn.columnDefinition

Jakarta Persistence (JPA) Method in jakarta.persistence.JoinColumn String columnDefinition (Optional) The SQL fragment that is used when generating the DDL for the column. Defaults to the generated SQL for the column. Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.JoinColumns.foreignKey

Jakarta Persistence (JPA) Method in jakarta.persistence.JoinColumns ForeignKey foreignKey (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 of the JoinColumn elements

jakarta.persistence.JoinColumn.foreignKey

Jakarta Persistence (JPA) Method in jakarta.persistence.JoinColumn ForeignKey foreignKey (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, a default foreign key strategy is selected by

jakarta.persistence.JoinTable.foreignKey

Jakarta Persistence (JPA) Method in jakarta.persistence.JoinTable ForeignKey foreignKey (Optional) Used to specify or control the generation of a foreign key constraint for the columns corresponding to the JoinTable.joinColumns element when table generation is in effect. If both this element

jakarta.persistence.JoinTable.inverseForeignKey

Jakarta Persistence (JPA) Method in jakarta.persistence.JoinTable ForeignKey inverseForeignKey (Optional) Used to specify or control the generation of a foreign key constraint for the columns corresponding to the JoinTable.inverseJoinColumns element when table generation is in effect

jakarta.persistence.JoinTable.options

Jakarta Persistence (JPA) Method in jakarta.persistence.JoinTable String options (Optional) A SQL fragment appended to the generated DDL statement which creates this table. This is only used if table generation is in effect. Default: "" Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.ManyToMany.targetEntity

relationship property is defined using Java generics . Must be specified otherwise. Defaults to the parameterized type of the collection when defined using generics . Default: void/class Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.SecondaryTable.foreignKey

Jakarta Persistence (JPA) Method in jakarta.persistence.SecondaryTable ForeignKey foreignKey (Optional) Used to specify or control the generation of a foreign key constraint for the columns corresponding to the SecondaryTable.pkJoinColumns element when table generation is in effect

jakarta.persistence.SequenceGenerator.name

Jakarta Persistence (JPA) Method in jakarta.persistence.SequenceGenerator String name (Optional) A unique generator name that can be referenced by one or more classes to be the generator for primary key values. Defaults to the name of the entity when the annotation occurs on an entity class or

jakarta.persistence.SecondaryTable.options

Jakarta Persistence (JPA) Method in jakarta.persistence.SecondaryTable String options (Optional) A SQL fragment appended to the generated DDL statement which creates this table. This is only used if table generation is in effect. Default: "" Since: Jakarta Persistence (JPA) 3.2

jakarta.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 parameterized type of the collection when defined using generics

jakarta.persistence.DiscriminatorColumn.columnDefinition

Jakarta Persistence (JPA) Method in jakarta.persistence.DiscriminatorColumn String columnDefinition (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. Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.CollectionTable.options

Jakarta Persistence (JPA) Method in jakarta.persistence.CollectionTable String options (Optional) A SQL fragment appended to the generated DDL statement which creates this table. This is only used if table generation is in effect. Default: "" Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.CollectionTable.foreignKey

Jakarta Persistence (JPA) Method in jakarta.persistence.CollectionTable ForeignKey foreignKey (Optional) Used to specify or control the generation of a foreign key constraint for the columns corresponding to the CollectionTable.joinColumns element when table generation is in effect

jakarta.persistence.Column.columnDefinition

Jakarta Persistence (JPA) Method in jakarta.persistence.Column String columnDefinition (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. The specified DDL must be written in the native SQL dialect

jakarta.persistence.PrimaryKeyJoinColumn.columnDefinition

Jakarta Persistence (JPA) Method in jakarta.persistence.PrimaryKeyJoinColumn String columnDefinition (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

jakarta.persistence.PrimaryKeyJoinColumn.foreignKey

Jakarta Persistence (JPA) Method in jakarta.persistence.PrimaryKeyJoinColumn ForeignKey foreignKey (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 specified, the persistence

jakarta.persistence.PrimaryKeyJoinColumns.foreignKey

Jakarta Persistence (JPA) Method in jakarta.persistence.PrimaryKeyJoinColumns ForeignKey foreignKey (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

jakarta.persistence.PersistenceConfiguration.SCHEMAGEN_CREATE_TARGET

Jakarta Persistence (JPA) Field in jakarta.persistence.PersistenceConfiguration SCHEMAGEN_CREATE_TARGET The provider- generated SQL script which creates the schema when "jakarta.persistence.schema- generation .scripts.action" is set. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceConfiguration.SCHEMAGEN_DROP_TARGET

Jakarta Persistence (JPA) Field in jakarta.persistence.PersistenceConfiguration SCHEMAGEN_DROP_TARGET The provider- generated SQL script which drops the schema when "jakarta.persistence.schema- generation .scripts.action" is set. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.AssociationOverride.foreignKey

Jakarta Persistence (JPA) Method in jakarta.persistence.AssociationOverride ForeignKey foreignKey (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