单选题 使用()注入到数据访问层时,不需要实现类,扫描指定包下的所有Mapper接口,形成代理对象?

A、 SqlSessionFactory
B、 SqlSessionTemplate
C、 MapperFactoryBean
D、 MapperScannerConfigurer
下载APP答题
由4l***by提供 分享 举报 纠错

相关试题

单选题 在Spring中配置SqlSessionFactoryBean时,通过()属性指定MyBatis的核心配置文件位置?

A、configLocation
B、mapperLocations
C、dataSource
D、typeAliasesPackage

单选题 使用()帮助将 MyBatis 代码无缝地整合到 Spring 中

A、MyBatis
B、MyBatis-Spring
C、SpringMVC
D、无需任何其他jar包

单选题 可以在MyBatis核心配置文件中配置实体类别名,也可以配置SqlSessionFactoryBean的()属性?

A、configLocation
B、mapperLocations
C、dataSource
D、typeAliasesPackage

单选题 在MyBatis-Spring子项目中,通过()生成SqlSessionFactory?

A、SqlSessionFactoryBean
B、StringBuilder
C、SqlSession
D、FactoryBean

单选题 在Spring和MyBatis整合时,通过SqlSessionFactoryBean的()属性指定映射文件的位置?

A、configLocation
B、mapperLocations
C、dataSource
D、typeAliasesPackage

单选题 SqlSessionFactoryBean的()属性用于指定数据源?

A、configLocation
B、mapperLocations
C、dataSource
D、typeAliasesPackage

单选题 通过在Spring配置文件中配置SqlSessionFactoryBean,最终返回的是()类型的Bean?

A、SqlSessionFactoryBean
B、SqlSessionFactory
C、SqlSession
D、FactoryBean

单选题 在MyBatis-Spring子项目中提供了()包,实现Spring和MyBatis的整合?

A、spring-jdbc-version.jar
B、mybatis-spring-version.jar
C、druid-version.jar
D、mybatis-version.jar