About @Id

forum_thread

lockfiles in client/server mode

i have an objectdb server running on localhost as user "objectdb", spawned like so: java -server -cp /usr/local/share/objectdb/objectdb.jar: com.objectdb.Server -conf /etc/objectdb/objectdb.conf start it has naturally created and taken ownership of /tmp/ObjectDB. #1 2012-04-05 21:36 i have an objectdb server running on localhost as user "objectdb", spawned like so: java -server ...

 
page

Posting to ObjectDB Website - Important Instructions

Instructions for posting to ObjectDB website (to the forum, the issue tracking and the help desk). Please read the following instructions carefully - before posting to the ObjectDB website. 1. Where to Post Almost everything should be posted to the ObjectDB Forum  - and not as an help desk support ticket or as a ...

 
forum_thread

ClassCastException of same object type

I have ObjectDB partially working with my project. At the moment it seems to be saving objects and retrieving objects ok in the main project. However, when I make a plugin for the project, the new objects are persisted but not retrieved. I get the following error: java.lang.ClassCastException: org.sportscoring.ssv.xc.core.XCCompetitorCount cannot be cast to org.sportscoring.ssv.xc.core.XCCompetitorCount ... is the @Id of the entity. Originally I had it as @PrePersist. I then tried explicitly ...

 
forum_thread

Out of memory

Hi, Today in the middle of the night ODB just crashed leaving this on console screen: #1 2012-09-18 07:06 Hi, Today in the middle of the night ODB just crashed leaving this on console screen: ObjectDB Serv ...

 
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? #1 2011-04-28 01:37 Ran into this error for the first time (after many years of using odb): Caused by: com.objectdb.o._Opti ...

 
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: #1 2011-09-19 16:33 Hi, I don't really know if this is a bug or maybe model that I make is bad. I have a problem with wit ...

 
release

2.0.5

Release date: 2011-02-06 Download (3.4 MB) Binary:  objectdb-2.0.5.zip You should start by following a  tutorial or reading the manual ...

 
release

2.0.3

Release date: 2010-12-13 Download (3.4 MB) Binary:  objectdb-2.0.3.zip ObjectDB 2 is already in use in production in several applications and is m ...

 
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. #1 2012-12-07 19:29 I have stored some instances of MyObject via em.persist(myObjectInstance); I can fetch them and bind them ...

 
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 think this limit should have no effekt   // @Id // with this instead of the unique column it won't work @ ...