About cache

forum_thread

Best File system for objectdb

Hello , whats the best Filesystem do you recommend for speed for objectdb? As far i know these ; btrfs , extfs4 , extfs3 , zfs , ntfs , fat32   Which one do you recommend ?     ... to be small compared to other factors (disk speed, cache size, etc.) ObjectDB Support ObjectDB - ...

 
manual

UPDATE SET Queries in JPA/JPQL

Explains how to apply server side bulk update using a JPA/JPQL query. Existing entity objects can be updated, as explained in chapter 2 , by: Retrieving the entity objects into an EntityManager . Updating the relevant entity object fields within an active transaction. ...

 
forum_thread

Unexpected behaviour upon update. Bug?

This sample does not work as I expect.  Why?  Is it a bug? Below is the complete program. Expect: 3 Get: 4 import java.io.Serializable; import java.util.List; import javax.persistence.*; @Entity public class Update implements Serializable   {     @Id     int i;     int v; #1 2011-09-19 15:14 This sample does not work as I expect.  Why?  Is it a bug? Below is the complete program. Expec ...

 
api-jpa

SharedCacheMode.ALL

All entities and entity-related state and data are cached.(Enum Constant of javax.persistence.SharedCacheMode)

 
api-jdo

pinAll(oids)

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

 
api-jdo

evictAll()

Mark all persistent-nontransactional instances as no longer needed in the cache.(Method of javax.jdo.PersistenceManager)

 
api-jdo

refresh(pc)

Refresh the state of the instance from the data store.(Method of javax.jdo.PersistenceManager)

 
api-jpa

SharedCacheMode.UNSPECIFIED

Caching behavior is undefined: provider-specific defaults may apply.(Enum Constant of javax.persistence.SharedCacheMode)

 
forum_thread

Speeding up reporting queries with size() on list

Hi, I'm working on some reporting stuff in our application. One of few different reports should include activity on last modified objects. The query for now looks like this: select date(insp.lastModificationDate), insp.modifiedBy, insp.description.length(), insp.products.size(), insp.picture from Inspiration insp order by date(insp.lastModificationDate) desc insp.description is normal String field in Inspiration entity. insp.products is a list with 0 to 600 objects. Definition: ... On 'hot' db file  without query result in cache, execution time is between 500ms and 1.2 sec. The same query without ...

 
api-jdo

PersistenceCapable.cacheable

Whether this class is cacheable in a Level2 cache.(Annotation Element of javax.jdo.annotations.PersistenceCapable)