Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 8 JDBC Palette : JDBC Call Procedure

JDBC Call Procedure
Activity
The JDBC Call Procedure activity calls a database procedure using the specified JDBC connection.
If this activity is not part of a transaction group, the SQL statement is committed after the activity completes. If this activity is part of a transaction group, the SQL statement is committed or rolled back with the other JDBC activities in the group at the end of the transaction. See TIBCO ActiveMatrix BusinessWorks Process Design for more information about creating groups for transactions.
If you want to override the default behavior of transaction groups for certain JDBC activities in a transaction group, you can check the Override Transaction Behavior field on the Advanced tab. This specifies that the activity is outside of the transaction and the SQL statement is committed when the activity completes, even if the activity is in a transaction group.
The Refresh button on this activity allows you to synchronize the activity with the contents of the database. This is useful if you make a change to the database while you are editing a process definition containing this activity in TIBCO ActiveMatrix BusinessWorks.
Configuration
The Configuration tab has the following fields.
Note: The input parameters and output parameters are displayed when you use the Select Procedure/Function button. TIBCO Designer retrieves the signature of each stored procedure/function from the database once. If you change the signature while editing your project, you must click the Refresh button to retrieve the changes from the database.
Advanced
The Advanced tab has the following fields.
Note: Many databases treat empty strings and nulls as the same, so this field will not affect how the database interprets empty strings.
Input
The input for this activity is dependent upon the input parameters of the database procedure.
Specifies the time zone for the database server. See Time Zone Construction for more information about how time zones are constructed using this field.
Output
The output for the activity is dependent upon the output parameters of the database procedure.
See TIBCO ActiveMatrix BusinessWorks Release Notes for a more detailed description of this procedure.
This is an optional element that appears only when the property java.property.bw.activity.output.stats.elapsedTime.JDBCCallActivity is set to true in designer.tra. For run-time, set the property to true in the bwengine.tra file. By default, the property is set to false.
You can turn off the property and not calculate the elapsed time at run-time by setting the property java.property.bw.activity.output.stats.elapsedTime.turnoff in the bwengine.tra file. However, note that setting this property will turn off the calculation of elapsed time at run-time for all the JDBC activities.
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information about error codes and corrective action to take.

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved