Hilbernate: is a standard ORM framework (Object Relational mapping), the entry threshold is higher, do not need to write the program Sql,sql statement automatically generated.
It is difficult to modify SQL statements.
Application Scenarios:
Suitable for small and medium-sized projects with little change in demand
Backend management system, ERP, ORM, OA
Mybatis: Focus on the SQL itself, requires programmers to write their own SQL statements, SQL modification, optimization is more convenient, Mybatis is an incomplete ORM framework.
Although the programmer writes Sql,mybatis himself, it can also implement mappings (input mappings, output mappings).
Application Scenarios:
Suitable for projects with more changes in demand,
For example: Internet projects.
Enterprises to choose technology, low-cost, high return as the principle of technology selection.
According to the technical force of the project team to choose, the application of the project itself technology.
2016.5.28 Mybatis Framework (vii) Hilbernate and Mybatis essential differences and application scenarios