Defines a persistence manager factory resource for container-managed persistence (CMP). Deprecated, and included for backward compatibility only. Use a jdbc-resource element instead.
The following table describes subelements for the persistence-manager-factory-resource element.
Table 1–140 persistence-manager-factory-resource Subelements
Element |
Required |
Description |
---|---|---|
zero or one |
Contains a text description of this element. |
|
zero or more |
Specifies a property or a variable. |
The following table describes attributes for the persistence-manager-factory-resource element.
Table 1–141 persistence-manager-factory-resource Attributes
Attribute |
Default |
Description |
---|---|---|
none |
Specifies the JNDI name for the resource. |
|
com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerFactoryImpl |
(optional) Deprecated. Do not specify this attribute for the built-in CMP implementation. |
|
none |
Specifies the jdbc-resource from which database connections are obtained. Must be the jndi-name of an existing jdbc-resource. |
|
user |
(optional) Defines the type of the resource. Allowed values are:
|
|
enabled |
true |
(optional) Determines whether this resource is enabled at runtime. |