About TableGenerator

11-20 of 21Refresh
JPA Doc
70

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
Manual
23

Auto Generated Values

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

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
6

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 (www.objectdb.com/ticket/1823 ... a TableGenerator. That problem was demonstrated by the provided test case, fixed in build 2.6.6_08
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
Forum
2

Failing to read entities under load in multithreaded tests

. Test entities: @Entity @Inheritance(strategy=InheritanceType.TABLE_PER_CLASS) @TableGenerator(name