About manual

forum_thread

Database Inconsistency or corruption

Hi, since a week I have been trying to find a solution to a strange problem. We are using ObjectDB 2.6.8_02 im embedded mode. The problem is that data gets lost when updating an entity. 1-) Background Consider Three entities: ObjectValue, Attribute and Value. ObjectValue has a one to many relationship to Attribute and Attribute has a one to one relationship to Value. #1 2016-06-27 11:16 Hi, since a week I have been trying to find a solution to a strange problem. We are using ObjectD ...

 
manual

JPA Persistence Unit

Explains how to define a JPA persistence unit in the persistence.xml file.... mapping file. Every annotation that is described in this manual can be replaced by equivalent XML in the mapping files (as explained ... files and JDO package.jdo files are supported. This manual focuses on using annotations which are more common and usually more ...

 
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. ... not used (see rules for the configuration path on this manual page ). A better solution could be changing the permissions of ...

 
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? ... information on optimistic locking is available in the manual . ObjectDB Support ObjectDB - Fast Object ...

 
forum_thread

Soft Reference Object Cache Recommendation

(Trying again.  Last post, ~50 minutes to compose, failed, possibly due to an attachment upload size limit being exceeded before the post attempt.  =(  ) ... object callback/listeners to track all objects in a manual strong reference list and upon GC detection manually remove the strong ...

 
forum_thread

Problems Running ODB Explorer

When ODB is run in embedded mode (Eclipse), it is fine but the explorer throws the following exception:-   ... location of the objectdb.jar file, as explained in the manual , so if you have several objectdb.jar files, you have to update the ...

 
forum_thread

Configuration and Activation Code in ObjectDB 2.x

Hi ,   I would like to update the ObjectDB from 1.0 to 2.3.7_25. I used the License key for activating the odbee.jar file and got the activation code.It is mentioned in the side that i need to use the activation code using <activation> tag in the objectdb.conf file. In 1.x objectDB, we are not using any objectDB.conf file, we are just using setProperty method to set the different property e.g. properties.setProperty("javax.jdo.PersistenceManagerFactoryClass","com.objectdb.jdo.PMF"); ... file is provided in chapter 6 of the ObjectDB Manual. The location of the configuration file is discussed in the ... file in my own jar file e.g. application.jar. In the manual, it is mentioned that i can set the conf file path through ...

 
forum_thread

Check for index existence ?

Hello, Is there a simple way to check if indexes specified in entities are well taken into account by ObjectDb ? Regards, Xirt ... your application is using) and the information on this manual page . ObjectDB Support ObjectDB - Fast ...

 
forum_thread

Composite indexes

Hi, I read your manual about defining Indexes for JPA Entities (http://www.objectdb.com/java/jpa/entity/index), but I still have some problems understanding how and when should I use them.   Let's start with some example then. Assume we have an entity that represents an interior design image, called Inspiration : ... Hi, I read your manual about defining Indexes for JPA Entities ... as explained in the Indexes in Queries section of the manual. In a query that searches for exact match of several fields, any order ...

 
issue

evalution limit error on digital ocean ubuntu

Trying to run the code on Digital Ocean Ubuntu instance. Generated license and set key in objectdb conf file. It gives below exceeds evaluation error when we try to run the code. Caused by: com.objectdb.o.UserException: Too many persistable types (>10) - exceeds evaluation limit at com.objectdb.o.MSG.d(MSG.java:61) ~[objectdb-2.5.4.jar:na] at com.objectdb.o.MST.UC(MST.java:1090) ~[objectdb-2.5.4.jar:na] at com.objectdb.o.WRA.UC(WRA.java:213) ~[objectdb-2.5.4.jar:na] at com.objectdb.o.TYS.x(TYS.java:768) ~[objectdb-2.5.4.jar:na]... of the ObjectDB configuraiton file can be found in this manual page . ObjectDB Support ObjectDB - Fast ...