iT
o
u
r
贺成德 学习笔记
DISTINCT..............................................................................................................................................................24
UNION.................................................................................................................................................................. 24
CONCAT................................................................................................................................................................25
取相交项 ............................................................................................................................................................26
排除相交项 ........................................................................................................................................................26
子查询 ................................................................................................................................................................27
IN 操作 ...................................................................................................................................................................27
JOIN......................................................................................................................................................................28
5 存储过程..................................................................................................................................................................29
6 探究特性..................................................................................................................................................................37
6.1 延迟执行 .......................................................................................................................................................37
6.2DATALOADOPTIONS....................................................................................................................................... 38
6.3DATALOADOPTIONS 限制 .................................................................................................................................39
6.4 主键缓存 .......................................................................................................................................................41
6.5DATACONTEXT 隔离 .........................................................................................................................................41
7 并发与事务..............................................................................................................................................................42
8 继承与关系..............................................................................................................................................................46
8.1 论坛表结构 ...................................................................................................................................................46
8.2 实体继承的定义 ...........................................................................................................................................47
8.3 实体继承的使用 ...........................................................................................................................................48
8.4 实体关系的定义 ...........................................................................................................................................50
9 其它补充..................................................................................................................................................................54
9.1 外部映射文件 ...............................................................................................................................................54
9.2 处理空值 .......................................................................................................................................................54
9.3 已编译查询 ...................................................................................................................................................55
9.4 获取一些信息 .............................................................................................................................................55
9.5 撤销提交 .......................................................................................................................................................56
9.6 批量操作 .......................................................................................................................................................56
10 分层构架的例子....................................................................................................................................................56
纵横天地旅行网 机票项目组