ObjectDB ObjectDB

Internal Website Search

81-90 of 200 resultsRefresh
4

SharedCacheMode.ENABLE_SELECTIVE

Enum Constant javax.persistence.SharedCacheMode ENABLE_SELECTIVE Caching is enabled for all entities for Cacheable(true) is specified. All other entities are not cached. Since: JPA 2.0
4

SharedCacheMode.DISABLE_SELECTIVE

Enum Constant javax.persistence.SharedCacheMode DISABLE_SELECTIVE Caching is enabled for all entities except those for which Cacheable(false) is specified. Entities for which Cacheable(false) is specified are not cached. Since: JPA 2.0
0

flush()

, this method synchronizes the cache with the datastore and reports any exceptions. If an optimistic transaction is active, this method obtains a datastore connection, synchronizes the cache
0

setIgnoreCache(ignoreCache)

entirely in the back end, instead of in the cache. If this flag is set to true, an implementation might be able to optimize the query execution by ignoring changed values in the cache. For optimistic
0

flush()

, this method synchronizes the cache with the datastore and reports any exceptions. If an optimistic transaction is active, this method obtains a datastore connection, synchronizes the cache
0

evictAll(pcs)

Method javax.jdo.PersistenceManager void evictAll( Collection pcs ) Mark a Collection of instances as no longer needed in the cache. Parameters: pcs - the Collection of instances to evict from the cache. Since: JDO 1.0 See Also: evict(Object pc)
0

isLoaded(pc, field)

Method javax.jdo.spi.StateManager boolean isLoaded( PersistenceCapable pc, int field ) Return true if the field is cached in the calling instance. Parameters: pc - the calling PersistenceCapable instance field - the field number Returns: whether the field is cached in the calling instance Since: JDO 1.0
0

evictAll(pcs)

Method javax.jdo.PersistenceManager void evictAll( Object... pcs ) Mark an array of instances as no longer needed in the cache. Parameters: pcs - the array of instances to evict from the cache. Since: JDO 1.0 See Also: evict(Object pc)
0

getDataStoreCache()

Method javax.jdo.PersistenceManagerFactory DataStoreCache getDataStoreCache() Return the DataStoreCache that this factory uses for controlling a second-level cache. If this factory does not use a second-level cache, the returned instance does nothing. This method never returns null. Returns: the DataStoreCache Since: JDO 2.0
0

javax.jdo.annotations.PersistenceCapable

javax.jdo.annotations Annotation PersistenceCapable Target: Classes Annotation for whether the class or interface is persistence-capable. Since: JDO 2.1 String cacheable Whether this class is cacheable in a Level2 cache. Whether this class is cacheable in a Level2 cache. Default value: "true

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support