单项选择题
SqlSessionFactoryBean的()属性用于指定数据源。
A.configLocation
B.mapperLocations
C.dataSource
D.typeAliasesPackage
点击查看答案
相关考题
-
单项选择题
在MyBatis-Spring子项目中,通过()生成SqlSessionFactory。
A.SqlSessionFactoryBean
B.StringBuilder
C.SqlSession
D.FactoryBean -
单项选择题
通过在Spring配置文件中配置SqlSessionFactoryBean,最终返回的是()类型的Bean。
A.SqlSessionFactoryBean
B.SqlSessionFactory
C.SqlSession
D.FactoryBean -
单项选择题
使用()帮助将MyBatis 代码无缝地整合到Spring 中。
A.MyBatis
B.MyBatis-Spring
C.SpringMVC
D.无需任何其他jar包
