Parameters ibatis java.util.Map with dot symbol (.)

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

How can I use the Map property with a name containing a period character (.)? or I need to delete the dot (.).

Many thanks

Thang hoang

+3
source share
2 answers

iBatis uses the JavaBean naming convention, and "xx.xx" is not a valid JavaBean property name. I think you will have to change these card keys to something more traditional before submitting it to iBatis.

+6
source
-1

Source: https://habr.com/ru/post/1726444/


All Articles