href="http://www.hibernate.org/hib_docs/v3/reference/en/shared/css/html.css" type="text/css" rel="stylesheet" />
title="HIBERNATE - Relational Persistence for Idiomatic Java" href="index.html" rel="home" /> title="Preface" href="preface.html" rel="next" />
目录
-
前言
1. Hibernate入门
- 2. 体系结构
- 3. 配置
- 4. Persistent Classes
- 5. Basic 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.5. Enhanced identifier generators 5.1.6. Identifier generator optimization 5.1.7. composite-id 5.1.8. discriminator 5.1.9. version (optional) 5.1.10. timestamp (optional) 5.1.11. property 5.1.12. many-to-one 5.1.13. one-to-one 5.1.14. natural-id 5.1.15. component, dynamic-component 5.1.16. properties 5.1.17. subclass 5.1.18. joined-subclass 5.1.19. union-subclass 5.1.20. join 5.1.21. key 5.1.22. column and formula elements 5.1.23. import 5.1.24. any
5.2. Hibernate Types
- 5.3. Mapping a class more than once 5.4. SQL quoted identifiers 5.5. Metadata alternatives
- 5.6. Generated Properties 5.7. Auxiliary Database Objects
6. Collection Mapping
-
- 7. Association Mappings
- 8. Component Mapping
- 9. Inheritance Mapping
-
-
9.1. The Three Strategies
-
-
9.1.1. Table per class hierarchy
9.1.2. Table per subclass
9.1.3. Table per subclass, using a discriminator
9.1.4. Mixing table per class hierarchy with table per subclass
9.1.5. Table per concrete class
9.1.6. Table per concrete class, using implicit polymorphism
9.1.7. Mixing implicit polymorphism with other inheritance mappings
9.2. Limitations
10. Working with objects
-
-
-
10.1. Hibernate object states
10.2. Making objects persistent
10.3. Loading an object
10.4. Querying
- 10.5. Modifying persistent objects 10.6. Modifying detached objects 10.7. Automatic state detection 10.8. Deleting persistent objects 10.9. Replicating object between two different datastores 10.10. Flushing the Session 10.11. Transitive persistence 10.12. Using metadata
11. Transactions And Concurrency
- 12. Interceptors and events
- 13. Batch processing
- 14. HQL: The Hibernate Query Language
-
-
14.1. Case Sensitivity
14.2. The from clause
14.3. Associations and joins
14.4. Forms of join syntax
14.5. Refering to identifier property
14.6. The select clause
14.7. Aggregate functions
14.8. Polymorphic queries
14.9. The where clause
14.10. Expressions
14.11. The order by clause
14.12. The group by clause
14.13. Subqueries
14.14. HQL examples
14.15. Bulk update and delete
14.16. Tips & Tricks
14.17. Components
14.18. Row value constructor syntax
15. Criteria Queries
- 16. Native SQL
- 17. Filtering data
- 18. XML Mapping
- 19. Improving performance
- 20. Toolset Guide
- 21. Example: Parent/Child
- 22. Example: Weblog Application
- 23. Example: Various Mappings
- 24. Best Practices