![]() ![]() ![]() ![]() |
JavaEE Data Source: Configuration
Column Display Configuration Options Related Tasks Related Topics
Applications get a database connection from a data source by looking up the data source on the Java Naming and Directory Interface (JNDI) tree and then requesting a connection. The data source provides the connection to the application from its pool of database connections.
This page shows configuration for this JavaEE data source.
Configuration Options
Name Description Name The name of the data source.
MBean Attribute (Does not apply to application modules) :
DataSourceBean.Name
Changes take effect after you redeploy the module or restart the server.
Description A description of this DataSource.
MBean Attribute (Does not apply to application modules) :
DataSourceBean.Description
Changes take effect after you redeploy the module or restart the server.
Class name The data source implementation class.
MBean Attribute (Does not apply to application modules) :
DataSourceBean.ClassName
Changes take effect after you redeploy the module or restart the server.
Server Name The database server name.
MBean Attribute (Does not apply to application modules) :
DataSourceBean.ServerName
Changes take effect after you redeploy the module or restart the server.
Port Number The port number a server uses to listen for requests.
MBean Attribute (Does not apply to application modules) :
DataSourceBean.PortNumber
Changes take effect after you redeploy the module or restart the server.
Database Name The name of the database connected to this data source.
MBean Attribute (Does not apply to application modules) :
DataSourceBean.DatabaseName
Changes take effect after you redeploy the module or restart the server.
URL The JDBC URL. If the
Url
property is specified along with other standardDataSource
properties such asServerName
,DatabaseName
andPortNumber
, the more specific properties take precedence andUrl
is ignored.MBean Attribute (Does not apply to application modules) :
DataSourceBean.Url
Changes take effect after you redeploy the module or restart the server.
User The user name to use for connection authentication with the database.
MBean Attribute (Does not apply to application modules) :
DataSourceBean.User
Changes take effect after you redeploy the module or restart the server.
Login Timeout The maximum amount of time, in seconds, that this data source waits while attempting to connect to a database.
MBean Attribute (Does not apply to application modules) :
DataSourceBean.LoginTimeout
Changes take effect after you redeploy the module or restart the server.
Transactional When enabled, connections participate in transactions.
MBean Attribute (Does not apply to application modules) :
DataSourceBean.Transactional
Changes take effect after you redeploy the module or restart the server.
Isolation Level The transaction isolation level used for connections.
MBean Attribute (Does not apply to application modules) :
DataSourceBean.IsolationLevel
Changes take effect after you redeploy the module or restart the server.
Initial Pool Size The number of physical connections to create when creating the connection pool in the data source. If unable to create this number of connections, creation of the data source will fail.
MBean Attribute (Does not apply to application modules) :
DataSourceBean.InitialPoolSize
Changes take effect after you redeploy the module or restart the server.
Maximum Pool Size The maximum number of physical connections that this connection pool can contain.
MBean Attribute (Does not apply to application modules) :
DataSourceBean.MaxPoolSize
Changes take effect after you redeploy the module or restart the server.
Minimum Pool Size The minimum number of physical connections that this connection pool can contain.
MBean Attribute (Does not apply to application modules) :
DataSourceBean.MinPoolSize
Changes take effect after you redeploy the module or restart the server.
Maximum Idle Time The maximum amount of time, in seconds, a physical connection can remain unused in the pool before the connection is closed.
MBean Attribute (Does not apply to application modules) :
DataSourceBean.MaxIdleTime
Changes take effect after you redeploy the module or restart the server.
Maximum Statements The total number of statements that a connection pool keeps open.
MBean Attribute (Does not apply to application modules) :
DataSourceBean.MaxStatements
Changes take effect after you redeploy the module or restart the server.
ID Specifies a string which is used to identify this DataSource.
MBean Attribute (Does not apply to application modules) :
DataSourceBean.Id
Changes take effect after you redeploy the module or restart the server.
Column Display
Name Description Name The name of the property.
MBean Attribute (Does not apply to application modules) :
JavaEEPropertyBean.Name
Changes take effect after you redeploy the module or restart the server.
Value The value of the property.
MBean Attribute (Does not apply to application modules) :
JavaEEPropertyBean.Value
Changes take effect after you redeploy the module or restart the server.
![]() |