Have a personal or library account? Click to login
Java Hibernate Cookbook Cover

Java Hibernate Cookbook

Over 50 recipes to help you build dynamic and powerful real-time Java Hibernate applications

Paid access
|Oct 2015
Product purchase options

Over 50 recipes to help you build dynamic and powerful real-time Java Hibernate applications

Key Features

  • Learn to associate JDBC and Hibernate with object persistence
  • Manage association mappings, implement basic annotations and learn caching
  • Get to grips with Hibernate fundamentals from installation to developing a business application with this step-by-step guide

Book Description

This book will provide a useful hands-on guide to Hibernate to accomplish the development of a real-time Hibernate application.
We will start with the basics of Hibernate, which include setting up Hibernate – the pre-requisites and multiple ways of configuring Hibernate using Java. We will then dive deep into the fundamentals of Hibernate such as SessionFactory, session, criteria, working with objects and criteria. This will help a developer have a better understanding of how Hibernate works and what needs to be done to run a Hibernate application. Moving on, we will learn how to work with annotations, associations and collections. In the final chapters, we will see explore querying, advanced Hibernate concepts and integration with other frameworks.

What you will learn

  • Set up and install Hibernate on your system and explore different ways in which Hibernate can be configured
  • Learn the basic concepts and fundamentals of Java Hibernate
  • Define mappings without a use of XML file using Annotations
  • Persist collection elements such as list, map, set and array
  • Explore the various mapping options and learn to work with Hibernate associations
  • Understand advanced Hibernate concepts such as caching and inheritance
  • Develop an engaging and robust real-world hibernate application based on a common business scenario
  • Integrate Hibernate with other frameworks to develop robust enterprise applications

Who this book is for

This is book for Java developers who now want to learn Hibernate. Good knowledge and understanding of Java is preferred to allow efficient programming of the core elements and applications; it would be helpful if readers are familiar with the basics of SQL.

Table of Contents

  1. Setting up hibernate
  2. Understanding Fundamentals
  3. Working with Collections
  4. Basic Annotations
  5. Working with Associations
  6. Querying
  7. Advanced concepts
  8. Integration with Other Frameworks
PDF ISBN: 978-1-78439-840-8
Publisher: Packt Publishing Limited
Copyright owner: © 2015 Packt Publishing Limited
Publication date: 2015
Language: English
Pages: 250