D.1. Optional Features

The JDO specification includes a number of optional features that a JDO implementation may or may not implement. The supportedOptions() method on PersistenceManagerFactory can be used to determine the set of optional features that a JDO implementation supports. It returns a collection of strings, one for each supported feature.

Table D-1 provides a list of these strings.

Table D-1. Optional Features
Optional Feature Name
javax.jdo.option.TransientTransactional
javax.jdo.option.NontransactionalRead
javax.jdo.option.NontransactionalWrite
javax.jdo.option.RetainValues
javax.jdo.option.Optimistic
javax.jdo.option.ApplicationIdentity
javax.jdo.option.DatastoreIdentity
javax.jdo.option.NonDurableIdentity
javax.jdo.option.ArrayList
javax.jdo.option.Hashtable ...

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