ObjectDB Database Search
1-26 of 26 resultsjakarta.persistence.TableGenerators Jakarta Persistence (JPA) Annotation Type jakarta.persistence. TableGenerators Implemented Interfaces: Annotation Target: Type, Method, Field, Package Used to group TableGenerator annotations. See Also: TableGenerator Since: Jakarta Persistence (JPA) 2.2 Public Static Fields No JavaDoc Info | |
jakarta.persistence.TableGenerator Jakarta Persistence (JPA) Annotation Type jakarta.persistence. TableGenerator Implemented ... generator name, and its other properties are determined by the members of the package TableGenerator annotation. Example 1: @Entity public class Employee { ... @ TableGenerator ( name = "empGen", table | |
jakarta.persistence.TableGenerators.value Jakarta Persistence (JPA) Method in jakarta.persistence. TableGenerators TableGenerator [] value Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.TableGenerator.valueColumnName Jakarta Persistence (JPA) Method in jakarta.persistence. TableGenerator String valueColumnName (Optional) Name of the column that stores the last value generated. Defaults to a provider-chosen name. Default: "" Since: Jakarta Persistence (JPA) 1.0 | |
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 from others that may be stored in the table. Defaults to a provider-chosen value to store in | |
jakarta.persistence.TableGenerator.initialValue Jakarta Persistence (JPA) Method in jakarta.persistence. TableGenerator int initialValue (Optional) The initial value to be used to initialize the column that stores the last value generated. Default: 0 Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.TableGenerator.allocationSize Jakarta Persistence (JPA) Method in jakarta.persistence. TableGenerator int allocationSize (Optional) The amount to increment by when allocating id numbers from the generator. Default: 50 Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.TableGenerator.table Jakarta Persistence (JPA) Method in jakarta.persistence. TableGenerator String table (Optional) Name of the table that stores the generated id values. Defaults to a name chosen by persistence provider. Default: "" Since: Jakarta Persistence (JPA) 1.0 | |
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.uniqueConstraints Jakarta Persistence (JPA) Method in jakarta.persistence. TableGenerator UniqueConstraint[] uniqueConstraints (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 | |
jakarta.persistence.TableGenerator.indexes Jakarta Persistence (JPA) Method in jakarta.persistence. TableGenerator Index[] indexes (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. Default: {} Since: Jakarta Persistence (JPA) 2.1 | |
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.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.TableGenerators.classNo JavaDoc Info for jakarta.persistence. TableGenerators /class | |
Auto Generated Values The TABLE strategy is very similar to the SEQUENCE strategy: @Entity @ TableGenerator ( name ="tab | |
jakarta.persistence.GeneratedValue TableGenerator SequenceGenerator Since: Jakarta Persistence (JPA) 1.0 The Auto Generated Values ... ) The name of the primary key generator to use, as specified by the SequenceGenerator or TableGenerator | |
jakarta.persistence.Index CollectionTable JoinTable TableGenerator Since: Jakarta Persistence (JPA) 2.1 Annotation Elements String | |
jakarta.persistence.GeneratedValue.generator Jakarta Persistence (JPA) Method in jakarta.persistence.GeneratedValue String generator (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 | |
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 | |
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 | |
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 |