ObjectDB Database Search

101-150 of 200 results

jakarta.persistence.SecondaryTable.pkJoinColumns

Jakarta Persistence (JPA) Method in jakarta.persistence.SecondaryTable PrimaryKeyJoinColumn[] pkJoinColumns (Optional) The columns that are used to join with the primary table . Defaults to the column(s) of the same name(s) as the primary key column(s) in the primary table . Default: {} Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.SecondaryTable.uniqueConstraints

Jakarta Persistence (JPA) Method in jakarta.persistence.SecondaryTable UniqueConstraint[] uniqueConstraints (Optional) Unique constraints that are to be placed on the table . These are typically only used if table generation is in effect. These constraints apply in addition to any constraints

jakarta.persistence.SecondaryTable.indexes

Jakarta Persistence (JPA) Method in jakarta.persistence.SecondaryTable Index[] indexes (Optional) Indexes for the table . These are only used if table generation is in effect. Default: {} Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.SecondaryTable.check

Jakarta Persistence (JPA) Method in jakarta.persistence.SecondaryTable CheckConstraint[] check (Optional) Check constraints to be applied to the table . These are only used if table generation is in effect. Default: {} Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.SecondaryTable.comment

Jakarta Persistence (JPA) Method in jakarta.persistence.SecondaryTable String comment (Optional) A comment to be applied to the table . This is only used if table generation is in effect. Default: "" Since: Jakarta Persistence (JPA) 3.2

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.CollectionTable.indexes

Jakarta Persistence (JPA) Method in jakarta.persistence.CollectionTable Index[] indexes (Optional) Indexes for the table . These are only used if table generation is in effect. Default: {} Since: Jakarta Persistence (JPA) 2.1

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

Jakarta Persistence (JPA) Method in jakarta.persistence.Column boolean unique (Optional) Whether the column is a unique key. This is a shortcut for the UniqueConstraint annotation at the table level ... specified at the table level. Default: false Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.CollectionTable.joinColumns

Jakarta Persistence (JPA) Method in jakarta.persistence.CollectionTable JoinColumn[] joinColumns (Optional) The foreign key columns of the collection table which reference the primary table of the entity. The default only applies if a single join column is used. The default is the same as

jakarta.persistence.CollectionTable.uniqueConstraints

Jakarta Persistence (JPA) Method in jakarta.persistence.CollectionTable UniqueConstraint[] uniqueConstraints (Optional) Unique constraints that are to be placed on the table . These are only used if table generation is in effect. Default: {} Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.AssociationOverride.joinTable

Jakarta Persistence (JPA) Method in jakarta.persistence.AssociationOverride JoinTable joinTable The join table that maps the relationship. The joinTable element must be specified if a join table is used in the overriding of the mapping of the relationship. The joinTable element must not

jakarta.persistence.Id

for the primary key of the entity is assumed to be the primary key of the primary table . If no Column

jakarta.persistence.Index

key has a unique constraint with an index created automatically. See Also: Table SecondaryTable

jakarta.persistence.IdClass

equality consistently with equality of the mapped primary key of the database table . The primary key fields

jakarta.persistence.GeneratedValue

(strategy = TABLE , generator = "CUST_GEN") @Column(name = "CUST_ID") Long id; See Also: GenerationType Id

jakarta.persistence.JoinColumns

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

jakarta.persistence.ManyToOne

annotation. Alternatively, an optional OneToOne association is sometimes mapped to a join table

jakarta.persistence.MapKeyJoinColumns

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

jakarta.persistence.EmbeddedId

with equality of the mapped primary key of the database table . The AttributeOverride annotation may be used

jakarta.persistence.Version

superclasses. The Version field or property should be mapped to the primary table of the entity

jakarta.persistence.PrePersist

class. A generated primary key value is available when this callback occurs only for UUID , TABLE , or

jakarta.persistence.SchemaManager

the database tables mapped by entities belonging to the persistence unit, and then re-import

jakarta.persistence.Persistence

tables and/or create DDL scripts as determined by the supplied properties. Called when schema generation

