0
在sqlmap中通過索引尋址數組是可能的嗎?在iBATIS 2中尋址數組索引
我要的是:
class A {
String[] foo = {"",""};
}
<resultMap id="someResultMap" class="A">
<result property="foo[0]" column="COLUMN_Y" />
<result property="foo[1]" column="COLUMN_X" />
</resultMap>
如果我嘗試,我得到:
There is no WRITEABLE property named 'foo[0]' in class 'A'