Using IBM Business Process Manager SQL Integration services
To integrate with an external database, you can use the SQL Integration services available in the IBM® BPM System Data Toolkit.
Before you begin
To perform this task, you must be in the IBM Process Designer desktop editor.
About this task
During IBM BPM installation, the System Data toolkit is imported into the Process Center repository so that each process application and toolkit that you create has access to IBM BPM system data. The System Data toolkit includes SQL Integration services to enable you to easily integrate with external databases.
The SQL Integration services support common database interactions, including support for parameterized queries. In addition, these services can automatically map query results directly into the relevant variable type. The SQL Integration services enable you to develop implementations to:
- Read existing data from a database
- Update existing data in a database
- Write new data to a database
In addition, when passing data between IBM BPM and a connected database, the SQL Integration services enable you to specify certain types of data (like integers, BLOBs, and CLOBs).
java.sql.SQLException: DSRA9350E: Operation Connection.commit
is not allowed during a global transaction.
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.commit
(WSJdbcConnection.java:1092)
at teamworks.sql.SQLExecutor.executeInTransaction
(SQLExecutor.java:111)
at teamworks.SQLConnector.executeMultiple
(SQLConnector.java:263)
The SQL Integration services are Java-based integrations that bind to a specific method in the teamworks.SQLConnector Java class. Although you cannot alter the SQL Integration services, you can open them in the Designer in IBM Process Designer to see the method implemented by each one and the available input and output variables as outlined in the following procedure.
Procedure
What to do next
To use a SQL Integration service in an implementation, you can:
- Select a SQL Integration service as the implementation for an activity as described in Implementing activities in a BPD .
- Nest a SQL Integration service in another service by dragging it from the library to the diagram of the parent service.