MyBatis 主要是处理数据的持久化操作的一个轻量级框架,相对于Hibernate而言。
实现数据持久化操作主要有两点:
1. 底层配置文件
2. *Mapper.xml
3. Dao层接口 ***Dao.java
4. Util类 DBAccess.java 向外部输出SQLSession
5. 控制层
MyBatis 关键字
"," "=" "?" "||" "or" "&&" "and" "|" "bor" "^" "xor" "&" "band"
"==" "eq" "!=" "neq" "<" "lt"">" "gt" "<=" "lte" ">=" "gte" "in"
"not" "<<" "shl" ">>" "shr" ">>>" "ushr" "+" "-" "*" "/" "%" "."
"(""instanceof" "[" "]" <![CDATA[ <= ]]>
2019年1月1日大约 5 分钟