Java Persistence with Hibernate
eBook - ePub

Java Persistence with Hibernate

  1. 608 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Java Persistence with Hibernate

About this 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

  • Understanding object/relational persistence
  • Starting a project
  • Domain models and metadata
  • PART 2 MAPPING STRATEGIES
  • Mapping persistent classes
  • Mapping value types
  • Mapping inheritance
  • Mapping collections and entity associations
  • Advanced entity association mappings
  • Complex and legacy schemas
  • PART 3 TRANSACTIONAL DATA PROCESSING
  • Managing data
  • Transactions and concurrency
  • Fetch plans, strategies, and profiles
  • Filtering data
  • PART 4 WRITING QUERIES
  • Creating and executing queries
  • The query languages
  • Advanced query options
  • Customizing SQL

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Java Persistence with Hibernate by Gary Gregory,Christian Bauer in PDF and/or ePUB format, as well as other popular books in Computer Science & Data Modelling & Design. We have over one million books available in our catalogue for you to explore.

Information

Table of contents

  1. Java Persistence with Hibernate
  2. Praise for the First Edition
  3. Copyright
  4. Dedication
  5. Brief Table of Contents
  6. Table of Contents
  7. front matter
  8. Part 1. Getting started with ORM
  9. Chapter 1. Understanding object/relational persistence
  10. Chapter 2. Starting a project
  11. Chapter 3. Domain models and metadata
  12. Part 2. Mapping strategies
  13. Chapter 4. Mapping persistent classes
  14. Chapter 5. Mapping value types
  15. Chapter 6. Mapping inheritance
  16. Chapter 7. Mapping collections and entity associations
  17. Chapter 8. Advanced entity association mappings
  18. Chapter 9. Complex and legacy schemas
  19. Part 3. Transactional data processing
  20. Chapter 10. Managing data
  21. Chapter 11. Transactions and concurrency
  22. Chapter 12. Fetch plans, strategies, and profiles
  23. Chapter 13. Filtering data
  24. Part 4. Writing queries
  25. Chapter 14. Creating and executing queries
  26. Chapter 15. The query languages
  27. Chapter 16. Advanced query options
  28. Chapter 17. Customizing SQL
  29. Part 5. Building applications
  30. Chapter 18. Designing client/server applications
  31. Chapter 19. Building web applications
  32. Chapter 20. Scaling Hibernate
  33. Appendix. References
  34. Index
  35. List of Figures
  36. List of Tables
  37. List of Listings