
MYBATIS
J丿Y
这个作者很懒,什么都没留下…
展开
-
IDEA手把手搭建SSM项目
手把手搭建SSM项目 一、创建maven项目 在pom.xml文件夹中 配置SSM所需要的jar包 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchem...原创 2020-05-22 14:59:59 · 249 阅读 · 0 评论 -
MyBatis
MyBatis与hibernate优缺点比较 1、mybatis半自动化模式操作数据,hibernate完全面向对象操作数据 2、mybatis运行的性能高于hibernate的性能,因为hql要转化为sql,db才能识别 3、mybatis的开发效率低于hibernate的开发速度,写sql,写配置 4、mybatis应用在互联网项目的开发,hibernate用在传统的MIS系统开发 5、mybatis 自己写sql比hibernate更加方便灵活 通过在xml配置文件中写sql语句来进行加载。 使..原创 2020-05-22 14:12:00 · 134 阅读 · 0 评论