About cache

forum_thread

The server cannot start in CentOS

Hi, I try to run ObjectDB from Linux, but failed. My command is: java -cp objectdb.jar com.objectdb.Server start The result is attached. After typing the command, the system seems halting. ... = "true" /> <processing cache = "64mb" max-threads = "10" /> <query-cache results = "32mb" programs = "500" /> </database ...

 
forum_thread

Optimistic locking: prevent version increment on entity collection attribute

Hello, I have an entity E with an attribute which is a collection of entities (one to many relationship) with an optimistic locking strategy supported by a version field. Is it possible to prevent the increment of the version of entity E when entities are added to or removed from the collection? Something like the equivalent of @OptimisticLock(excluded=true) in Hibernate? Thanks, Farid #1 2013-04-30 15:49 Hello, I have an entity E with an attribute which is a collection of entities (one to many relationship) ...

 
api-jdo

pin(oid)

Pin the parameter instance in the second-level cache.(Method of javax.jdo.datastore.DataStoreCache)

 
api-jdo

Persistent.cacheable

Whether this field/property is cacheable in a Level2 cache.(Annotation Element of javax.jdo.annotations.Persistent)

 
api-jdo

unpinAll(subclasses, pcClass)

Unpin instances from the second-level cache.(Method of javax.jdo.datastore.DataStoreCache)

 
forum_thread

ObjectDB's Database Doctor Incorrect Error Report

Am I reading this correctly?  It seems that Doctor is telling me that one of my objects is missing.  Looking at the database with ObjectDB's Database Explorer though seems to show that the reference to the object is good and that the object does indeed exist.   Output from Doctor Diagnose and Doctor Repair is attached.  So are the two databases and screenshots of Explorer showing the reference to the object and the existence of the object. #1 2016-08-13 16:33 Am I reading this correctly?  It seems that Doctor is telling me that one of my objects is missing.  Lo ...

 
issue

InternalException

  ... 23:33 Maybe it was a cache problem and restarting the database cleared the cache. Have you changed the persistent model recently (e.g. added / ...

 
forum_thread

Compile time enhancement using build.xml of a Netbeans web application

Does anybody have a complete, working example of the adaptations required in the build.xml of a Netbeans web application project to specify ObjectDB compile time enhancement, for both single file and whole project compilation ? The ObjectDB 2.3 manual gives the following tip: ... .sig files, rather than .class files, to the NetBeans cache, and side-steps any build.xml commands. I can easily apply the ObjectDB ...

 
forum_thread

Exception on creation when running multithreaded

Hi, I'm trying to test the creation of an object from my datamodel(Organisation) and the creation process includes the creation of an acl for the newly created organisation all in the same transaction. The process is as followed: 1. The organisation gets created 2. The acl is being searched to check if it already exists 3. if it exists it will be updated, otherwise it will be created   ... may indicate an ObjectDB bug in transaction isolation or cache management. Anyway, a test case that reproduces the problem would ...

 
forum_thread

One transaction or two?

If I have a large number of objects to delete and then add to a PersistenceManager is it more efficient to do everything in one transaction or two? Currently my code looks like this: ... may gain some performance in some cases (e.g. if the L1 cache is important in this application). On the hand such a solution is ... operations rather than read operation (in which the L1 cache is important) - performance gain, if any, is expected to be minimal. But ...