ObjectDB ObjectDB

Internal Website Search

1-10 of 118 resultsRefresh
96

Auto Generated Values

hierarchy. The Sequence Strategy The sequence strategy consists of two parts - defining a named sequence and using the named sequence in one or more fields in one or more classes. The @SequenceGenerator annotation is used to define a sequence and accepts a name, an initial value (the default is 1
8

javax.jdo.datastore.Sequence

javax.jdo.datastore Interface Sequence Implementations of this interface can be used to obtain sequences. The behavior with regard to the transaction and rollover behavior are defined in the metadata ... that the application will need additional sequence value objects in short order. Provides a hint
7

javax.jdo.annotations.Sequence

javax.jdo.annotations Annotation Sequence Target: Classes Annotation for a datastore sequence. Maps across to the JDO2 element "sequence". Since: JDO 2.1 String datastoreSequence Name of the sequence in the datastore. Name of the sequence in the datastore. Returns: the name of the datastore
7

DatastoreIdentity.sequence

Annotation Element javax.jdo.annotations.DatastoreIdentity String sequence Name of sequence to use when the strategy involves sequences Returns: Name of sequence to use when the strategy involves sequences Default value: "" Since: JDO 2.1
7

current()

Method javax.jdo.datastore.Sequence Object current() Returns the current sequence value object if it is available. It is intended to return a sequence value object previously used. If the current sequence value is not available, throw JDODataStoreException. Returns: the current value Since: JDO 2.0
7

Sequence.strategy

Annotation Element javax.jdo.annotations.Sequence SequenceStrategy strategy Strategy for the sequence. Returns: the strategy for the sequence Since: JDO 2.1
7

Sequence.name

Annotation Element javax.jdo.annotations.Sequence String name The symbolic name of the datastore sequence. Returns: the name of the sequence Since: JDO 2.1
7

Sequence.factoryClass

Annotation Element javax.jdo.annotations.Sequence Class factoryClass Name of a factory class for generating the sequence values. Returns: the name of the factory class for the sequence Default value: void.class Since: JDO 2.1
7

nextValue()

Method javax.jdo.datastore.Sequence long nextValue() Returns the next sequence value as a long. If the next sequence value is not available or is not numeric, throw JDODataStoreException. Returns: the next value Since: JDO 2.0
7

Sequence.datastoreSequence

Annotation Element javax.jdo.annotations.Sequence String datastoreSequence Name of the sequence in the datastore. Returns: the name of the datastore sequence Default value: "" Since: JDO 2.1

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