I am having problems branching off the results of a JDBC DynamicSQL adapter service. I am running JDBC adapter version 6.0.3 on webMethods platform v6.1. against an Oracle database (v8.1.7). I am using the DynamicSQL service to execute a select statement (which allows me to dynamically create the where clause). If results are returned, I need to modify the data, if no results are returned, then I need to proceed differently.
The problem seems to be with the “results” array structure. If no records are returned, an empty structure is created. I cannot figure out how to branch on an “empty” structure.
Does anyone have any examples or ideas on how to branch on the results without looping through the results or executing another select statement to do a row count?
thanks in advance,