单项选择题
A.prefixB.suffixC.overrideD.trim
A.resultTypeB.resultMapC.associationD.collection
A.resultType表示返回值类型为:完整类名或别名,也允许使用基本的数据类型,包括String 、int类型B.resultType和resultMap的数据结构是一样的,都是Map结构C.如果PoJo的属性名与SQL语句查询出来的字段名不一致的话,也可使用resultType来进行结果的自动映射D.resultType和resultMap不能同时使用
A.select *from foo where bar like #{value}B.select *from foo where bar like #{%value%}C.select *from foo where bar like %#{value}%D.select *from foo where bar like "%"${value}"%"
微信扫一扫,加关注免费搜题