About true

191-200 of 200Refresh
Forum
2

Performance tuning, best practices

" />            
JDO Doc
2

PersistenceCapable.cacheable

Annotation Element javax.jdo.annotations.PersistenceCapable String cacheable Whether this class is cacheable in a Level2 cache. Default value: "true" Since: JDO 2.2
JDO Doc
2

Persistent.cacheable

Annotation Element javax.jdo.annotations.Persistent String cacheable Whether this field/property is cacheable in a Level2 cache. Default value: "true" Since: JDO 2.2
JDO Doc
2

pinAll(pcClass, subclasses)

Method javax.jdo.datastore.DataStoreCache void pinAll(   Class pcClass,   boolean subclasses ) Pin instances in the second-level cache. Parameters: pcClass - the class of instances to pin subclasses - if true, pin instances of subclasses also Since: JDO 2.0
JDO Doc
2

pinAll(subclasses, pcClass)

Method javax.jdo.datastore.DataStoreCache void pinAll(   boolean subclasses,   Class pcClass ) Pin instances in the second-level cache. Parameters: subclasses - if true, pin instances of subclasses also pcClass - the class of instances to pin Since: JDO 2.1
JDO Doc
2

setCopyOnAttach(flag)

Method javax.jdo.PersistenceManager void setCopyOnAttach(   boolean flag ) Sets the copyOnAttach setting. CopyOnAttach set to true specifies that during makePersistent, copies are made of detached parameter instances. With this flag set to false, detached parameter instances are attached directly
JDO Doc
2

setCopyOnAttach(flag)

Method javax.jdo.PersistenceManagerFactory void setCopyOnAttach(   boolean flag ) Sets the default copyOnAttach setting for all PersistenceManager instances obtained from this factory. CopyOnAttach set to true specifies that during makePersistent, copies are made of detached parameter instances
JDO Doc
2

setDetachAllOnCommit(flag)

Method javax.jdo.PersistenceManager void setDetachAllOnCommit(   boolean flag ) Sets the detachAllOnCommit setting. DetachAllOnCommit set to false specifies that the state of persistent instances in the cache after commit is defined by the retainValues flag. With this flag set to true
JDO Doc
2

setIgnoreCache(flag)

Method javax.jdo.PersistenceManager void setIgnoreCache(   boolean flag ) Set the ignoreCache parameter for queries. IgnoreCache set to true specifies that for all Query instances created by this PersistenceManager, the default is the cache should be ignored for queries. Parameters: flag - the ignoreCache setting. Since: JDO 1.0
JDO Doc
2

setIgnoreCache(ignoreCache)

entirely in the back end, instead of in the cache. If this flag is set to true, an implementation