About Cache

manual

Setting and Tuning of JPA Queries

Explains various JPA query settings - result range, flush and lock.... no content). This could be useful when the shared L2 cache is enabled and entity objects may already be available in the cache. Setting Query Hint (Scopes) Query hints can be set ...

 
issue

Exception Failed to read from file

Hello, we have found several these exceptions in our log ... to read from file 'C:\SafeQORS\server\cache\MainORSCache.odb' (error 117) at ... com.objectdb.jpa.EMImpl.find(EMImpl.java:514) at com.ysoft.cache.objectdb.ObjectCacheDB.deleteInOpenTransaction(ObjectCacheDB.java:361) at com.ysoft.cache.objectdb.ObjectCacheDB.delete(ObjectCacheDB.java:356) at ...

 
forum_thread

Replication error on slave restart

I'm trying to enable replication on master server that was running with "recovery" enabled previously. I have copied database file to slave... and so on by manual. It worked fine. But if I restart slave server: ... = "true" /> <processing cache = "64mb" max-threads = "8" /> <query-cache results = "32mb" programs = "500" /> ... "false" reflection = "warning" /> <cache ref = "weak" level2 = "0" /> <persist ...

 
release

2.2.2

... Fixed the behavior of CacheStoreMode setting in L2 shared cache. Fixed  TreeSet and TreeMap  element ... in a new ancestor class. Fixed a query cache bug. Fixed several bugs in query processing and running. ...

 
issue

Internal exception when quering

Hello, following exception occurs when quering objectdb: ... JpaQuery. java : 686 ) at com. ysoft . cache . objectdb . ObjectCacheDB . search ( ObjectCacheDB. java : 522 ) at com. ysoft . cache . objectdb . ObjectCacheDB . search ( ObjectCacheDB. java ...

 
api-jdo

flush()

Flushes all dirty, new, and deleted instances to the data store.(Method of javax.jdo.PersistenceManager)

 
issue

Sort of very large objects - out of memory

The attached test is failing with an out of memory exception when running with -Xmx512m It performs the following actions: 1) Create 5 persist threads which create and persist a large object in a loop 100 times each 2) Create 5 get threads which read 100 objects each in a loop based on object creation time and priority The message size should be around 1mb so I think there should be around 11mb of "live" data in play at any time. The objectdb cache settings are low in the config - database section is below for reference. ... 11mb of "live" data in play at any time. The objectdb cache settings are low in the config - database section is below for ... = "true" /> <processing cache = "8mb" max-threads = "10" /> <query-cache results = "0mb" programs = "500" /> ...

 
api-jdo

isLoaded(pc, field)

Return true if the field is cached in the calling instance.(Method of javax.jdo.spi.StateManager)

 
api-jpa

SharedCacheMode.DISABLE_SELECTIVE

Caching is enabled for all entities except those for which Cacheable(false) is specified.(Enum Constant of javax.persistence.SharedCacheMode)

 
api-jdo

javax.jdo.annotations.PersistenceCapable

Annotation for whether the class or interface is persistence-capable.(Annotation of JDO)