Advanced configure MyBatis