Connecting To Jndi Data Sources - MACROMEDIA COLFUSION MX 7 - CONFIGURING AND ADMINISTERING COLDFUSION MX Manual

Hide thumbs Also See for COLFUSION MX 7 - CONFIGURING AND ADMINISTERING COLDFUSION MX:
Table of Contents

Advertisement

Setting
Restrict Connections To Specifies the maximum number of database connections for the data
Maintain Connections
Max Pooled Statements Enables reuse of prepared statements (that is, stored procedures and
Timeout (min)
Interval (min)
Disable Connections
Login Timeout (sec)
CLOB
BLOB
LongText Buffer
BLOB Buffer
Allowed SQL

Connecting to JNDI data sources

Use the settings in the following table to connect ColdFusion MX to JNDI data sources that have
been defined for a J2EE application server (multiserver and J2EE configurations only):
Setting
CF Data Source Name
JNDI Name
Username
Description
source. To use this restriction, you must enable the Limit Connections
option.
ColdFusion MX establishes a connection to a data source for every
operation that requires one. Enable this option to improve performance by
caching the data source connection.
queries that use the
cfqueryparam
based on your application, start by setting it to the sum of the following:
• Unique
tags that use the
cfquery
• Unique
cfstoredproc
The number of minutes that ColdFusion MX maintains an unused
connection before destroying it.
The time (in minutes) that the server waits between cycles to check for
expired data source connections to close.
If selected, suspends all client connections.
The number of seconds before ColdFusion MX times out the data source
connection login attempt.
Select to return the entire contents of any CLOB/Text columns in the
database for this data source. If not selected, ColdFusion MX retrieves the
number of characters specified in the Long Text Buffer setting.
Select to return the entire contents of any BLOB/Image columns in the
database for this data source. If not selected, ColdFusion MX retrieves the
number of characters specified in the BLOB Buffer setting.
The default buffer size; used if Enable Long Text Retrieval(CLOB) is not
selected. The default value is
The default buffer size; used if the BLOB option is not selected. The
default value is
bytes.
64000
The SQL operations that can interact with the current data source.
Description
The data source name (DSN) used by ColdFusion MX to connect to the
data source.
The JNDI location in which the J2EE application server stores the data
source.
The user name that ColdFusion MX passes to JNDI to connect to JNDI if
a ColdFusion application does not supply a user name (for example, in a
tag).
cfquery
tag). Although you tune this setting
cfqueryparam
tags
bytes.
64000

Connecting to JNDI data sources

tag
63

Advertisement

Table of Contents
loading

Table of Contents