Refactoring MyBatis, part 2