Search code examples
javaibatis

ibatis java.util.Map parameters with dot(.) character


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


Solution

  • 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.