java - Mybatis 和hibernate 有哪些相同点,有什么 区别?
黄舟
黄舟 2017-04-17 16:03:40
0
2
573

各位大神,这个是面试题啊,小弟是菜鸟,最好,用比较通俗的话说,最好不要直接 百度copy 其他人的,最好是自己处理总结过的,因为,本人已经百度了很多次了。

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(2)
大家讲道理

1. Mybatis is lightweight, while hibernate is heavier.
2. Mybatis is semi-automated and you need to write sql by yourself. Hibernate generally uses annotations and hql for database operations. Of course, you can also use native sql
3. Generally speaking, the learning curve of mybatis is flatter, and it is also suitable for occasions that pay more attention to the efficiency of database operations

左手右手慢动作

I have read your two questions in a row. I suggest you stick with Baidu/Google

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template