1.最近在看 ibatis的相关东西,在配置SqlMapConfig.xml,查询数据时,遇到个错误:
我的SqlMapConfig.xml文件如下
把SqlMapConfig.xml 中settings 去掉 结构就不报错了,查询原因为:SqlMapConfig.xml中的配置按照
"(properties?,settings?,resultObjectFactory?,typeAlias*,typeHandler*,transactionManager?,sqlMap+)+". 这个顺序写配置,结果就不报错了