ObjectDB Database Search
101-150 of 200 resultsAnnotationAttrRef jakarta.persistence.TableGenerator.indexes JPA Annotation Attribute in jakarta.persistence.TableGenerator Index [] indexes default {} (Optional) Indexes for the table . These are only used if table generation is in effect. Note that it is not necessary to specify an index for a primary key, as the primary key index is created automatically. Since: JPA 2.1 | |
AnnotationAttrRef jakarta.persistence.TableGenerator.uniqueConstraints JPA Annotation Attribute in jakarta.persistence.TableGenerator UniqueConstraint [] uniqueConstraints default {} (Optional) Unique constraints that are to be placed on the table . These are only used if table generation is in effect. These constraints apply in addition to primary key constraints. Defaults to no additional constraints. Since: JPA 1.0 | |
AnnotationAttrRef jakarta.persistence.Column.unique JPA Annotation Attribute in jakarta.persistence.Column boolean unique default false (Optional) Whether the column is a unique key. This is a shortcut for the UniqueConstraint annotation at the table ... . This constraint applies in addition to any constraint entailed by the primary key mapping and to constraints specified at the table level. Since: JPA 1.0 | |
InterfaceRef jakarta.persistence.spi.PersistenceProvider tables and/or create DDL scripts as determined by the supplied properties. Called by the container ... database schemas and/or tables and/or create DDL scripts as determined by the supplied properties. Called | |
AnnotationAttrRef jakarta.persistence.SecondaryTable.comment JPA Annotation Attribute in jakarta.persistence.SecondaryTable String comment default "" (Optional) A comment to be applied to the table . This is only used if table generation is in effect. Since: JPA 3.2 | |
AnnotationAttrRef jakarta.persistence.SecondaryTable.options JPA Annotation Attribute in jakarta.persistence.SecondaryTable String options default "" (Optional) A SQL fragment appended to the generated DDL statement which creates this table . This is only used if table generation is in effect. Since: JPA 3.2 | |
AnnotationAttrRef jakarta.persistence.SecondaryTable.check JPA Annotation Attribute in jakarta.persistence.SecondaryTable CheckConstraint [] check default {} (Optional) Check constraints to be applied to the table . These are only used if table generation is in effect. Since: JPA 3.2 | |
AnnotationRef jakarta.persistence.MappedSuperclass it. A mapped superclass is not a persistent type, and is not mapped to a database table . The persistent ... which inherits the mapped superclass, since the mapped superclass itself has no table to map. Mapping | |
AnnotationRef jakarta.persistence.Inheritance class hierarchy, the SINGLE_ TABLE mapping strategy is used. Example: {@snippet ... .SINGLE_ TABLE The inheritance mapping strategy for the entity inheritance hierarchy. Since: JPA 1.0 | |
AnnotationAttrRef jakarta.persistence.AssociationOverride.foreignKey JPA Annotation Attribute in jakarta.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 | |
AnnotationAttrRef jakarta.persistence.AssociationOverride.joinColumns. The joinColumns element must not be specified if a join table is used in the overriding of the mapping of the relationship. Since: JPA 1.0 | |
AnnotationAttrRef jakarta.persistence.JoinTable.foreignKey JPA Annotation Attribute in jakarta.persistence.JoinTable ForeignKey foreignKey default @ForeignKey(ConstraintMode.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 | |
AnnotationAttrRef jakarta.persistence.JoinTable.inverseForeignKey JPA Annotation Attribute in jakarta.persistence.JoinTable ForeignKey inverseForeignKey default @ForeignKey(ConstraintMode.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 | |
AnnotationAttrRef jakarta.persistence.Column.comment JPA Annotation Attribute in jakarta.persistence.Column String comment default "" (Optional) A comment to be applied to the column. This is only used if table generation is in effect. Since: JPA 3.2 | |
AnnotationAttrRef jakarta.persistence.Column.check JPA Annotation Attribute in jakarta.persistence.Column CheckConstraint [] check default {} (Optional) Check constraints to be applied to the column. These are only used if table generation is in effect. Since: JPA 3.2 | |
AnnotationAttrRef jakarta.persistence.JoinColumns.foreignKey JPA Annotation Attribute in jakarta.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 | |
AnnotationAttrRef jakarta.persistence.TableGenerator.pkColumnName JPA Annotation Attribute in jakarta.persistence.TableGenerator String pkColumnName default "" (Optional) Name of the primary key column in the table . Defaults to a provider-chosen name. Since: JPA 1.0 | |
InterfaceRef jakarta.persistence.SchemaManager void truncate () Truncate the database tables mapped by entities belonging to the persistence unit | |
AnnotationAttrRef jakarta.persistence.TableGenerator.catalog JPA Annotation Attribute in jakarta.persistence.TableGenerator String catalog default "" (Optional) The catalog of the table . Defaults to the default catalog. Since: JPA 1.0 | |
AnnotationAttrRef jakarta.persistence.TableGenerator.schema JPA Annotation Attribute in jakarta.persistence.TableGenerator String schema default "" (Optional) The schema of the table . Defaults to the default schema for user. Since: JPA 1.0 | |
AnnotationAttrRef jakarta.persistence.JoinTable.schema JPA Annotation Attribute in jakarta.persistence.JoinTable String schema default "" (Optional) The schema of the table . Defaults to the default schema for user. Since: JPA 1.0 | |
AnnotationAttrRef jakarta.persistence.JoinTable.catalog JPA Annotation Attribute in jakarta.persistence.JoinTable String catalog default "" (Optional) The catalog of the table . Defaults to the default catalog. Since: JPA 1.0 | |
AnnotationAttrRef jakarta.persistence.MapKeyJoinColumn.unique JPA Annotation Attribute in jakarta.persistence.MapKeyJoinColumn boolean unique default false (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. Since: JPA 2.0 | |
AnnotationAttrRef jakarta.persistence.JoinColumn.comment JPA Annotation Attribute in jakarta.persistence.JoinColumn String comment default "" (Optional) A comment to be applied to the column. This is only used if table generation is in effect. Since: JPA 3.2 | |
AnnotationAttrRef jakarta.persistence.JoinColumn.check JPA Annotation Attribute in jakarta.persistence.JoinColumn CheckConstraint [] check default {} (Optional) Check constraints to be applied to the column. These are only used if table generation is in effect. Since: JPA 3.2 | |
AnnotationAttrRef jakarta.persistence.CollectionTable.schema JPA Annotation Attribute in jakarta.persistence.CollectionTable String schema default "" (Optional) The schema of the table . If not specified, the default schema for the user is used. Since: JPA 2.0 | |
SchemaManager.truncate() - JPA Method JPA Method in jakarta.persistence.SchemaManager void truncate () Truncate the database tables mapped by entities belonging to the persistence unit, and then re-import initial data from any configured SQL scripts for data loading. If a SQL operation fails, the behavior is undefined. A provider | |
AnnotationRef jakarta.persistence.OneToOne, an optional OneToOne association is sometimes mapped to a join table using the JoinTable annotation | |
AnnotationAttrRef jakarta.persistence.CollectionTable.foreignKey JPA Annotation Attribute in jakarta.persistence.CollectionTable ForeignKey foreignKey default @ForeignKey(ConstraintMode.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 | |
AnnotationAttrRef jakarta.persistence.CollectionTable.catalog JPA Annotation Attribute in jakarta.persistence.CollectionTable String catalog default "" (Optional) The catalog of the table . If not specified, the default catalog is used. Since: JPA 2.0 | |
AnnotationAttrRef jakarta.persistence.CollectionTable.name JPA Annotation Attribute in jakarta.persistence.CollectionTable String name default "" (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. Since: JPA 2.0 | |
AnnotationAttrRef jakarta.persistence.PrimaryKeyJoinColumns.foreignKey JPA Annotation Attribute in jakarta.persistence.PrimaryKeyJoinColumns ForeignKey foreignKey default @ForeignKey(ConstraintMode.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 | |
AnnotationRef jakarta.persistence.PrimaryKeyJoinColumns control the generation of a foreign key constraint when table generation is in effect | |
AnnotationAttrRef jakarta.persistence.PrimaryKeyJoinColumn.foreignKey JPA Annotation Attribute in jakarta.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 | |
AnnotationRef jakarta.persistence.ManyToOne association is sometimes mapped to a join table using the JoinTable annotation. The ManyToOne | |
AnnotationAttrRef jakarta.persistence.TableGenerator.options JPA Annotation Attribute in jakarta.persistence.TableGenerator String options default "" (Optional) A SQL fragment appended to the generated DDL statement which creates this table . Since: JPA 3.2 | |
AnnotationAttrRef jakarta.persistence.SecondaryTable.foreignKey JPA Annotation Attribute in jakarta.persistence.SecondaryTable ForeignKey foreignKey default @ForeignKey(ConstraintMode.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 | |
AnnotationAttrRef jakarta.persistence.SecondaryTable.catalog JPA Annotation Attribute in jakarta.persistence.SecondaryTable String catalog default "" (Optional) The catalog of the table . Defaults to the default catalog. Since: JPA 1.0 | |
AnnotationAttrRef jakarta.persistence.SecondaryTable.schema JPA Annotation Attribute in jakarta.persistence.SecondaryTable String schema default "" (Optional) The schema of the table . Defaults to the default schema for user. Since: JPA 1.0 | |
Persistence.generateSchema(persistenceUnitName,map) - JPA Static Method JPA Static Method in javax.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 is to occur | |
AnnotationAttrRef jakarta.persistence.SecondaryTables.value JPA Annotation Attribute in jakarta.persistence.SecondaryTables SecondaryTable [] value default null (Required) The secondary tables for an entity. Since: JPA 1.0 | |
AnnotationAttrRef jakarta.persistence.SecondaryTable.name JPA Annotation Attribute in jakarta.persistence.SecondaryTable String name default null (Required) The name of the table . Since: JPA 1.0 | |
ClassRef jakarta.persistence.Persistence and/or tables and/or create DDL scripts as determined by the supplied properties. Called when schema | |
Persistence.generateSchema(persistenceUnitName,map) - JPA Static Method JPA Static 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 | |
AnnotationRef jakarta.persistence.DiscriminatorColumn JPA Annotation DiscriminatorColumn Target: TYPE Implemented Interfaces: Annotation Specifies the discriminator column for the SINGLE_ TABLE and JOINED plain. The mapping strategy and discriminator column are only specified for the root of an entity class hierarchy or subhierarchy in | |
AnnotationRef jakarta.persistence.UniqueConstraint JPA Annotation UniqueConstraint Implemented Interfaces: Annotation Specifies that a unique constraint is to be included in the generated DDL for a primary or secondary table . Example: {@snippet : Since: JPA 1.0 Public Annotation Attributes String[] columnNames default null (Required) The names | |
AnnotationAttrRef jakarta.persistence.JoinColumn.unique JPA Annotation Attribute in jakarta.persistence.JoinColumn boolean unique default false (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 | |
AnnotationAttrRef jakarta.persistence.JoinColumn.foreignKey JPA Annotation Attribute in jakarta.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, a default foreign key | |
AnnotationRef jakarta.persistence.JoinColumns the generation of a foreign key constraint when table generation is in effect. If both this element | |
PersistenceProvider.generateSchema(info,map) - JPA Method JPA Method in jakarta.persistence.spi.PersistenceProvider void generateSchema ( PersistenceUnitInfo info, Map map ) Create database schemas and/or tables and/or create DDL scripts as determined by the supplied properties. Called by the container |