Skip to Main Content

About The Book

Summary

Java Persistence with Hibernate, Second Edition explores Hibernate by developing an application that ties together hundreds of individual examples. In this revised edition, authors Christian Bauer, Gavin King, and Gary Gregory cover Hibernate 5 in detail with the Java Persistence 2.1 standard (JSR 338). All examples have been updated for the latest Hibernate and Java EE specification versions.

About the Technology

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

Persistence—the ability of data to outlive an instance of a program—is central to modern applications. Hibernate, the most popular Java persistence tool, offers automatic and transparent object/relational mapping, making it a snap to work with SQL databases in Java applications.

About the Book

Java Persistence with Hibernate, Second Edition explores Hibernate by developing an application that ties together hundreds of individual examples. You'll immediately dig into the rich programming model of Hibernate, working through mappings, queries, fetching strategies, transactions, conversations, caching, and more. Along the way you'll find a well-illustrated discussion of best practices in database design and optimization techniques. In this revised edition, authors Christian Bauer, Gavin King, and Gary Gregory cover Hibernate 5 in detail with the Java Persistence 2.1 standard (JSR 338). All examples have been updated for the latest Hibernate and Java EE specification versions.

What's Inside
  • Object/relational mapping concepts
  • Efficient database application design
  • Comprehensive Hibernate and Java Persistence reference
  • Integration of Java Persistence with EJB, CDI, JSF, and JAX-RS * Unmatched breadth and depth

About the Reader

The book assumes a working knowledge of Java.

About the Authors

Christian Bauer is a member of the Hibernate developer team and a trainer and consultant. Gavin King is the founder of the Hibernate project and a member of the Java Persistence expert group (JSR 220). Gary Gregory is a principal software engineer working on application servers and legacy integration.

Table of Contents
    PART 1 GETTING STARTED WITH ORM
  1. Understanding object/relational persistence
  2. Starting a project
  3. Domain models and metadata
  4. PART 2 MAPPING STRATEGIES
  5. Mapping persistent classes
  6. Mapping value types
  7. Mapping inheritance
  8. Mapping collections and entity associations
  9. Advanced entity association mappings
  10. Complex and legacy schemas
  11. PART 3 TRANSACTIONAL DATA PROCESSING
  12. Managing data
  13. Transactions and concurrency
  14. Fetch plans, strategies, and profiles
  15. Filtering data
  16. PART 4 WRITING QUERIES
  17. Creating and executing queries
  18. The query languages
  19. Advanced query options
  20. Customizing SQL

About The Authors

Gary Gregory is a Java developer with 20+ years of experience who currently develops application servers for legacy integration.

Christian Bauer is a member of the Hibernate developer team and a trainer, consultant, and product manager for Hibernate, EJB 3.0, and JBoss Seam at JBoss.

Product Details

  • Publisher: Manning (October 27, 2015)
  • Length: 608 pages
  • ISBN13: 9781638355229

Browse Related Books

Resources and Downloads

High Resolution Images