Hi again,
Is it possible to iterate over two (or more) collections SIMULTANEOUSLY
using the same indice ?
Here is a example:
<parameterMap id="create-data-table-param" class="java.util.HashMap">
<parameter property="names" javaType="string" /> <!-- really an
array of string -->
<parameter property="types" javaType="string" /> <!-- really an
array of string -->
</parameterMap>
<statement id="create-data-table"
parameterMap="create-data-table-param">
CREATE TABLE data
<!-- what would be the name to set in the property attribute
? -->
<iterate property="???" open="(" close=")" conjunction=",">
<!-- I want the names and types collections to be
iterated in synch -->
$names[]$ $types[]$
</iterate>
</statement>
Nested iterate statements won't do it because it produce n*n outputs
instead of just n (n is the number of elements in the collections).
Any help would be appreciated.