Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Administration Reference

- Previous: jdbc-connection-pool
- Next: jms-host

## jdbc-resource

Defines a JDBC (`javax.sql.DataSource`) resource.

### Superelements

resources

### Subelements

The following table describes subelements for the `jdbc-resource` element.

Table 1–62 `jdbc-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 `jdbc-resource` element.

Table 1–63 `jdbc-resource` Attributes

Attribute | Default | Description
--- | --- | ---
`jndi-name` | none | Specifies the JNDI name for the resource.
`pool-name` | none | Specifies the `name` of the associated jdbc-connection-pool.
`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: jdbc-connection-pool
- Next: jms-host

- © 2010, Oracle Corporation and/or its affiliates