Get started with Hibernate, an open source Java persistence layer and gain a clear introduction to the current standard for object-relational persistence in Java. This updated edition includes the new Hibernate 6.0 framework which covers new configuration, new object relational mapping changes, and enhanced integration with the more general Spring, Boot and Quarkus and other Java frameworks.
The book keeps its focus on Hibernate without wasting time on nonessential third-party tools, so you’ll be able to immediately start building transaction-based engines and applications. Experienced authors Joseph Ottinger with Dave Minter and Jeff Linwood provide more in-depth examples than any other book for Hibernate beginners. They present their material in a lively, example-based manner—not a dry, theoretical, hard-to-read fashion.
What You’ll Learn
- Build enterprise Java-based transaction-type applications that access complex data with Hibernate
- Work with Hibernate 6 using a present-day build process
- Integrate into the persistence life cycle
- Search and query with the new version of Hibernate
- Keep track of versioned data with Hibernate Envers
Who This Book Is For
Programmers experienced in Java with databases (the traditional, or connected, approach), but new to open-source, lightweight Hibernate.
Spis treści
1. An Introduction to Hibernate 6.- 2. Integrating and Configuring Hibernate.- 3. Building a Simple Application.- 4. The Persistence Life Cycle.- 5. An Overview of Mapping.- 6. Mapping with Annotations.- 7. JPA Integration and Lifecycle Events.- 8. Using the Session.- 9. Searches and Queries.- 10. Filtering the Results of Searches.- 11. Integration into the Web.- 12. Integrating Hibernate.- 13. Hibernate Envers.
O autorze
Joseph B. Ottinger is an expert software developer, coder and programmer. He has also served as technology evangelist Giga Spaces and a principle engineer at Red Hat. He was Editor in Chief of The Server Side-dot-com. He is the author of Hibernate Recipes and Beginning Hibernate for Apress and has authored other books as well as articles.
Jeff Linwood has been involved in software programming since he had a 286 in high school. He got caught up with the Internet when he got access to a UNIX shell account, and it has been downhill ever since. Jeff has published articles on several Jakarta Apache open source projects in Dr. Dobb’s Journal, CNET’s Builder.com, and Java World. Jeff also co-authored Professional Struts Applications, Building Portals with the Java Portlet API, and Pro Hibernate 3. He was a technical reviewer for Enterprise Java Development on a Budget and Extreme Programming with Ant.
Dave Minter has adored computers since he was small enough to play in the boxes they came in. He built his first PC from discarded, faulty, and obsolete components, and considers that to be the foundation of his career as an integration consultant. Dave is based in London, where he helps large and small companies build systems that 'just work.’ He co-authored Building Portals with the Java Portlet API and Pro Hibernate 3.