ObjectDB Database Search
1-25 of 25 resultsAnnotationRef jakarta.persistence.TableGenerators JPA Annotation TableGenerators Target: TYPE, METHOD, FIELD, PACKAGE Implemented Interfaces: Annotation Used to group TableGenerator annotations. See Also: TableGenerator Since: JPA 2.2 Public Annotation Attributes TableGenerator [] value default null Since: JPA 2.2 | |
AnnotationRef jakarta.persistence.TableGenerator JPA Annotation TableGenerator Target: TYPE, METHOD, FIELD, PACKAGE Implemented Interfaces ... the members of the package TableGenerator annotation. Example 1: {@snippet : See Also: GeneratedValue Since: JPA 1.0 The Auto Generated Values article explains how to use TableGenerator . Public | |
AnnotationAttrRef jakarta.persistence.TableGenerators.value JPA Annotation Attribute in jakarta.persistence. TableGenerators TableGenerator [] value default null Since: JPA 2.2 | |
AnnotationAttrRef jakarta.persistence.TableGenerator.name JPA Annotation Attribute in jakarta.persistence. TableGenerator String name default "" (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 attribute. Since: JPA 1.0 | |
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 | |
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.TableGenerator.table JPA Annotation Attribute in jakarta.persistence. TableGenerator String table default "" (Optional) Name of the table that stores the generated id values. Defaults to a name chosen by persistence provider. Since: JPA 1.0 | |
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.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.allocationSize JPA Annotation Attribute in jakarta.persistence. TableGenerator int allocationSize default 50 (Optional) The amount to increment by when allocating id numbers from the generator. Since: JPA 1.0 | |
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.TableGenerator.initialValue JPA Annotation Attribute in jakarta.persistence. TableGenerator int initialValue default 0 (Optional) The initial value to be used to initialize the column that stores the last value generated. Since: JPA 1.0 | |
AnnotationAttrRef jakarta.persistence.TableGenerator.valueColumnName JPA Annotation Attribute in jakarta.persistence. TableGenerator String valueColumnName default "" (Optional) Name of the column that stores the last value generated. Defaults to a provider-chosen name. Since: JPA 1.0 | |
AnnotationAttrRef jakarta.persistence.TableGenerator.pkColumnValue JPA Annotation Attribute in jakarta.persistence. TableGenerator String pkColumnValue default "" (Optional) The primary key value in the generator table that distinguishes this set of generated values from others that may be stored in the table. Defaults to a provider-chosen value to store in | |
Auto Generated Values The TABLE strategy is very similar to the SEQUENCE strategy: @Entity @ TableGenerator ( name ="tab | |
Database Inconsistency or corruption. TableGenerator (name = "objectValueGen", table = "IdValues", schema = "dex_01", pkColumnName = "idName ... ="attributeGen") @javax.persistence. TableGenerator (name="attributeGen", table="IdValues", schema="dex ... = "valueGen") @javax.persistence. TableGenerator (name = "valueGen", table = "IdValues", schema = "dex | |
AnnotationRef jakarta.persistence.GeneratedValue : See Also: GenerationType Id TableGenerator SequenceGenerator Since: JPA 1.0 The Auto Generated ... or TableGenerator annotation which declares the generator. The name defaults to the entity name | |
Possible cause for "Enhancement of type ... is old and cannot be used": FAILS on @OneToMany with @ TableGenerator /strategy = GenerationType.TABLE (www.objectdb.com ... object" when using a TableGenerator . That problem was demonstrated by the provided test case, fixed | |
AnnotationRef jakarta.persistence.Index automatically. See Also: Table SecondaryTable CollectionTable JoinTable TableGenerator Since: JPA 2 | |
AnnotationAttrRef jakarta.persistence.GeneratedValue.generator JPA Annotation Attribute in jakarta.persistence.GeneratedValue String generator default "" (Optional) The name of the primary key generator to use, as specified by the SequenceGenerator or TableGenerator annotation which declares the generator. The name defaults to the entity name of the entity in | |
Failing to read entities under load in multithreaded tests) @ TableGenerator (name="TestIdTableGen", initialValue=0, allocationSize=50) public class | |
Criteria query error: Unexpected query token(strategy = GenerationType.TABLE, generator = "sequences") // @ TableGenerator (name = "sequences | |
@SequenceGenerator and single id in whole database classes: By using multiple @SequenceGenerator and/or @ TableGenerator definitions (with different name | |
ObjectDB 2.6.7 a bug in using @ TableGenerator / GenerationType.TABLE. Fixed handling classes with no persistent fields |