Home » Search

About transient

61-70 of 95Refresh
JDO Doc
5

jdoMakeDirty(fieldName)

, then the field marked dirty is the field declared by the most derived class. Transient instances ignore
JDO Doc
5

jdoPreClear()

Method javax.jdo.listener.ClearCallback void jdoPreClear() Called before the values in the instance are cleared. Transient fields should be cleared in this method. Associations between this instance and others in the runtime environment should be cleared. This method is not modified by the enhancer. Since: JDO 2.0
JDO Doc
5

makeDirty(pc, fieldName)

allows the application to notify the instance that a change was made to a field. Transient instances
JDO Doc
5

makePersistentAll(pcs)

Method javax.jdo.PersistenceManager T[] makePersistentAll(   T... pcs ) Make an array of instances persistent. Parameters: pcs - an array of instances Returns: the parameter instances for parameters in the transient or persistent state, or the corresponding persistent instance for detached
JDO Doc
5

makePersistentAll(pcs)

Method javax.jdo.PersistenceManager Collection makePersistentAll(   Collection pcs ) Make a Collection of instances persistent. Parameters: pcs - a Collection of instances Returns: the parameter instance for parameters in the transient or persistent state, or the corresponding persistent
JDO Doc
5

newInstance(pcClass)

Method javax.jdo.PersistenceManager T newInstance(   Class pcClass ) Creates an instance of a persistence-capable interface, or of a concrete or abstract class. The returned instance is transient. Parameters: pcClass - Must be a persistence-capable interface, or a concrete or abstract class
JDO Doc
5

PersistenceCapable.SERIALIZABLE

Static Field javax.jdo.spi.PersistenceCapable byte SERIALIZABLE If jdoFieldFlags for a field includes SERIALIZABLE, then the field is not declared as TRANSIENT. Since: JDO 1.0
Forum
3

evictAll() behavior

) and there is a result OBJECTDB OUTPUT: main--testDbProvisioning Cache size before COMMIT/BEGIN= 1 transient transient Cache size after COMMIT/BEGIN= 2630 transient transient Cache size after pm.evict = 2630
Forum
3

Pre-detach loading: retrieval by navigation not working in if statement

to the persistent fields my entities have transient computation methods, and calling these during the pre-detach loading should (and usually does) load everything needed to compute a transient expert ... , it is failing to load the test within the indicated if statement: @Transient public Float getNLA_m2
Forum
3

Searching lists within objects

and the transient value (Attribute.getValue()) is unavailable. Using transient fields in queries ... are populated via the getters. So yes, objectdb shouldn't allow queries on transient fields. Would be much better if a null pointer or some such was thrown for accessing a transient field. pedwards