Java Persistence with Spring Data and Hibernate

Christian Bauer author Catalin Tudose author Gavin King author

Format:Paperback

Publisher:Manning Publications

Published:20th Feb '23

£45.99

Available to order, but very limited on stock - if we have issues obtaining a copy, we will let you know.

Java Persistence with Spring Data and Hibernate cover

Master Java persistence using the industry-leading tools Spring Data and Hibernate.

In   Java Persistence with Spring Data and Hibernate  you will learn:

  • Mapping persistent classes, value types, and inheritance
  • Mapping collections and entity associations
  • Processing transactions with Spring Data and Hibernate
  • Creating fetch plans, strategies, and profiles
  • Filtering data
  • Building Spring Data REST projects
  • Using Java persistence with non-relational databases
  • Querying JPA with QueryDSL
  • Testing Java persistence applications

Java Persistence with Spring Data and Hibernate  teaches you the ins-and-outs of Java persistence with hands-on examples using Spring Data, JPA and Hibernate. The book carefully analyzes the capabilities of the major Java persistence tools, and guides you through the most common use cases. You'll learn how to make and utilize mapping strategies, and efficiently test Java persistence applications. The practical techniques are demonstrated with both relational and non-relational databases. about the technology Persistence enables an application's data to exist for the long term, even after a program is stopped or terminated. Whether you're saving state from session to session or maintaining long-term records, Java persistence tools like Spring Data, JPA, and Hibernate help deliver the object relational mapping that connects code's objects with your database. about the book Java Persistence with Spring Data and Hibernate  explores persistence with the most popular available tools. You'll benefit from detailed coverage of Spring Data JPA, Spring Data JDBC, Spring Data REST, JPA, and Hibernate, comparing and contrasting the alternatives so you can pick what's best for your code.

Begin with a hands-on introduction to object-relational mapping (ORM), then dive into mapping strategies for linking up objects and your database. You'll learn about the different approach to transactions for both Hibernate and Spring Data, and even how to deliver Java persistence with non-relational databases. Finally, you'll explore testing strategies for persistent applications to keep your code clean and bug free.

"Want to learn Java persistence without having to dig through the reference documentation? Read it and you'll know what to do (and what to avoid)." Marcus Geselle

"This book is crucial not only for newbies but also for any senior developers working with JVM Persistence." Özay Duman

"This book gives a great foundation for working with JPA and Hibernate. If I were to teach the subject, I would not hesitate to use this book." Kim Kjærsulf

"Excellent introduction to how Java persistence is handled in the real world." Daniel Carl

ISBN: 9781617299186

Dimensions: 236mm x 190mm x 15mm

Weight: 1100g

562 pages