Invoking SQL Integration service flows
To integrate with an external database, you can use the SQL Integration service flows that are available in the Business Automation Workflow System Data Toolkit by using Process Designer.
Before you begin
Traditional:
Your
Business Automation Workflow administrator
must have defined the data sources that are needed for your SQL integrations, by using the admin
console.
V21.0.3
To integrate with SQL, update the Liberty configuration and add the driver files to your persistent storage, see Enabling the Liberty feature to integrate with SQL.
.
- If your database type is not Db2, you must make the JDBC driver available in NFS_storage_directory/db/jdbc. For more information, see Preparing storage . See also IBM Cloud Pak for Business Automation: Preparing storage.
- Define a data source in a Liberty server.xml snippet, by using a custom resource. For more information, see Customizing runtime server properties and Configuring relational database connectivity in Liberty.
- If you use SQL Integration services that read from files or write data to files, for example,
SQL Blob to File, SQL Clob to File, SQL File to Blob, or SQL File to
Clob,
you must prepare a Persistent Volume, as described in the step "Prepare storage for IBM Business
Automation Workflow" in Preparing storage.
See also IBM Cloud Pak for Business Automation: Preparing
storage.
You then use those files from this Persistent Volume when starting the various SQL Integrations.
About this task
The System Data toolkit includes SQL Integration capabilities that enable you to easily integrate with external databases.
The SQL Integration service flows support common database interactions, including support for parameterized queries. These service flows can automatically map query results directly into the relevant variable type. The SQL Integration service flows enable you to develop implementations to:
- Read existing data from a database.
- Insert new data to a database.
- Call-stored procedures in your database.
When passing data between Business Automation Workflow and a connected database, the SQL Integration service flows enable you to specify SQL data types such as integers, BLOBs, and CLOBs.
SQL Execute Statement
SQL Execute Statement (SQLResult)
SQL Execute Multiple Statements
SQL Execute Multiple Statements (SQLResult)
SQL Execute Script (SQLResult)
SQL Call Stored Procedure
SQL Call Stored Procedure (SQLStatement)
SQL Call Stored Procedure (SQLResult)
SQL Call Multiple Stored Procedures
SQL Call Multiple Stored Procedures (SQLResult)
SQL File to Blob
SQL File to Blob (SQLStatement)
SQL Blob to File
SQL Blob to File (SQLStatement)
SQL File to Clob
SQL File to Clob (SQLStatement)
SQL Clob to File
SQL Clob to File (SQLStatement)
SQL Get Database Type
SQLConnector
is an undocumented implementation
detail.