相关考题
-
单项选择题
可以使用()标签动态的为SQL语句添加where关键字。
A.1
B.10
C.TRUE
D.FALSE -
单项选择题
使用MyBatis执行以下SQL语句:select stuname as name from student下列()配置能将数据库中stuname列的值映射到stuName属性。
A.< result column="stuname"property="stuName"/>
B.< result column="stuname"property="name"/>
C.< result column="name"property="userName"/>
D.< result column="name"property="stuName"/> -
单项选择题
使用MyBatis时经常使用动态SQL来组装SQL语句,关于动态SQL的描述正确的是()
A.动态SQL是在运行时被编译
B.动态SQL是在运行前被编译
C.只有查询中能使用动态SQL
D.MyBatis本身不支持动态SQL,需要Spring辅助实现
