About TableGenerator

1-10 of 21Refresh
JPA Doc
74

javax.persistence.TableGenerator

javax.persistence Annotation TableGenerator Target: Classes and fields (including property ... { ... @TableGenerator( name="empGen", table="ID_GEN ... { ... @TableGenerator( name="addressGen", table="ID_GEN
JPA Doc
69

TableGenerator.allocationSize

Annotation Element javax.persistence.TableGenerator int allocationSize (Optional) The amount to increment by when allocating id numbers from the generator. Default value: 50 Since: JPA 1.0
JPA Doc
69

TableGenerator.catalog

Annotation Element javax.persistence.TableGenerator String catalog (Optional) The catalog of the table. Defaults to the default catalog. Default value: "" Since: JPA 1.0
JPA Doc
69

TableGenerator.initialValue

Annotation Element javax.persistence.TableGenerator int initialValue (Optional) The initial value to be used to initialize the column that stores the last value generated. Default value: 0 Since: JPA 1.0
JPA Doc
69

TableGenerator.name

Annotation Element javax.persistence.TableGenerator String name (Required) A unique generator name that can be referenced by one or more classes to be the generator for id values. Since: JPA 1.0
JPA Doc
69

TableGenerator.pkColumnName

Annotation Element javax.persistence.TableGenerator String pkColumnName (Optional) Name of the primary key column in the table. Defaults to a provider-chosen name. Default value: "" Since: JPA 1.0
JPA Doc
69

TableGenerator.pkColumnValue

Annotation Element javax.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 the primary key column of the generator table Default value: "" Since: JPA 1.0
JPA Doc
69

TableGenerator.schema

Annotation Element javax.persistence.TableGenerator String schema (Optional) The schema of the table. Defaults to the default schema for user. Default value: "" Since: JPA 1.0
JPA Doc
69

TableGenerator.table

Annotation Element javax.persistence.TableGenerator String table (Optional) Name of table that stores the generated id values. Defaults to a name chosen by persistence provider. Default value: "" Since: JPA 1.0
JPA Doc
69

TableGenerator.uniqueConstraints

Annotation Element javax.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. Defaults to no additional constraints. Default value: {} Since: JPA 1.0