O'Reilly logo

Java™ Data Objects by Robin M. Roos

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required