Hibernate

CloudLabs

Projects

Assignment

24x7 Support

Lifetime Access

.

Course Overview

Hibernate is an open-source ORM solution for Java applications. Hibernate provides data query and retrieval facilities that significantly reduce development time. Hibernate lets you develop persistent classes following an object-oriented idiom – including association, inheritance, polymorphism, composition, and collections. Hibernate allows you to express queries in its own portable SQL extension (HQL), as well as in native SQL, or with an object-oriented Criteria and Example API.

At the end of the training, participants will be able to:

Pre-requisite

All attendees should have a basic knowledge of java programming

Duarion

5 days

Course Outline

  • What is Hibernate?
  • Object Relational Mapping
  • JDBC vs Hibernate
  • Installing Hibernate
  • Using Hibernate with an IDE
  • POJOs and Persistence
  • Creating Hibernate Mappings
  • Configuration
  • SessionFactory
  • Session
  • Working with Entities
  • Transactions
  • Queries
  • Introduction to Annotations
  • Annotation Pros and Cons
  • Using Annotations in Your Application
  • Mapping Entities and Tables
  • Mapping Columns and Data Types
  • Mapping Associations
  • Mapping Collections
  • Mapping Entities and Tables
  • Mapping Columns and Data Types
  • Mapping Associations
  • Mapping Collections
  • Object states in Hibernate
  • Common Hibernate Methods
  • Working with Entities
  • Working with Bidirectional Associations
  • Flushing the Session
  • Cascading Operations
  • Orphans
  • Lazy Associations
  • The Hibernate Query Language
  • Retrieving Data
  • Using Operators
  • Sorting Results
  • Using Aggregate Functions
  • Grouping Results
  • Using Joins
  • Using Parameters
  • Hibernate and Thread-Safety
  • Introducing the HibernateUtil Class
  • Committing and Rolling Back Transaction

Reviews