• 8.11 DAy39---MyBatis面试题


    目录

    MyBatis与MyBatis Plus的区别:

    Mapper接口与Mapper.xml怎么绑定:

    接口中的方法与xml中的标签怎么绑定:

    动态SQL标签有哪些:

    什么是ORM:

    MyBatis查询结果怎么映射为Java对象的:


    MyBatis与MyBatis Plus的区别:

    MyBatis本是apache的一个开源项目

    MyBatis Plus是国内一家苞米豆公司对MyBatis进行的二次封装

    MyBatis没有BaseMapper接口,需要自己在xml文件中写SQL语句

    MyBatis没有条件构造器,需要自己在xml中用条件标签写条件子句

    Mapper接口与Mapper.xml怎么绑定:

    通过xml文件中的,实现接口与xml绑定

    接口中的方法与xml中的标签怎么绑定:

    xml中提供了