ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brandon Goodin <brandon.goo...@gmail.com>
Subject Re: compareProperty with Boolean or boolean ?
Date Wed, 13 Apr 2005 21:42:20 GMT
The "true" should compare fine against a Boolean object. I ran a test
to double check the functionality. Basically it gets
Boolean.toString() and performs a compare between  the compareValue
and the Boolean.toString().

Brandon

On 4/13/05, erlend.bjorge@aftenposten.no <erlend.bjorge@aftenposten.no> wrote:
>  
> Hi there! 
>   
> Is it not possible to have: for Boolean: 
>   
> <isEqual prepend="and" compareProperty="booleanObjectProp"
> compareValue="true"> 
>   
> or similar for boolean ? 
>   
>  
> <isGreaterThen prepend="and" 
> compareProperty="booleanPrimitiveProp"
> compareValue="false"> 
>   
> ???? 
>   
> Have tried most combinations with 
>   
> isBooleanObjectProp() 
> getBooleanObjectProp() 
> isBooleanPrimitveProp() 
>   
> etc, it still don't include the and boolean/Boolean clause of mine. 
>   
> Any suggestion ? 
>   
>   
>   
> Thanks! 
> Erlend Bjørge

Mime
View raw message