To integrate with an external database, you can use the SQL Integration services available in the IBM® BPM System Data Toolkit.
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:
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.
To use a SQL Integration service in an implementation, you can: