About sequence

manual

Auto Generated Values

Explains the different strategies for generating auto values (mainly for primary key fields) in JPA.... The Identity Strategy The Sequence Strategy The Table Strategy The ... values are unique only per type hierarchy. The Sequence Strategy The sequence strategy consists of two parts - ...

 
api-jdo

javax.jdo.datastore.Sequence

Implementations of this interface can be used to obtain sequences.(Interface of JDO)

 
forum_thread

Is there a function of "drop table" or "delete from table"?

Besides the em.remove() one by one, is there a function of "drop table" or "delete from table"? TIA ... following non portable code, however, resets the global sequence IDs: javax. jdo . datastore . Sequence sequence = em. unwrap ( javax. jdo . ...

 
api-jpa

GenerationType.SEQUENCE

Indicates that the persistence provider must assign primary keys for the entity using a database sequence.(Enum Constant of javax.persistence.GenerationType)

 
forum_thread

Time Sequence Object Command DB

We (www.s2ssystems.com) have a time-sequential object command database.  I would like to see if it can be built and run efficiently on ObjectDB.   The requirements that drive the design of this database are: ... solution is to write the transactions to the database in sequence.  This is very efficient in that database writes are always ... must, however, be executed in their time-ordered sequence.  Object schemas are stored in the database and updated schemas ...

 
api-jdo

javax.jdo.annotations.Sequence

Annotation for a datastore sequence.(Annotation of JDO)

 
api-jdo

DatastoreIdentity.sequence

Name of sequence to use when the strategy involves sequences(Annotation Element of javax.jdo.annotations.DatastoreIdentity)

 
forum_thread

Possible issue for default id generator

First all, congratulations to Objectdb team for the excellent work. Possible issue for default id generator when strategy is sequence. Error: Incomplete definition of auto value in field MyTestCase$MyEntity.idgenerator name is missing (error 342) Please see attached file MyTestCase.java lines 35 and 36. I am not an expert but in my opinion there is no default generator but the element generator is optional. Thanks. ... Possible issue for default id generator when strategy is sequence. Error: Incomplete definition of auto value in field ... ( strategy = GenerationType . SEQUENCE ) //, generator="seq") @ Id @ ...

 
api-jdo

Persistent.sequence

Name of the sequence to use with particular value strategies.(Annotation Element of javax.jdo.annotations.Persistent)

 
api-jpa

SequenceGenerator.allocationSize

(Optional) The amount to increment by when allocating sequence numbers from the sequence.(Annotation Element of javax.persistence.SequenceGenerator)