About sequence

11-20 of 114Refresh
JDO Doc
63

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

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

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

Sequence.strategy

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

GenerationType.SEQUENCE

Enum Constant javax.persistence.GenerationType SEQUENCE Indicates that the persistence provider must assign primary keys for the entity using a database sequence. Since: JPA 1.0
JDO Doc
62

Sequence.extensions

Annotation Element javax.jdo.annotations.Sequence Extension[] extensions Vendor extensions for this sequence. Returns: vendor extensions Default value: {} Since: JDO 2.1
JDO Doc
60

IdGeneratorStrategy.SEQUENCE

Enum Constant javax.jdo.annotations.IdGeneratorStrategy SEQUENCE Since: JDO 2.1
Manual
60

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

JDO sequences from ORM file

I want to use sequences in JDO without using annotations. Normally this is done with a package-X ... .spiffymap.model">         <sequence name="UserSequence" strategy="TABLE"/>       sequence was valid in a package
Forum
22

Use of sequences to generate field values in JDO

I'm trying to use sequences to set field values in JDO.  I want to do this in XML metadata to avoid ... .model"> <sequence name="audit_seq" factory-class="java.lang.Long" strategy="contiguous ... ="true" value-strategy="sequence" sequence="audit_seq"/> When the code is run I get the message