目录
- 前言
- 1. 在Tomcat中快速上手
- 2. 体系结构
- 3. SessionFactory配置
- 4. 持久化类(Persistent Classes)
- 5. O/R Mapping基础
-
- 5.1. 映射声明(Mapping declaration)
-
- 5.1.1. Doctype
- 5.1.2. hibernate-mapping
- 5.1.3. class
- 5.1.4. id
- 5.1.2. hibernate-mapping
- 5.1.5. composite-id 联合ID
- 5.1.6. 识别器(discriminator)
- 5.1.7. 版本(version)(可选)
- 5.1.8. 时间戳(timestamp )(可选)
- 5.1.9. property
- 5.1.10. 多对一(many-to-one)
- 5.1.11. 一对一
- 5.1.12. 组件(component), 动态组件(dynamic-component)
- 5.1.13. 子类(subclass)
- 5.1.14. 连接的子类(joined-subclass)
- 5.1.15. map, set, list, bag
- 5.1.16. 引用(import)
- 5.1.6. 识别器(discriminator)
- 5.1.1. Doctype
- 5.2. Hibernate 的类型
- 5.3. SQL中引号包围的标识符
- 5.4. 映射文件的模块化(Modular mapping files)
- 6. 集合类(Collections)映射
-
- 6.1. 持久化集合类(Persistent Collections)
- 6.2. 映射集合(Mapping a Collection)
- 6.3. 值集合和多对多关联(Collections of Values and Many-To-Many Associations)
- 6.4. 一对多关联(One-To-Many Associations)
- 6.5. 延迟初始化(延迟加载)(Lazy Initialization)
- 6.6. 集合排序(Sorted Collections)
- 6.7. 使用<idbag>
- 6.8. 双向关联(Bidirectional Associations)
- 6.9. 三重关联(Ternary Associations)
- 6.10. 异类关联(Heterogeneous Associations)
- 6.11. 集合例子(Collection example)
- 6.2. 映射集合(Mapping a Collection)
- 6.1. 持久化集合类(Persistent Collections)
- 7. 组件(Component)映射
- 8. 继承映射(Inheritance Mappings)
- 9. 操作持久化数据(Manipulating Persistent Data)
- 10. 事务和并行(Transactions And Concurrency)
- 11. Hibernate查询语言(Query Language), 即HQL
- 12. 条件查询(Criteria Query)
- 13. 原生SQL查询
- 14. 性能提升(Improving performance)
- 15. 工具箱指南
- 16. 示例:父子关系(Parent Child Relationships)
- 17. 示例:Weblog 应用程序
- 18. 示例:不同的映射
- 19. 最佳实践(Best Practices)
声明:LUPA开源社区刊登此文只为传递信息,并不表示赞同或者反对。



