Spring
AI
Spring AI
Java
Quarkus Spring Spring Data Spring Cloud Hibernate
Python
Database
Postgresql Mysql
Hibernate ORM 中文操作指南
    • Preface
    • 1. Introduction
      • 1.1. Hibernate and JPA
      • 1.2. Writing Java code with Hibernate
      • 1.3. Hello, Hibernate
      • 1.4. Hello, JPA
      • 1.5. Organizing persistence logic
      • 1.6. Testing persistence logic
      • 1.7. Architecture and the persistence layer
      • 1.8. Overview
    • 2. Configuration and bootstrap
      • 2.1. Including Hibernate in your project build
      • 2.2. Optional dependencies
      • 2.3. Configuration using JPA XML
      • 2.4. Configuration using Hibernate API
      • 2.5. Configuration using Hibernate properties file
      • 2.6. Basic configuration settings
      • 2.7. Automatic schema export
      • 2.8. Logging the generated SQL
      • 2.9. Minimizing repetitive mapping information
      • 2.10. Nationalized character data in SQL Server
    • 3. Entities
      • 3.1. Entity classes
      • 3.2. Access types
      • 3.3. Entity class inheritance
      • 3.4. Identifier attributes
      • 3.5. Generated identifiers
      • 3.6. Natural keys as identifiers
      • 3.7. Composite identifiers
      • 3.8. Version attributes
      • 3.9. Natural id attributes
      • 3.10. Basic attributes
      • 3.11. Enumerated types
      • 3.12. Converters
      • 3.13. Compositional basic types
      • 3.14. Embeddable objects
      • 3.15. Associations
      • 3.16. Many-to-one
      • 3.17. One-to-one (first way)
      • 3.18. One-to-one (second way)
      • 3.19. Many-to-many
      • 3.20. Collections of basic values and embeddable objects
      • 3.21. Collections mapped to SQL arrays
      • 3.22. Collections mapped to a separate table
      • 3.23. Summary of annotations
      • 3.24. equals() and hashCode()
    • 4. Object/relational mapping
      • 4.1. Mapping entity inheritance hierarchies
      • 4.2. Mapping to tables
      • 4.3. Mapping entities to tables
      • 4.4. Mapping associations to tables
      • 4.5. Mapping to columns
      • 4.6. Mapping basic attributes to columns
      • 4.7. Mapping associations to foreign key columns
      • 4.8. Mapping primary key joins between tables
      • 4.9. Column lengths and adaptive column types
      • 4.10. LOBs
      • 4.11. Mapping embeddable types to UDTs or to JSON
      • 4.12. Summary of SQL column type mappings
      • 4.13. Mapping to formulas
      • 4.14. Derived Identity
      • 4.15. Adding constraints
    • 5. Interacting with the database
      • 5.1. Persistence Contexts
      • 5.2. Creating a session
      • 5.3. Managing transactions
      • 5.4. Operations on the persistence context
      • 5.5. Cascading persistence operations
      • 5.6. Proxies and lazy fetching
      • 5.7. Entity graphs and eager fetching
      • 5.8. Flushing the session
      • 5.9. Queries
      • 5.10. HQL queries
      • 5.11. Criteria queries
      • 5.12. A more comfortable way to write criteria queries
      • 5.13. Native SQL queries
      • 5.14. Limits, pagination, and ordering
      • 5.15. Key-based pagination
      • 5.16. Representing projection lists
      • 5.17. Named queries
      • 5.18. Controlling lookup by id
      • 5.19. Interacting directly with JDBC
      • 5.20. What to do when things go wrong
    • 6. Compile-time tooling
      • 6.1. Named queries and the Metamodel Generator
      • 6.2. Generated query methods
      • 6.3. Generating query methods as instance methods
      • 6.4. Generated finder methods
      • 6.5. Paging and ordering
      • 6.6. Key-based pagination
      • 6.7. Query and finder method return types
      • 6.8. An alternative approach
    • 7. Tuning and performance
      • 7.1. Tuning the connection pool
      • 7.2. Enabling statement batching
      • 7.3. Association fetching
      • 7.4. Batch fetching and subselect fetching
      • 7.5. Join fetching
      • 7.6. The second-level cache
      • 7.7. Specifying which data is cached
      • 7.8. Caching by natural id
      • 7.9. Caching and association fetching
      • 7.10. Configuring the second-level cache provider
      • 7.11. Caching query result sets
      • 7.12. Second-level cache management
      • 7.13. Session cache management
      • 7.14. Stateless sessions
      • 7.15. Optimistic and pessimistic locking
      • 7.16. Collecting statistics
      • 7.17. Tracking down slow queries
      • 7.18. Adding indexes
      • 7.19. Dealing with denormalized data
      • 7.20. Reactive programming with Hibernate
    • 8. Advanced Topics
      • 8.1. Filters
      • 8.2. Soft-delete
      • 8.3. Multi-tenancy
      • 8.4. Using custom-written SQL
      • 8.5. Handling database-generated columns
      • 8.6. User-defined generators
      • 8.7. Naming strategies
      • 8.8. Spatial datatypes
      • 8.9. Ordered and sorted collections and map keys
      • 8.10. Any mappings
      • 8.11. Selective column lists in inserts and updates
      • 8.12. Using the bytecode enhancer
      • 8.13. Named fetch profiles
    • 9. Credits
  • Hibernate ORM 中文操作指南
  • 9. Credits

Hibernate ORM 中文操作指南

9. Credits

可以在 GitHub repository 上找到 Hibernate ORM 的完整贡献者列表。

以下贡献者参与了本说明文档的编写:

  1. Gavin King

粤ICP备2024239452号-1