ObjectDB ObjectDB

Internal Website Search

11-20 of 21 resultsRefresh
81

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
25

Auto Generated Values

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

Database Inconsistency or corruption

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

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

with @TableGenerator/strategy = GenerationType.TABLE (www.objectdb.com/ticket/1823) You had attempted ... a TableGenerator. That problem was demonstrated by the provided test case, fixed in build 2.6.6_08
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
12

Possible issue with timestamps

();     }     @Entity     @TableGenerator(name="IdTableGen", initialValue=1, allocationSize=50
12

Failing to read entities under load in multithreaded tests

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

Criteria query error: Unexpected query token

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

@SequenceGenerator and single id in whole database

classes: By using multiple @SequenceGenerator and/or @TableGenerator definitions (with different name
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

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support