added mybatis support