Home » JDO » StateManager » preSerialize(pc) - JDO StateManager's method

preSerialize(pc) - JDO StateManager's method

Method
javax.jdo.spi.StateManager
void preSerialize(
  PersistenceCapable pc
)

Guarantee that the serializable transactional and persistent fields are loaded into the instance. This method is called by the generated jdoPreSerialize method prior to serialization of the instance.
Parameters:
pc - the calling PersistenceCapable instance
Since:
JDO 1.0

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.