JDBC Data Source Factory --> Configuration

Tasks     Related Topics     Attributes

 

Overview

A JDBC data source factory is an instance of a JDBC data source resource bound to the WebLogic Server JNDI tree as a resource factory. An application-scoped JDBC connection pool relies on a JDBC data source factory to provide default connection pool values. You must create a data source factory before you deploy an enterprise application that includes an application-scoped connection pool. The weblogic-application.xml supplemental deployment descriptor for the application must reference the data source factory by the factory name that you specify in the Administration Console.

Properties that you specify for a data source factory are used as default values for application-scoped connection pools that reference the factory. You can override the default values in the weblogic-application.xml supplemental deployment descriptor.

 

Tasks

Creating and Configuring a JDBC Data Source Factory

 

Related Topics

Application-Scoped JDBC Data Sources and Connection Pools

Resource Factories in Programming WebLogic Server Enterprise JavaBeans

 

Attributes

Attribute Label

Description

Value Constraints

Name The name of this configuration. WebLogic Server uses an MBean to implement and persist the configuration.MBean: weblogic.management.
configuration.
JDBCDataSourceFactoryMBeanAttribute: Name
Dynamic: no
User Name The database user name. This may be overridden by user-name in the descriptor.MBean: weblogic.management.
configuration.
JDBCDataSourceFactoryMBeanAttribute: UserName
Dynamic: no
URL The connection URL. This may be overridden by url in the descriptorMBean: weblogic.management.
configuration.
JDBCDataSourceFactoryMBeanAttribute: URL
Dynamic: no
Driver Class Name The name of the driver. This may be overridden by driver-name in the descriptor.MBean: weblogic.management.
configuration.
JDBCDataSourceFactoryMBeanAttribute: DriverClassName
Dynamic: no
Factory Name The name of this data source factory. This is referenced from the connection-factory element in weblogic-application.xmlMBean: weblogic.management.
configuration.
JDBCDataSourceFactoryMBeanAttribute: FactoryName
Dynamic: no
Properties Connection properties passed to the JDBC driver to create physical database connections. MBean: weblogic.management.
configuration.
JDBCDataSourceFactoryMBeanAttribute: Properties
Dynamic: no

Skip navigation bar  Back to Top Previous Next