mybatis 是什么?
官方文档:
1.定义
MyBatis is a first class persistence framework with support for custom SQL, stored procedures and advanced mappings(MyBATIs是支持自定义SQL、存储过程和高级映射的第一类持久性框架。)
2.优势
MyBatis eliminates almost all of the JDBC code and manual setting of parameters and retrieval of results.(MybATIS消除了几乎所有的JDBC代码和手动设置参数和检索结果。)
3.实现
MyBatis can use simple XML or Annotations for configuration and map primitives, Map interfaces and Java POJOs (Plain Old Java Objects) to database records.(MyBATIs可以使用简单的XML或注释来配置和地图原语、MAP接口和Java POJOS(朴素的Java对象)到数据库记录。)