10.6. Example – deletion semantics

By definition, the JDO specification does not identify any valid extensions. Extensions are intended for use by JDO vendors who wish to implement features above and beyond the standard, and require the application of such features to be declared in the persistence descriptor. This book is intended to address JDO in a vendor-independent manner, but I trust that you will appreciate the need for a vendor-specific example here.

In JDO it is possible to have one persistence-capable instance reference another instance that is subsequently deleted. Once the deletePersistent() method has completed and the transaction committed, JDO dictates that the deleted instance will be transient. However, it does not dictate what ...

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.