The following table describes subelements for the cmp-resource element.
Table A–30 cmp-resource Subelements| 
 Element  | 
 Required  | 
 Description  | 
|---|---|---|
| 
 only one  | 
 Specifies the absolute jndi-name of a JDBC resource.  | 
|
| 
 zero or one  | 
 Specifies the default runtime bindings of a resource reference.  | 
|
| 
 zero or more  | 
 Specifies a property name and value. Used to configure PersistenceManagerFactory properties.  | 
|
| 
 zero or one  | 
 If true, specifies that database tables are created for beans that are automatically mapped by the EJB container.  | 
|
| 
 zero or one  | 
 If true, specifies that database tables that were automatically created when the bean(s) were last deployed are dropped when the bean(s) are undeployed.  | 
|
| 
 zero or one  | 
 Specifies the name of the database vendor for which tables can be created.  | 
|
| 
 zero or one  | 
 Specifies field-specific type mappings and allows you to set the use-unique-table-names property.  |