ObjectDB ObjectDB

Internal Website Search

1-10 of 31 resultsRefresh
94

evict(cls, primaryKey)

Method javax.persistence.Cache void evict( Class cls, Object primaryKey ) Remove the data for the given entity from the cache. Parameters: cls - entity class primaryKey - primary key Since: JPA 2.0
94

evict(cls)

Method javax.persistence.Cache void evict( Class cls ) Remove the data for entities of the specified class (and its subclasses) from the cache. Parameters: cls - entity class Since: JPA 2.0
38

Shared (L2) Entity Cache

objects can be removed from the cache by one of the evict methods: // Remove a specific entity object from the shared cache: cache.evict(MyEntity.class, Long.valueOf(id)); // Remove all the instances of a specific class from the cache: cache.evict(MyEntity.class); // Clear the shared
9

evict(pc)

Method javax.jdo.PersistenceManager void evict( Object pc ) Mark an instance as no longer needed in the cache. Eviction is normally done automatically by the PersistenceManager at transaction ... that the instance is no longer needed in the cache. Parameters: pc - the instance to evict from the cache. Since: JDO 1.0
9

evict(oid)

Method javax.jdo.datastore.DataStoreCache void evict( Object oid ) Evict the parameter instance from the second-level cache. Parameters: oid - the object id of the instance to evict. Since: JDO 2.0
9

evict(oid)

Method javax.jdo.datastore.DataStoreCache.EmptyDataStoreCache void evict( Object oid ) Parameters: oid - Since: JDO 2.0
3

javax.jdo.datastore.DataStoreCache.EmptyDataStoreCache

. Since: JDO 2.0 void evict(Object oid) Evict the parameter instance from the second-level cache. Evict ... to evict. Since: JDO 2.0 void evict(Object oid) Parameters: oid - Since: JDO 2. Parameters: oid - Since: JDO 2.0 void evictAll() Evict the parameter instances from the second-level cache. Evict
3

javax.jdo.datastore.DataStoreCache

void evict(Object oid) Evict the parameter instance from the second-level cache. Evict the parameter instance from the second-level cache. Parameters: oid - the object id of the instance to evict. Since: JDO 2.0 void evictAll() Evict the parameter instances from the second-level cache. Evict
2

javax.jdo.JDOEntityManager

See Also: detachCopyAll(Object[]) void evict(Object pc) Mark an instance as no longer needed in the cache. Mark an instance as no longer needed in the cache. Eviction is normally done automatically by ... - the instance to evict from the cache. Since: JDO 1.0 void evictAll() Mark all persistent-nontransactional
2

javax.jdo.PersistenceManager

[]) void evict(Object pc) Mark an instance as no longer needed in the cache. Mark an instance as no longer needed in the cache. Eviction is normally done automatically by the PersistenceManager ... to the PersistenceManager that the instance is no longer needed in the cache. Parameters: pc - the instance to evict from

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