Home » Search

About Group Id

51-60 of 200Refresh
Forum
7

IDs of Entities suddenly became UUIDs?

do have a UUID String as their id instead of Long which is of course causing a lot of troubles. Note that this even occurrs on the same "Table" -- some saved Entitities of same type do still have a Long ID ... : @Id @GeneratedId private Long myId; This has always been working, however, suddenly partial
Forum
6

Conflicting modifiers .... (javax.persistence.Id, javax.persistence.ManyToOne)

modifiers for field uk.co.his.experiment8.cmdline.objdb.CompoundKeyMapItem.container (javax.persistence.Id ... .CompoundKeyMapItem.container (javax.persistence.Id, javax.persistence.ManyToOne) at com.objectdb.o.MSG.d(MSG ... ; import javax.persistence.FlushModeType; import javax.persistence.Id; import javax.persistence
Issue
6

When using inheritance, you can specify, which ID to use

When storing objects with inheritance, it should be possible to choose, which ID (parent or child class) should be used for new object. For example: public EntityA() {     @Id     long id;     String field1; }   public EntityB() extends EntityA() {     @Id     long id;     String field2
Forum
6

Wrong @Id type

Hi,  I have noticed some values of id column suddenly switched to int, although it is declared as ... ? Try the last ObjectDB version, which should fix this issue/ To repair IDs that have already changed ... before the fix, with an UPDATE queries that change the IDs to the correct type). We are using ObjectDB
Forum
6

Change Sequcene Id

could I change sequcence id ? allocating small value may not be effect. or something other ways ... MyEntity is defined with JPA @Entity public class MyEntity {     @Id     @GeneratedValue(strategy=GenerationType.IDENTITY)     private Long id; }   You cannot set the next id of an existing
Forum
6

multi thread application, id field sporadically null

with the field that is declared as @Id having the value null (what is not correct, we checked ... Serializable { private static final long serialVersionUID = 1L; @Id public String nodePath ... you create, persist and retrieve the objects. Except the id field, are other fields initialized correctly
Forum
6

Populating entity id before transaction commit

Hi, I have a question about populating auto generated id before transaction commit. We are using ... transaction is committed so all returned entities are not populated with ID in this context. How can I force ODB to populate entity ID before transaction is committed? Or maybe there is another way
Issue
6

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

to set numeric value of field property com.greensoft.objectdb.test.entity.Element.id using reflection ... of field property com.greensoft.objectdb.test.entity.Element.id using reflection (error 613 ... .test.entity.Element.id using reflection at com.objectdb.o._PersistenceException.b
Forum
6

Immediately retrieve unique id

; @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "sampleSeqGenerator") @Id long id;   The id field is as expected when I browse the database: 1,2,3,4 etc. I would like the field sampleName to be: SPL1, SPL2, SPL3 etc. that makes use of the id. How do I capture that id without roundtripping
Manual
6

CRUD Database Operations with JPA

(using an ORDER BY clause) and even group results (using GROUP BY and HAVING clauses). JPQL