no, however you can place it in a map with the key "parentIds" and use
the same syntax in the body of the select. Only, change your
parameterClass to a map.


On Wed, 15 Dec 2004 13:49:39 -0700, Nathan Maves <[EMAIL PROTECTED]> wrote:
> can you specify an array as a valid parameter class?
> 
> i.e.
> 
> <select id="getReportIdsByParentIds" resultClass="string"
> parameterClass="java.lang.String[]"> <!--Not Sure what to put for the
> parameter type-->
>         select
>             report_id
>         from
>             rv_report_hierarchy
>         where
>             parent_id in  (
>                 <iterate property="parentIds" conjunction=",">
>                     #parentIds[]#
>                 </iterate>
>             )
>     </select>
> 
>

Reply via email to