tags:

views:

183

answers:

2

I have a parameters Map with property name "xx.xx", but Ibatis cannot know property named "xx.xx" ("xxxx" is ok).

how can I use Map property with name contains dot(.) character? or I have to remove the dot(.).

Thanks very much

Thang Hoang

A: 

Do you mean something like this ("Get value from bean within a bean") which is what my BeanPropertyController does? I don't know if this is even possible with IBATIS, but I know my utility can do that... :)

Esko
+4  A: 

iBatis uses JavaBean naming conventions, and "xx.xx" isn't a valid JavaBean property name. I think you're going to have to change those map keys to something more conventional, before feeding it to iBatis.

skaffman
right! I should change my property.
Thang Hoang