0%

Book Description

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

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

    1. Copyright
    2. Brief Table of Contents
    3. Table of Contents
    4. Praise for the First Edition
    5. Foreword to the First Edition
    6. Preface
    7. Acknowledgments
    8. About this Book
    9. About the Cover Illustration
    10. Part 1. Getting started with ORM
      1. Chapter 1. Understanding object/relational persistence
      2. Chapter 2. Starting a project
      3. Chapter 3. Domain models and metadata
    11. Part 2. Mapping strategies
      1. Chapter 4. Mapping persistent classes
      2. Chapter 5. Mapping value types
      3. Chapter 6. Mapping inheritance
      4. Chapter 7. Mapping collections and entity associations
      5. Chapter 8. Advanced entity association mappings
      6. Chapter 9. Complex and legacy schemas
    12. Part 3. Transactional data processing
      1. Chapter 10. Managing data
      2. Chapter 11. Transactions and concurrency
      3. Chapter 12. Fetch plans, strategies, and profiles
      4. Chapter 13. Filtering data
    13. Part 4. Writing queries
      1. Chapter 14. Creating and executing queries
      2. Chapter 15. The query languages
      3. Chapter 16. Advanced query options
      4. Chapter 17. Customizing SQL
    14. Part 5. Building applications
      1. Chapter 18. Designing client/server applications
      2. Chapter 19. Building web applications
      3. Chapter 20. Scaling Hibernate
    15. Appendix. References
    16. Index
    17. List of Figures
    18. List of Tables
    19. List of s
    18.118.12.157