Hibernate
Hibernate is a Java object-relational mapping and persistence framework that maps Java objects to relational database data and manages their persistence.
Java Persistence with Spring Data and Hibernate epub
Hibernate is an open-source Java object-relational mapping framework that implements the Jakarta Persistence API and provides additional persistence features.
- How it is used
- Uses Hibernate as a JPA provider and native ORM layer for Java applications persisting objects in SQL databases.
- How deep it goes
- Explains configuration, mappings, dirty checking, flush timing, and SQL consequences through worked persistence examples.
- Examples
- Demonstrates message persistence, ordered image collections, and updates to managed Item entities.
- What you can do after
- Apply Hibernate through JPA or its native API to configure persistence, store and load entities, and assess mapping consequences.
Read how Java Persistence with Spring Data and Hibernate epub explains Hibernate →
Test Driven: Practical TDD and Acceptance TDD for Java Developers
Hibernate is a Java object-relational mapping framework that maps Java objects to relational database structures and supports their persistence.
- How it is used
- Uses Hibernate to test-drive Java data-access objects while reducing object-to-column mapping boilerplate.
- How deep it goes
- Explains mapping defaults and Hibernate queries, then works through mock-based DAO tests and a database integration-test outline.
- Examples
- Uses a Person DAO that queries by last name and an integration test that saves and retrieves a Person by ID.
- What you can do after
- Apply it via Hibernate to query and persist domain objects, and test DAO behavior with mocks and a database.
Read how Test Driven: Practical TDD and Acceptance TDD for Java Developers explains Hibernate →
Also covered in
- Spring Start Here, Second EditionIn early access (MEAP)
- Troubleshooting Java: Read, debug, and optimize JVM applications
- Troubleshooting Java, Second Edition
- Simple Object-Oriented Design: Create clean, maintainable applications
What to know first
- JDBCJDBC (Java Database Connectivity) is the standard Java API for connecting to databases, executing SQL statements, and processing results.
- SQLSQL is a standardized declarative language for defining, querying, and manipulating data in relational database systems.
- accessor methodAn accessor method or function is a callable that reads, computes, or assigns a value associated with a property, field, or data element.
- authenticationAuthentication is the process of verifying the claimed identity of a user, service, device, or other entity.
Related concepts
- JPAimplements · JPA, now Jakarta Persistence, is a Java standard API for mapping objects to relational data and managing their persistence.
- JPA implementationkind of · A JPA implementation is software that implements the Java Persistence API for mapping objects to relational data and performing persistence operations.
- SQLproduces · SQL is a standardized declarative language for defining, querying, and manipulating data in relational database systems.
- frameworkkind of · A software framework is a reusable foundation of components, conventions, and supporting mechanisms that structures application development and provides common functionality and extension points.
- relational databaseuses · A relational database organizes structured data according to the relational model, typically as tables of rows and columns with defined relationships.
- object-relational mapperkind of · An object-relational mapper is software that maps between programming-language objects and operations and relational database structures and operations.
Questions about Hibernate
What is Hibernate?
Hibernate is a Java object-relational mapping and persistence framework that maps Java objects to relational database data and manages their persistence.
Which Manning books explain Hibernate?
Java Persistence with Spring Data and Hibernate epub and Test Driven: Practical TDD and Acceptance TDD for Java Developers.
What should I know before learning Hibernate?
Manning books that teach Hibernate usually introduce JDBC, SQL, accessor method and authentication first.
What is Hibernate a kind of?
Hibernate is a kind of JPA implementation. A JPA implementation is software that implements the Java Persistence API for mapping objects to relational data and performing persistence operations.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

