7.4. Properties and Supported Options
Prev | Chapter 7. PersistenceManagerFactory | Next

## 7.4. Properties and Supported Options

    public Properties getProperties ();
    public Collection supportedOptions ();

In addition to supplying `PersistenceManager`s, the `PersistenceManagerFactory` also supplies metadata about the current JDO implementation. The `getProperties` method returns a `Properties` instance containing, at a minimum, the following keys:

- `VendorName`: The name of the JDO vendor.

- `VersionNumber`: The version number string for the product.

The `supportedOptions` method returns a `Collection` of `String`s enumerating the JDO options supported by the implementation. The following option names are recognized:

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

- `javax.jdo.option.Hashtable`

- `javax.jdo.option.LinkedList`

- `javax.jdo.option.TreeMap`

- `javax.jdo.option.TreeSet`

- `javax.jdo.option.Vector`

- `javax.jdo.option.Map`

- `javax.jdo.option.List`

- `javax.jdo.option.Array`

- `javax.jdo.option.NullCollection`

- `javax.jdo.option.ChangeApplicationIdentity`

- `javax.jdo.query.JDOQL`

Vendors may include `String`s for other query languages they support as well.

| Note
Kodo JDO currently supports all options except `javax.jdo.option.ChangeApplicationIdentity` and `javax.jdo.option.NonDurableIdentity`.

Prev | Up | Next
7.3. Obtaining PersistenceManagers | Home | Chapter 8. PersistenceManager