Home » Search

About sequence

11-20 of 111Refresh
JDO Doc
68

Persistent.sequence

Annotation Element javax.jdo.annotations.Persistent String sequence Name of the sequence to use with particular value strategies. Returns: the name of the sequence Default value: "" Since: JDO 2.1
JDO Doc
68

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
68

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
68

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
68

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
66

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
66

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
64

IdGeneratorStrategy.SEQUENCE

Enum Constant javax.jdo.annotations.IdGeneratorStrategy SEQUENCE Since: JDO 2.1
Forum
25

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
23

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