Description

UCP specific configuration for javax.sql.DataSource.

Usages

Configuration options

KeyKindTypeDescription
abandoned-connection-timeoutVALUEIntegerSets the abandoned connection timeout
commit-on-connection-returnVALUEBooleanSets the boolean value for the property that controls the behavior of UCP when a connection is released back to the pool with pending uncommitted changes in an active transaction
connection-factory-class-nameVALUEStringSets the connection factory class name
connection-factory-propertiesMAPStringSets the connection factory properties on the connection factory
connection-harvest-max-countVALUEIntegerSets the maximum number of connections that may be harvested when the connection harvesting occurs
connection-harvest-trigger-countVALUEIntegerSets the number of available connections below which the connection pool's connection harvesting will occur
connection-labeling-high-costVALUEIntegerSets the cost value which identifies a connection as "high-cost" for connection labeling
connection-pool-nameVALUEStringSets the connection pool name
connection-propertiesMAPStringSets the connection properties on the connection factory
connection-repurpose-thresholdVALUEIntegerSets the connection repurpose threshold for the pool
connection-validation-timeoutVALUEIntegerSets the connection validation timeout in seconds
connection-wait-durationVALUEDurationConfigures how much time a connection request call may wait before it either successfully returns a connection or throws an exception
create-connection-in-borrow-threadVALUEBooleanSet this flag to true to make UCP use the borrowing thread to create new connections
data-source-nameVALUEStringSets the data source name
database-nameVALUEStringSets the database name
descriptionVALUEStringSets the data source description
fast-connection-failover-enabledVALUEBooleanEnables Fast Connection Failover (FCF) for the connection pool accessed using this pool-enabled data source
high-cost-connection-reuse-thresholdVALUEIntegerSets the high-cost connection reuse threshold for connection labeling
inactive-connection-timeoutVALUEIntegerSets the inactive connection timeout
initial-pool-sizeVALUEIntegerSets the initial pool size
max-connection-reuse-countVALUEIntegerSets the maximum connection reuse count
max-connection-reuse-timeVALUELongSets the maximum connection reuse time in seconds
max-connections-per-shardVALUEIntegerSets the max number of connections that can be created per shard from this connection pool
max-idle-timeVALUEIntegerSets the maximum idle time for available connections in the pool in seconds
max-pool-sizeVALUEIntegerSets the maximum number of connections
max-statementsVALUEIntegerSets the maximum number of statements that may be pooled or cached on a connection
min-idleVALUEIntegerSets the minimum number of idle connections
min-pool-sizeVALUEIntegerSets the minimum number of connections
network-protocolVALUEStringSets the data source network protocol
ons-configurationVALUEStringSets the configuration string used for remote ONS subscription
port-numberVALUEIntegerSets the database port number
property-cycleVALUEIntegerSets the property cycle in seconds
query-timeoutVALUEIntegerSets the number of seconds the driver will wait for a Statement object to execute to the given number of seconds
read-only-instance-allowedVALUEBooleanSets the read-only instance allowed value on the datasource
role-nameVALUEStringSets the data source role name
seconds-to-trust-idle-connectionVALUEIntegerSets the time to trust an idle connection to skip a validation test in seconds
server-nameVALUEStringSets the database server name
sharding-modeVALUEBooleanChange the mode of UCP when UCP is using a Sharded Database
sql-for-validate-connectionVALUEStringSets the SQL statement to validate the database connection
time-to-live-connection-timeoutVALUEIntegerSets the maximum time a connection may remain in-use in seconds
timeout-check-intervalVALUEIntegerSets the timeout check interval in seconds
validate-connection-on-borrowVALUEBooleanMakes the pool validate the connection before returning it to the user by calling the JDBC API isValid
xa-data-sourceVALUEBooleanSupport for distributed transactions

See the manifest for all available types.