Use properties file to configure mybatis.