chore(engine): bump mybatis version to to 3.2.4

- upgrade mybatis dependency to 3.2.4
- fix compatibility issues

related to #CAM-1481