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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.