About sequence

91-100 of 117Refresh
Forum
1

Join performance in Objectdb

class B {         @Id @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="seqB ... static class C {         @Id @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="seqC
Forum
1

Populating entity id before transaction commit

to finding ID of entity before commit? You can use a SEQUENCE (or TABLE) value generation strategy ... now, so I have to change our strategy to sequence or table or I will try to force setting id. Thanks. lwalkowski
Forum
1

Immediately retrieve unique id

; @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "sampleSeqGenerator") @Id long id ... would have to somehow resave. To obtain an automatic id on persist before commit use sequence or table strategy. mbcladwell
Result
1

ObjectDB version 2.0.0

of large object graphs. Fixed a synchronization bug in sequence value generation. Fixed some issues in
Forum
1

@SequenceGenerator and single id in whole database

Hi, I have a question about @SequenceGenerator. I have separate @SequenceGenerator in each of my model enitities, but it looks like id's are generated using only one, shared generator. Is there any other way to use separate generators for each entity, so that each entity uses its own sequence just
Forum
1

composite index not used in query

less useful, unless startDate is last. the sequence of the index members is the key, thanks hgzwicker
Forum
1

DB Doctor sets type to "unknown" for new fields

sequence of updates works fine: UPDATE RecordingMetaData AS r SET r.doNotDelete=null UPDATE
Forum
1

em.flush(); em.clear(); loosing data and not persisting managed objects

is. This is just a sequence number) 3 - A Date object (I'm using its .toString() representation
Forum
1

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

for the id:   @Id     @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="user_pwd_seq
Issue
1

Internal exception on flush

) through objectdb doctor showed broken references. I'm not sure of the exact sequence that has caused