Defines a JDBC (javax.sql.DataSource) resource.
The following table describes subelements for the JDBCRESOURCE element.
Table 2–42 JDBCRESOURCE 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 JDBCRESOURCE element.
Table 2–43 JDBCRESOURCE Attributes
Attribute |
Default |
Description |
---|---|---|
jndiname |
none |
Specifies the JNDI name for the resource. |
poolname |
none |
Specifies the name of the associated JDBC connection pool, defined in a JDBCCONNECTIONPOOL element. |
enabled |
true |
(optional) Determines whether this resource is enabled at runtime. Legal values are on, off, yes, no, 1, 0, true, false. |