ObjectDB ObjectDB

Internal Website Search

11-20 of 26 resultsRefresh
29

Primary key generation problem after changing entity package

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

Join performance in Objectdb

;             this.cId = c.id;         }     }         @Entity     @SequenceGenerator(name="seqB ... .SEQUENCE, generator="seqB")         long id;     }         @Entity     @SequenceGenerator(name="seqC
16

Date field Index is corrupted due to time change

.persistence.SequenceGenerator; import javax.persistence.Temporal; import javax.persistence ... ")     @SequenceGenerator(         name="DateTime_sequence",         sequenceName="DateTime_sequence
16

openejb jpa jaas module

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

Wrong data stored in time only fields

; import javax.persistence.SequenceGenerator; import javax.persistence.Temporal; import javax ... Date(dateTimeMs);     }     @Entity(name="DateTime")     @SequenceGenerator(         name
16

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

(name="RecordingMetaData") @SequenceGenerator(     name="RecordingMetaData_sequence ... : @Entity(name="RecordingMetaData") @SequenceGenerator(     name="RecordingMetaData_sequence
16

@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
11

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
11

Intermittent: "Attempt to reuse an existing primary key value" when persisting a new instance

")     @SequenceGenerator(name="user_pwd_seq", initialValue=1,allocationSize=1) I realise that due to the lack
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

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support