单项选择题
applicationContext.xml配置文件中开启注解方式管理AOP事务的是()
A.<property name="driverClass"value="com.mysql.jdbc.Driver"></property>
B.<context:component-scan base-package="com.mhys"></context:component-scan>
C.<tx:annotation/>
D.<tx:annotation-driven/>
点击查看答案&解析
相关考题
-
单项选择题
JdbcTemplate常用的删除方法是()
A.insert
B.update
C.delete
D.query -
单项选择题
Spring中controller层使用的注解是()
A.@Service
B.@Resource
C.@Controller
D.@Repository -
单项选择题
Spring中service层使用的注解是()
A.@Service
B.@Resource
C.@Controller
D.@Repository
