ObjectDB ObjectDB

Internal Website Search

11-20 of 22 resultsRefresh
77

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
55

Auto Generated Values

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

JPA Annotations for Value Generation

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

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
17

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
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
12

Possible issue with timestamps

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

@SequenceGenerator and single id in whole database

classes: By using multiple @SequenceGenerator and/or @TableGenerator definitions (with different name
12

Failing to read entities under load in multithreaded tests

. Test entities: @Entity @Inheritance(strategy=InheritanceType.TABLE_PER_CLASS) @TableGenerator(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