1.什么是ORM:
orm:object/relational mapping 对象关系映射
2.使用orm框架的好处:
可以对数据库进行面向对象编程,不用自己编写sql语句,这样做的好处就是不用考虑使用了什么数据库,orm框架对数据库的操作进行了封装。
3.常用的orm框架有哪些:
(1)hibernate
(2) mybatis(前身是ibatis)
(3)EJB 重量级的,数据javaee规范