Home » Search

About SequenceGenerator

11-20 of 25Refresh
JPA Doc
12

javax.persistence.GeneratedValue

; Since: JPA 1.0 See Also: Id TableGenerator SequenceGenerator Learn how to define and use automatic ... of the primary key generator to use as specified in the SequenceGenerator or TableGenerator annotation. (Optional) The name of the primary key generator to use as specified in the SequenceGenerator or
JPA Doc
7

GeneratedValue.generator

Annotation Element javax.persistence.GeneratedValue String generator (Optional) The name of the primary key generator to use as specified in the SequenceGenerator or TableGenerator annotation. Defaults to the id generator supplied by persistence provider. Default value: "" Since: JPA 1.0
Forum
5

Primary key generation problem after changing entity package

as shown below : @Id @SequenceGenerator(name = "SEQ_BOARD", allocationSize = 5, initialValue = 1 ... initialValue parameter of existing SequenceGenerator - no changes are made. Changing sequenceName don't help. Only when I change SequenceGenerator name new instances are persisted with correct
Forum
3

@OneToMany(fetch = FetchType.LAZY) list is always null

; } } Entities: @Entity @SequenceGenerator(name = "b", allocationSize = 1) public class ... ; } } @Entity @SequenceGenerator(name = "b", allocationSize = 1) public class Child
Forum
3

com.objectdb.o.NLV cannot be cast to com.objectdb.o.CMV

(name="RecordingMetaData") @SequenceGenerator(     name="RecordingMetaData_sequence ... indices: @Entity(name="RecordingMetaData") @SequenceGenerator(     name="RecordingMetaData
Forum
3

Date field Index is corrupted due to time change

.Persistence; import javax.persistence.Query; import javax.persistence.SequenceGenerator; import javax ... );     }     @Entity(name="DateTime")     @SequenceGenerator(         name="DateTime_sequence
Forum
3

Join performance in Objectdb

;         }     }         @Entity     @SequenceGenerator(name="seqB", allocationSize=1000)     public static ... ")         long id;     }         @Entity     @SequenceGenerator(name="seqC", allocationSize=1000)     public
Forum
3

openejb jpa jaas module

@SequenceGenerator( name = "gen", initialValue = 10000, allocationSize = 50 ... . */ @Cacheable @Entity @SequenceGenerator(name="seq", initialValue=10000) @NamedQueries
Forum
3

Wrong data stored in time only fields

.Persistence; import javax.persistence.Query; import javax.persistence.SequenceGenerator; import javax ... ")     @SequenceGenerator(         name="DateTime_sequence",         sequenceName="DateTime_sequence
Forum
2

First query takes 4+ minutes to complete

to the query that we run). @Entity(name="RecordingMetaData") @SequenceGenerator( name