单项选择题
当查询方法的返回值类型为List时,对应元素的resultType为(),其中Student类的别名为Student。
A.Student
B.List
C.List< Student>
D.java.util.List
点击查看答案
相关考题
-
单项选择题
当Mapper接口使用Map集合入参时,SQL语句通过()使用Map集合中的元素值。
A.#{map.key}
B.#{map.value}
C.#{key}
D.#{value} -
单项选择题
Mapper接口有如下方法public void insert(Student stu)则SQL映射文件中通过()使用Student的name属性。
A.#{name}
B.@{name}
C.#{stu.name}
D.@{stu.name} -
单项选择题
在MyBatis中的SQL映射文件中,通常使用()元素实现查询操作。
A.insert
B.delete
C.update
D.select
