ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Coast <nat...@codeczar.com>
Subject Re: nested properties as query parameters?
Date Thu, 03 Feb 2005 11:36:37 GMT
thanks Michal,

the example you mention is for a resultMap not a parameterClass, is it 
still OK.   When I tried some code it threw an error so assumed it 
wasn't legal. If it is allowed then I guess I got something else wrong.

cheers Nathan

Michal Malecki wrote:
> It's legal, you can check example in manual, page 26 top
> Michal Malecki
> ps what sqlmap lacks are nested loops (iterate inside iterate). maybe one
> day I will play with it ;)
> 
> 
>>is this sytax legal?
>>
>>#album.id#
>>
>>this would be resolved as the id property of the album property of the
>>parameterClass object.
>>
>>if not, would it be possible to adopt the commons-beanutils sytax for
>>resolving properties?
>>
>>
> 
> http://jakarta.apache.org/commons/beanutils/api/org/apache/commons/beanutils/PropertyUtilsBean.html
> 
>>
>>just a suggestion....
>>
>>afaict only simple properties are supported, using beanutils property
>>resolution should be backwards compatible at the same time enabling
>>nested, indexed and mapped properties.
>>
>>cheers Nathan
>>
>>-- 
>>Nathan Coast
>>Managing Director
>>Codeczar Ltd
>>mob : (852) 9049 5581
>>tel : (852) 2834 8733
>>fax : (852) 2834 8755
>>web : http://www.codeczar.com
>>
> 
> 
> 
> 
> 

-- 
Nathan Coast
Managing Director
Codeczar Ltd
mob : (852) 9049 5581
tel : (852) 2834 8733
fax : (852) 2834 8755
web : http://www.codeczar.com

Mime
View raw message