ObjectDB Database Search
1-29 of 29 resultsjakarta.persistence.SequenceGenerators Jakarta Persistence (JPA) Annotation Type jakarta.persistence. SequenceGenerators Implemented Interfaces: Annotation Target: Type, Method, Field, Package Used to group SequenceGenerator annotations. See Also: SequenceGenerator Since: Jakarta Persistence (JPA) 2.2 Public Static Fields No JavaDoc | |
jakarta.persistence.SequenceGenerator Jakarta Persistence (JPA) Annotation Type jakarta.persistence. SequenceGenerator Implemented ... SequenceGenerator annotation. Example: @ SequenceGenerator (name = "EMP_SEQ", allocationSize = 25) Since: Jakarta Persistence (JPA) 1.0 The Auto Generated Values article explains how to use SequenceGenerator | |
jakarta.persistence.SequenceGenerators.value Jakarta Persistence (JPA) Method in jakarta.persistence. SequenceGenerators SequenceGenerator [] value Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.SequenceGenerators.classNo JavaDoc Info for jakarta.persistence. SequenceGenerators /class | |
jakarta.persistence.SequenceGenerator.name Jakarta Persistence (JPA) Method in jakarta.persistence. SequenceGenerator String name (Optional) A unique generator name that can be referenced by one or more classes to be the generator for primary key values. Defaults to the name of the entity when the annotation occurs on an entity class or | |
jakarta.persistence.SequenceGenerator.sequenceName Jakarta Persistence (JPA) Method in jakarta.persistence. SequenceGenerator String sequenceName (Optional) The name of the database sequence object from which to obtain primary key values. Defaults to a provider-chosen value. Default: "" Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.SequenceGenerator.catalog Jakarta Persistence (JPA) Method in jakarta.persistence. SequenceGenerator String catalog (Optional) The catalog of the sequence generator. Default: "" Since: Jakarta Persistence (JPA) 2.0 | |
jakarta.persistence.SequenceGenerator.schema Jakarta Persistence (JPA) Method in jakarta.persistence. SequenceGenerator String schema (Optional) The schema of the sequence generator. Default: "" Since: Jakarta Persistence (JPA) 2.0 | |
jakarta.persistence.SequenceGenerator.initialValue Jakarta Persistence (JPA) Method in jakarta.persistence. SequenceGenerator int initialValue (Optional) The value from which the sequence object is to start generating. Default: 1 Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.SequenceGenerator.allocationSize Jakarta Persistence (JPA) Method in jakarta.persistence. SequenceGenerator int allocationSize (Optional) The amount to increment by when allocating sequence numbers from the sequence. Default: 50 Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.SequenceGenerator.options Jakarta Persistence (JPA) Method in jakarta.persistence. SequenceGenerator String options (Optional) A SQL fragment appended to the generated DDL statement which creates this sequence. Default: "" Since: Jakarta Persistence (JPA) 3.2 | |
Auto Generated Values in one or more fields in one or more classes. The @ SequenceGenerator annotation is used to define ... another class: @ SequenceGenerator ( name ="seq", initialValue =1, allocationSize =100) public class ... strategy initialValue=0 has to be specified in the @ SequenceGenerator annotation. | |
@SequenceGenerator and single id in whole database Hi, I have a question about @ SequenceGenerator . I have separate @ SequenceGenerator in each ... classes: By using multiple @ SequenceGenerator and/or @TableGenerator definitions (with different name ... the part about strategy type. Each of my model class got following annotations: @ SequenceGenerator | |
jakarta.persistence.GeneratedValue TableGenerator SequenceGenerator Since: Jakarta Persistence (JPA) 1.0 The Auto Generated Values ... ) The name of the primary key generator to use, as specified by the SequenceGenerator or TableGenerator | |
Primary key generation problem after changing entity package @ SequenceGenerator (name = "SEQ_BOARD", allocationSize = 5, initialValue = 1) @GeneratedValue(generator = "SEQ ... 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 initialValue | |
jakarta.persistence.GeneratedValue.generator Jakarta Persistence (JPA) Method in jakarta.persistence.GeneratedValue String generator (Optional) The name of the primary key generator to use, as specified by the SequenceGenerator or TableGenerator annotation which declares the generator. The name defaults to the entity name of the entity in | |
Date field Index is corrupted due to time change.Query; import javax.persistence. SequenceGenerator ; import javax.persistence.Temporal; import javax ... ; @ SequenceGenerator ( name="DateTime_sequence | |
openejb jpa jaas module. */ @Cacheable @Entity @ SequenceGenerator ( name = "gen", initialValue = 10000, allocationSize = 50 ... | Settings | File Templates. */ @Cacheable @Entity @ SequenceGenerator (name="seq", initialValue=10000 | |
Wrong data stored in time only fields.Persistence; import javax.persistence.Query; import javax.persistence. SequenceGenerator ; import javax ... ; @ SequenceGenerator ( name="DateTime_sequence",   | |
com.objectdb.o.NLV cannot be cast to com.objectdb.o.CMV more The relevant code from RecordingMetaData: @Entity(name="RecordingMetaData") @ SequenceGenerator (   ... : @Entity(name="RecordingMetaData") @ SequenceGenerator ( name="RecordingMetaData | |
@OneToMany(fetch = FetchType.LAZY) list is always null setParents(List parents) { this.parents = parents; } } Entities: @Entity @ SequenceGenerator (name ... = children; } } @Entity @ SequenceGenerator (name = "b", allocationSize = 1) public class Child { @Id | |
Immediately retrieve unique id The beginning of my "Sample" class looks like: @Entity @ SequenceGenerator (name = "sampleSeqGenerator", initialValue = 1, allocationSize = 100) public class Sample implements Serializable { private static final long serialVersionUID = 1L; private String sampleName; @GeneratedValue(strategy | |
Intermittent: "Attempt to reuse an existing primary key value" when persisting a new instance=GenerationType.SEQUENCE, generator="user_pwd_seq") @ SequenceGenerator (name="user_pwd | |
Missing (null) elements in eager loaded references there is a problem with my data structure? Super classes: @MappedSuperclass @ SequenceGenerator (name | |
First query takes 4+ minutes to complete (related to the query that we run). @Entity(name="RecordingMetaData") @ SequenceGenerator ( name | |
Possible issue for default id generator and 36: @GeneratedValue(strategy=GenerationType.SEQUENCE)//, generator="seq") @Id @ SequenceGenerator | |
Trouble bug on explorer") }) @ SequenceGenerator (name="seq", initialValue=10000) @Entity public class User implements Serializable { @Id | |
Lazy loading does not work - crud takes long @Table(name = "PROJECT") @ SequenceGenerator (name = "PROJECT_SEQUENCE", sequenceName = "PROJECT | |
Null enums and IS (NOT) NULL: NullPointerException(Thread.java:744) ]] #{e.id} Entity: @Entity @ SequenceGenerator (name = "asd", allocationSize = 1) public |