单项选择题
DefaultSqlSession和SqlSessionTemplate都实现了()接口。
A.SqlSession
B.SqlSessionFactory
C.SqlSessionFactoryBuilder
D.ApplicationContext
点击查看答案
相关考题
-
单项选择题
在Spring和MyBatis整合时,通过SqlSessionFactoryBean的()属性指定映射文件的位置。
A.configLocation
B.mapperLocations
C.dataSource
D.typeAliasesPackage -
单项选择题
SqlSessionFactoryBean的()属性用于指定数据源。
A.configLocation
B.mapperLocations
C.dataSource
D.typeAliasesPackage -
单项选择题
在MyBatis-Spring子项目中,通过()生成SqlSessionFactory。
A.SqlSessionFactoryBean
B.StringBuilder
C.SqlSession
D.FactoryBean
