4.2. Required lifecycle states

The JDO specification contains two categories of lifecycle states: those that are required by all compliant JDO implementations, and those that are optional and need be present only if the implementation supports the corresponding optional feature. The following are the lifecycle states required of all implementations.

4.2.1. Transient

Instances instantiated through a developer-written constructor with the new operator do not involve the persistence environment and behave like instances of the un-enhanced class. There is no JDO identity associated with a transient instance, and no intermediation on behalf of JDO to fetch or store persistent field values.

Transient instances exhibit no transactional behavior. The ...

Get Java™ Data Objects now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.