jakarta.persistence.OneToOne

to a join table using the JoinTable annotation. The OneToOne annotation may be used within an embeddable

jakarta.persistence.TableGenerator.catalog

Jakarta Persistence (JPA) Method in jakarta.persistence.TableGenerator String catalog (Optional) The catalog of the table . Defaults to the default catalog. Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.TableGenerator.schema

Jakarta Persistence (JPA) Method in jakarta.persistence.TableGenerator String schema (Optional) The schema of the table . Defaults to the default schema for user. Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.TableGenerator.pkColumnName

Jakarta Persistence (JPA) Method in jakarta.persistence.TableGenerator String pkColumnName (Optional) Name of the primary key column in the table . Defaults to a provider-chosen name. Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.TableGenerator.options

Jakarta Persistence (JPA) Method in jakarta.persistence.TableGenerator String options (Optional) A SQL fragment appended to the generated DDL statement which creates this table . Default: "" Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.Inheritance.strategy

Jakarta Persistence (JPA) Method in jakarta.persistence.Inheritance InheritanceType strategy The inheritance mapping strategy for the entity inheritance hierarchy. Default: InheritanceType.SINGLE_ TABLE Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.GenerationType.AUTO

of type Long , Integer , long , or int , the provider selects between GenerationType. TABLE

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

Jakarta Persistence (JPA) Method in jakarta.persistence.Persistence void generateSchema (    String persistenceUnitName ,    Map map ) Create database schemas and/or tables and/or create DDL scripts as determined by the supplied properties. Called when schema generation

jakarta.persistence.MapKeyJoinColumn.unique

Jakarta Persistence (JPA) Method in jakarta.persistence.MapKeyJoinColumn boolean unique (Optional) Whether the property is a unique key. This is a shortcut for the UniqueConstraint annotation at the table level and is useful for when the unique key constraint is only a single field. Default: false 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.unique

Jakarta Persistence (JPA) Method in jakarta.persistence.JoinColumn boolean unique (Optional) Whether the property is a unique key. This is a shortcut for the UniqueConstraint annotation at the table level and is useful for when the unique key constraint is only a single field. It is not necessary

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.JoinTable.catalog

Jakarta Persistence (JPA) Method in jakarta.persistence.JoinTable String catalog (Optional) The catalog of the table . Defaults to the default catalog. Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.JoinTable.schema

Jakarta Persistence (JPA) Method in jakarta.persistence.JoinTable String schema (Optional) The schema of the table . Defaults to the default schema for user. Default: "" Since: Jakarta Persistence (JPA) 1.0

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.JoinColumn.check

Jakarta Persistence (JPA) Method in jakarta.persistence.JoinColumn CheckConstraint[] check (Optional) Check constraints to be applied to the column. These are only used if table generation is in effect. Default: {} Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.JoinColumn.comment

Jakarta Persistence (JPA) Method in jakarta.persistence.JoinColumn String comment (Optional) A comment to be applied to the column. This is only used if table generation is in effect. Default: "" Since: Jakarta Persistence (JPA) 3.2

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.SecondaryTable.schema

Jakarta Persistence (JPA) Method in jakarta.persistence.SecondaryTable String schema (Optional) The schema of the table . Defaults to the default schema for user. Default: "" 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.SecondaryTable.name

Jakarta Persistence (JPA) Method in jakarta.persistence.SecondaryTable String name (Required) The name of the table . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.SecondaryTable.catalog

Jakarta Persistence (JPA) Method in jakarta.persistence.SecondaryTable String catalog (Optional) The catalog of the table . Defaults to the default catalog. Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.SecondaryTables.value

Jakarta Persistence (JPA) Method in jakarta.persistence.SecondaryTables SecondaryTable[] value (Required) The secondary tables for an entity. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.CollectionTable.name

Jakarta Persistence (JPA) Method in jakarta.persistence.CollectionTable String name (Optional) The name of the collection table . If not specified, it defaults to the concatenation of the name of the containing entity and the name of the collection attribute, separated by an underscore. Default: "" Since: Jakarta Persistence (JPA) 1.0