Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Performs a SQL query against a JDBC or JNDI data source. The query results are available as an output to the action. The query may contain references parameters be enclosing the parameter in curly braces. For example select * from myTable where department = '{dept}' would replace {dept} with the value of the parameter named "dept".

Component Name: SQLLookupRule

Inputs:

REQUIRED
JNDI Name - Name of the JNDI connection.

or the following JDBC information

JDBC Driver - The JDBC driver to use when connecting to the data source.
JDBC Connection String - The connection string identifying the location of the data source.
JDCB User Name - User name to use when connecting to the data source.
JDBC Password - Password to use when connecting to the data source.

OPTIONAL
Keep Connection Open _-- If selected the query results are retrieved from the data source as needed, otherwise the entire query results are brought over from the data source and cached in memory. It is recommended that you set this option with larger datasets. Never use this option if you are storing the resultset in the session.

Note: Any parameter may be referenced in the query by enclosing the parameter in curly braces.

Outputs:

Result Set Name-- The name of the parameter in which to store the query results.

TODO

Explain the PREPARE: parameter

  • No labels