About Id

release

2.0.3

... enhanced classes. Added Explorer support of ID / version / inverse (mapped by) fields. Fixed Explorer bug in ...

 
forum_thread

Updating existing persistence entries

I have stored some instances of MyObject via em.persist(myObjectInstance); I can fetch them and bind them to a kind of property editor in my app (it simply calls the setters to reflect gui editing actions). When I try to persist a object later on, I get an error like com.objectdb.o.UserException: Attempt to reuse an existing primary key value which makes sense to me but I'm missing a em.update() method. ... the correspondent row in the DB by the matching and unique ID field. Is there a similar option für ObjectDB? If I were unable ...

 
forum_thread

OneToMany and cascade delete problem

Hi, I don't really know if this is a bug or maybe model that I make is bad. I have a problem with with two different classes with OneToMany relation to one, shared class. For example (first class): @Entity public static class Store { @OneToMany(targetEntity = Offer.class, mappedBy = "store") private List<Offer> offers; } second class: ... at com.objectdb.test.bug.forum.F258$Product.__odbGet_id ( F258. java :1 ) at ... but all fields in related Product are nullified. Only ID stay the same. There is no exception for this example, but if you look at ...

 
forum_thread

OptimisticLockException

Ran into this error for the first time (after many years of using odb): Caused by: com.objectdb.o._OptimisticLockException: Optimistic lock failed for object model.UserSession#28 (object has version 2 instead of 3) Also the first time I'm using odb in C/S mode rather than embedded. Also have the Explorer open Questions: a) what is it about? ... from a pessimistically locked entity (global tracking id generator, specific to internal requirement) - and got the same issue - but ...

 
release

2.0.5

... enhanced classes. Added Explorer support of ID / version / inverse (mapped by) fields. Fixed Explorer bug in ...

 
issue

Unexpected exception (Error 990) on find

I have a huge amount of inserts/updates and after a about 850.000 Entities I got the following error: ... I've found something out. When I change my Id to a unique Column it seams to work without an error and the Doctor reports ... think this limit should have no effekt   // @Id // with this instead of the unique column it won't work @ ...

 
forum_thread

Incremental online backup

Hello, Are there plans for ObjectDB to handle incremental online backups, where a backup does not create a whole new copy of the DB, but "updates" an existing backup? This behavior would make backups much faster as only a portion of the data would need to be copied. Such a feature would also allow to perform backups more often, several times a day, in order to always have a backup that's closer to the current state of the DB. Thank you ... my.odb 1000 When a transaction ID is specified as a second argument the Replayer applies recorded operations ...

 
release

2.0.4

... enhanced classes. Added Explorer support of ID / version / inverse (mapped by) fields. Fixed Explorer bug in ...

 
release

2.0.2

... enhanced classes. Added Explorer support of ID / version / inverse (mapped by) fields. Fixed Explorer bug in ...

 
release

2.0.1

... enhanced classes. Added Explorer support of ID / version / inverse (mapped by) fields. Fixed Explorer bug in ...