- Full Description
Contains a collection of code recipes and templates for learning and building Hibernate solutions for you and your clients, including how to work with the Spring Framework and the JPA. Hibernate Recipes is your pragmatic day-to-day reference and guide for doing all things involving Hibernate. There are many books focused on learning Hibernate, but this book takes you further and shows how you can apply it practically in your daily work. Hibernate Recipes, Second Edition is a must have book for your library.
Hibernate Recipes utilizes a problem solution format for fast look-up of problems you are likely to encounter. There are many books focused on learning Hibernate, but this book takes you further and shows how you can apply it practically in your daily work.
Hibernate 4.x continues to be the most popular out-of-the-box, open source framework solution for Java persistence and data/database accessibility techniques and patterns and it works well with the most popular open source enterprise Java framework of all, the Spring Framework. Hibernate is used for e-commerce–based web applications as well as heavy-duty transactional systems for the enterprise.
What youll learn
- How to use object-relational mapping in Hibernate
- How to do one-to-one mapping, many-to-one mapping, collection mapping, component mapping, and inheritance mapping
- How to use Hibernate Query Language (HQL)
- How to perform batch processing and use native SQL, criteria queries, caching objects, and more
- How to enable Hibernate in web applications with e-commerce
- How to use Hibernate for heavy-duty enterprise transaction-based systems
- How to integrate Hibernate persistence with Spring Framework solutions
Who this book is for
This book is for experienced Java developers looking to use Hibernate, but is also appropriate for Java developers new to Hibernate.
- Table of Contents
Table of Contents1. Starting with Hibernate
2. Basic Mapping and Object Identity
3. Component Mapping
4. Inheritance and Custom Mapping
5. Many-to-One and One-to-One Mapping
6. Collection Mapping
7. Many-Valued Associations
8. HQL and JPA Query Language
9. Querying with Criteria and Example
10. Working with Objects
11. Batch Processing and Native SQL
12. Caching in Hibernate
13. Transactions and Concurrency
14. Web Applications
- Source Code/Downloads
If you think that you've found an error in this book, please let us know by emailing to email@example.com . You will find any confirmed erratum below, so you can check if your concern has already been addressed. No errata are currently published