ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eugeny N Dzhurinsky <eugeny...@jdevelop.com>
Subject Re: iterate over 2 collections
Date Wed, 03 Aug 2005 12:50:32 GMT
On Wed, Aug 03, 2005 at 01:47:45PM +0100, James, Steven wrote:
> if this is just an issue with isnotnull could you not just add a geter 
> int getFieldsize(){
>     return fields.size();
> }
> then in the xml map
> <isGreaterThan property="fieldSize" compareValue="0">
> </isGreaterThan>
> or is this an issue with the iterate?

it is iterate-related issue. I need to construct the query depending if the
some bean property is null, and if it is - don't include in in the query,
otherwise - include it in the query.

-- 
Eugene N Dzhurinsky

Mime
View raw message