Home » Search

About sequence

1-10 of 112Refresh
Manual
127

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
JDO Doc
76

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
JDO Doc
74

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
JDO Doc
66

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
JDO Doc
65

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
JDO Doc
63

allocate(additional)

Method javax.jdo.datastore.Sequence void allocate(   int additional ) Provides a hint to the implementation that the application will need additional sequence value objects in short order ... of the algorithm of obtaining additional sequence value objects. Parameters: additional - the number of additional values to allocate Since: JDO 2.0
JDO Doc
63

currentValue()

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

getName()

Method javax.jdo.datastore.Sequence String getName() Returns the fully qualified name of the Sequence. Returns: the name of the sequence Since: JDO 2.0
JDO Doc
63

next()

Method javax.jdo.datastore.Sequence Object next() Returns the next sequence value as an Object. If the next sequence value is not available, throw JDODataStoreException. Returns: the next value Since: JDO 2.0
JDO Doc
63

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