Defines a JDBC (javax.sql.DataSource) resource.
The following table describes subelements for the jdbc-resource element.
Table 1–63 jdbc-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 jdbc-resource element.
Table 1–64 jdbc-resource Attributes| Attribute | Default | Description | 
|---|---|---|
| none | Specifies the JNDI name for the resource. | |
| none | Specifies the name of the associated jdbc-connection-pool. | |
| user | (optional) Defines the type of the resource. Allowed values are: 
 | |
| enabled | true | (optional) Determines whether this resource is enabled at runtime. |