多项选择题

A.在MyBatis核心配置文件中编写properties元素
B.通过properties元素的resource属性指定外部properties文件
C.通过dataSource元素指定外部properties文件
D.在SQL映射文件中编写properties元素