mybatis configuration and added example code