Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Administration Reference

- Previous: O
- Next: principal

## persistence-manager-factory-resource

Defines a persistence manager factory resource for container-managed persistence (CMP).

### Superelements

resources

### Subelements

The following table describes subelements for the `persistence-manager-factory-resource` element.

Table 1–116 `persistence-manager-factory-resource` Subelements

Element | Required | Description
--- | --- | ---
description | zero or one | Contains a text description of this element.
property | zero or more | Specifies a property or a variable.

### Attributes

The following table describes attributes for the `persistence-manager-factory-resource` element.

Table 1–117 `persistence-manager-factory-resource` Attributes

Attribute | Default | Description
--- | --- | ---
`jndi-name` | none | Specifies the JNDI name for the resource.
`factory-class` | `com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerFactoryImpl` | (optional) Deprecated. Do not specify this attribute for the built-in CMP implementation.
`jdbc-resource-jndi-name` | none | Specifies the jdbc-resource from which database connections are obtained. Must be the `jndi-name` of an existing `jdbc-resource`.
`object-type` | `user` | (optional) Defines the type of the resource. Allowed values are: `system-all` - A system resource for all server instances and the domain application server. `system-admin` - A system resource only for the domain application server. `system-instance` - A system resource for all server instances only. `user` - A user resource.
`enabled` | `true` | (optional) Determines whether this resource is enabled at runtime.

- Previous: O
- Next: principal

- © 2010, Oracle Corporation and/or its affiliates