About cache

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 ...

 
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" /> ...

 
forum_thread

PersistenceException: Failed to locate field

Hi, have recently been running into this issue when changing the schema: com.objectdb.o._PersistenceException: Failed to locate field in this case, adding a primitive String field to an Entity. pretty sure that in the past schema evolution would not have triggered errors, is this case, a simple new field, shouldn't the policy be to add a null in that field, or other default for that primitive. ... reflection = "warning" />   <cache ref = "weak" level2 = "20m" />   <fetch ... = "true" reflection = "warning" /> <cache ref = "weak" level2 = "20m" /> <fetch hollow = ...

 
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)

 
release

2.3.1

... Fixed a bug in keeping removed entity object in the L2 cache. Fixed orphan removal of owner entity object in ... Fixed the behavior of CacheStoreMode setting in L2 shared cache. Fixed  TreeSet and TreeMap  element ...

 
manual

Advanced JPA Topics

Describes advanced JPA topics - detached entity objects, lock management and entity lifecycle events.... JPA Lifecycle Events Shared (L2) Entity Cache JPA Metamodel API ...

 
forum_thread

Replication issue, Replayer failing due to NullPointerException.

I'm getting replication errors and upon trying to play the replayer I get a NullPointerException which i'm also seeing in the slave logs when it's trying to replicate... ... = "true" /> <processing cache = "64mb" max-threads = "10" synchronized = "false" /> <query-cache results = "32mb" programs = "500" /> ... = "true" reflection = "error" /> <cache ref = "weak" level2 = "0mb" /> <persist ...

 
api-jdo

javax.jdo.annotations.PersistenceCapable

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