Home » Search

About TableGenerator

11-20 of 22Refresh
JPA Doc
77

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
JPA Doc
77

TableGenerator.valueColumnName

Annotation Element javax.persistence.TableGenerator String valueColumnName (Optional) Name of the column that stores the last value generated. Defaults to a provider-chosen name. Default value: "" Since: JPA 1.0
JPA Doc
64

JPA Annotations for Value Generation

Reference (JavaDoc) of JPA 2 value generation annotations, including @GeneratedValue, @SequenceGenerator and @TableGenerator.
JPA Doc
13

javax.persistence.GeneratedValue

; Since: JPA 1.0 See Also: Id TableGenerator SequenceGenerator Learn how to define and use automatic ... of the primary key generator to use as specified in the SequenceGenerator or TableGenerator annotation ... TableGenerator annotation. Defaults to the id generator supplied by persistence provider. Default value
JPA Doc
7

GeneratedValue.generator

Annotation Element javax.persistence.GeneratedValue String generator (Optional) The name of the primary key generator to use as specified in the SequenceGenerator or TableGenerator annotation. Defaults to the id generator supplied by persistence provider. Default value: "" Since: JPA 1.0
Forum
4

Database Inconsistency or corruption

.GenerationType.TABLE, generator = "objectValueGen")   @javax.persistence.TableGenerator(name = "objectValueGen ... .persistence.TableGenerator(name="attributeGen", table="IdValues", schema="dex_01", pkColumnName="idName ... .persistence.GenerationType.TABLE, generator = "valueGen")   @javax.persistence.TableGenerator(name
Forum
3

Possible cause for "Enhancement of type ... is old and cannot be used"

on @OneToMany with @TableGenerator/strategy = GenerationType.TABLE You had attempted to fix it in ... "Attempt to modify a primary key of a managed object" when using a TableGenerator. That problem
Result
2

ObjectDB version 2.6.7

. Fixed a bug in using @TableGenerator / GenerationType.TABLE. Fixed handling classes
Forum
2

@SequenceGenerator and single id in whole database

@SequenceGenerator and/or @TableGenerator definitions (with different name values), and attaching
Forum
2

Criteria query error: Unexpected query token

(strategy = GenerationType.TABLE, generator = "sequences") // @TableGenerator(name = "sequences