About WRITE

forum_thread

Evaluation License

Hi, I'm an individual developer and my project has more then 10 persistable types. How can I get a free commercial license? (According to the post below, this might be possible).     Hi, This exception indicates an attempt to use more than 10 persistable types (e.g. entity classes) with no license key. As noted on the license page: #1 2012-07-11 14:42 Hi, I'm an individual developer and my project has more then 10 persistable types. How can I get a fr ...

 
forum_thread

Optimistic lock failed

Hi, I frequently see exceptions during development such as com.objectdb.o._RollbackException: Failed to commit transaction: Optimistic lock failed for object com.example.MyEntity#3 (object has version 1 instead of 3) Could you please explain what this means, and what I can do about it. Thanks you, Carl     ... "true" sync = "false" path = "." mode = "write" /> <locking version-check = "false" ...

 
forum_thread

Some technical questions

Hi, ObjectDB looks interesting. Have two technical questions... (1) what locking model does ObjectDB use? I.e. 2PL or MVCC? Do writers block readers? Do readers block writers? (2) what's the recommended usage for SAAS? One ObjectDB database per customer, or one ObjectDB database for all? Thank you, Andrej ... Yes, if it has not been locked with pessimistic WRITE. > , and will it see the old attribute? Yes, changes ...

 
forum_thread

Performance tuning, best practices

we have a system where we serve from a host process around 200 clients connected via webSockets (Jetty). The core process is running on a dedicated Windows 2012 server with 16 GByte RAM and 8 processor cores.  What is strange for us is that max 20% of the cpu resources are used and the IO subsystem is at maximum 30% of activity under heavy load but database queries are let's say not at the speed we would expect. We have currently 20.000.000 objects in the database, our configuration settings are: ... <recording enabled="false" sync="false" path="." mode="write" />   <locking version-check="true" />   ...

 
forum_thread

Schema migration - long to String

Hi, I need to change field type in our model from long to String. After changing filed type in our model and repairing database with doctor, most of our entities is gone. Doctor puts some errors on console: ... schema change. As a workaround you can read and write (after making them dirty) all the instances of that modified type ...

 
release

2.2.9

... in criteria queries . Fixed a "Failed to write the value of field property" bug. Fixed a  ...

 
forum_thread

Activation Issue

Hi, We bought a site license the yesterday. I ran the activation class this morning. That generated the activation key. I took that key as per the instructions, added it to the objectdb.conf inside the jar, and everything was happy. (this was with 2.3.7). However after a reboot I'm now getting the evaluation license restriction message again at compile time (which was I was seeing before putting the activation key in objectdb.conf). I tried upgrading to 2.3.7_02 and updating objectdb.conf with the activation key, but get the same behaviour. ... sync = "false" path = "." mode = "write" /> <locking version-check = "true" /> ...

 
forum_thread

Server vs embedded mode in multi-instance scenario

We are creating a web app that will have multiple different clients, each on their own EC2 instance(s). The clients do not need to share any data, so each could have its own ObjectDB. Clients have a user base of about 2,000 to 60,000 users that could possibly be using their application at any given time (100k absolute maximum). We will probably have multiple instances per client for availability concerns as well as auto scale during peak usage, at least for the benefit of our web application if not for objectdb. #1 2013-01-18 22:18 We are creating a web app that will have multiple different clients, each on their own EC2 instance(s). The clien ...

 
forum_thread

Object Relations Error after Schema Change

Hi we have a problem with relations in OBjectDB 2.4.6, the problem occured after we changed relations in few clases. Specificaly we deleted relation pointing to one class and created new relation to third class. If we restart both ObjectDB and Jboss everything works fine for a short period. Attached is a ObjectDB error message. Kind regards. ... ERROR [stderr] (http--10.10.10.60-8080-3) Failed to write the value of field field pbdmodel.impl.UserImpl.userRazgovor using ...

 
forum_thread

StackOverflowError after commit

We have following issue, if we execute a commit: java.lang.StackOverflowError at com.objectdb.o.ENT.D(ENT.java:411) at com.objectdb.o.ENT.D(ENT.java:499) at com.objectdb.o.ENT.D(ENT.java:417) at com.objectdb.o.ENT.D(ENT.java:499) at com.objectdb.o.ENT.D(ENT.java:499) at com.objectdb.o.ENT.D(ENT.java:417) at com.objectdb.o.ENT.D(ENT.java:499) at com.objectdb.o.ENT.D(ENT.java:499) at com.objectdb.o.ENT.D(ENT.java:417) ...   com.objectdb.o.UserException: Failed to write the value of field field ...