单项选择题
关于ResultType取值错误的是()。
A.<select id="selectPersonCount"resultType="Integer">select count(*)from person</select>
B.<select id="selectPersonCount"resultType="int">select count(*)fromperson</select>
C.<select id="selectPersonCount"resultType="_int">select count(*)fromperson</select>
D.<select id="selectPersonCount"resultType="java.lang.Integer">select count(*)fromperson</select>
点击查看答案
相关考题
-
单项选择题
MyBatis拦截器需要实现的接口是()。
A.AbstractInterceptor
B.usecenerate dKeys
C.Plugin
D.AbstractPlugin -
多项选择题
以下属于MyBatis设计模式的是()。
A.Builder模式
B.autoMappingBehavior
C.单例模式
D.代理模式 -
单项选择题
关于MyBatis的全局配置文件中,settings元素设置项的默认值为false的是()。
A.cacheEnabled
B.cacheEnabledlazyLoadingEnabled
C.autoMappingBehavior
D.useGeneratedKeys
