Home » Search

About TableGenerator

1-10 of 22Refresh
Manual
82

Auto Generated Values

: @Entity @TableGenerator(name="tab", initialValue=0, allocationSize=50) public class
JPA Doc
76

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
71

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
71

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
71

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
71

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
71

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
71

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
71

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
71

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