About sequence

61-70 of 114Refresh
JPA Doc
6

javax.persistence.TransactionRequiredException

in the sequence. Typically, this is the point at which this throwable was created and thrown ... , which is the first method invocation in the sequence. Some virtual machines may, under some
JPA Doc
6

SequenceGenerator.allocationSize

Annotation Element javax.persistence.SequenceGenerator int allocationSize (Optional) The amount to increment by when allocating sequence numbers from the sequence. Default value: 50 Since: JPA 1.0
Forum
4

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

generated ID sequences is not supported by JPA and JDO. The following non portable code, however, resets the global sequence IDs:     javax.jdo.datastore.Sequence sequence =         em.unwrap(javax.jdo.PersistenceManager.class).getSequence("$auto");     sequence.allocate((int)-sequence.currentValue
JDO Doc
4

javax.jdo.annotations.IdGeneratorStrategy

IdGeneratorStrategy NATIVE Since: JDO 2.1 IdGeneratorStrategy SEQUENCE Since: JDO 2.1 IdGeneratorStrategy
JDO Doc
4

javax.jdo.annotations.SequenceStrategy

javax.jdo.annotations Enum SequenceStrategy java.lang.Object java.lang.Enum javax.jdo.annotations.SequenceStrategy Implemented Interfaces: Serializable, Comparable Enumeration of the sequence strategy values. Since: JDO 2.1
JPA Doc
4

javax.persistence.GeneratedValue

primary keys. Example 1: @Id @GeneratedValue(strategy=SEQUENCE, generator="CUST_SEQ
JPA Doc
4

orderBy(o)

removed, and results will be returned in no particular order. The left-to-right sequence
Forum
4

Primary key generation problem after changing entity package

. Unfortunately, sequences have been probably lost for changed entity classes. After schema change I ... ) @GeneratedValue(generator = "SEQ_BOARD", strategy = GenerationType.SEQUENCE) Also, when I modify ... )         @GeneratedValue(generator = "SEQ_BOARD", strategy = GenerationType.SEQUENCE)         Long id
JPA Doc
4

SequenceGenerator.catalog

Annotation Element javax.persistence.SequenceGenerator String catalog (Optional) The catalog of the sequence generator. Default value: "" Since: JPA 2.0
JPA Doc
4

SequenceGenerator.initialValue

Annotation Element javax.persistence.SequenceGenerator int initialValue (Optional) The value from which the sequence object is to start generating. Default value: 1 Since: JPA 1.0