在MyBatis中,可以通过( )方式配置properties?

在MyBatis中,可以通过( )方式配置properties?

A.在MyBatis核心配置文件中编写properties元素

B.通过properties元素的resource属性指定外部properties文件

C.通过dataSource元素指定外部properties文件

D.在SQL映射文件中编写properties元素

正确答案是AB