JDBC Resource Properties
- Pool-name. The name of the connection pool the data source will use.
- JNDI name. The JNDI name must be unique to this JDBC resource.
The JNDI name of a JDBC resource is expected in the java:comp/env/jdbc subcontext.
For example, the JNDI name for the resource of a payroll database could
be java:comp/env/jdbc/payrolldb. Because all resource JNDI names are in
the java:comp/env subcontext, when you specify the JNDI name of a JDBC
resource enter only jdbc/name. For example, for a payroll database, specify jdbc/payrolldb.
- Object-types. The type of the object. A resource object may be
user, system-all, system-admin, or system-instance.
- Enabled. Set to true to enable the resource, or false to disable the resource.
- Description. Description of the resource (optional).
- See Also
- Setting up a JDBC Resource on the GlassFish Application Server
- JDBC Resource General Attributes
Legal Notices