Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Advanced Hibernate

Course Summary

The Advanced Hibernate training course is designed to demonstrate the more complex and advanced aspects of using Hibernate as a Java Persistence Architecture (JPA) persistence provider.

The course begins with an overview of the core Hibernate concepts and the Hibernate query language.Next, it covers the Hibernate criteria Application Programming Interface (API), working with transactions and locking, and advanced Hibernate concepts. The course concludes with entity lifecycle handling and Hibernate performance tuning.

Prerequisites: The course assumes a familiarity with Hibernate

Purpose
Learn how to effectively use and optimize Hibernate.
Audience
Experience Hibernate developers looking to deepen their knowledge.
Role
Software Developer
Skill Level
Advanced
Style
Fast Track - Targeted Topic - Workshops
Duration
3 Days
Related Technologies
Hibernate | Java | Spring.io

 

Productivity Objectives
  • Develop dynamic queries using the Criteria Application Programming Interface (API)
  • Identify hot to migrate an existing Hibernate solution to Java Persistence Architecture (JPA)
  • Explore advanced Hibernate/JPA optimization techniques

What You'll Learn:

In the Advanced Hibernate training course, you'll learn:
  • Core Hibernate Concepts
    • What is Hibernate?
    • Hibernate v. JPA (Java Persistence Architecture)
    • Overview of key concepts and terms
    • Review of Native Hibernate APIs
    • Resolve the relationship between Hibernate and JPA
  • Hibernate Query Language
    • Build HQL queries
    • The Select clause
    • The Where clause
    • Named and Entity parameters
    • Associations and aggregates
    • Bulk Updates and Deletes
    • Named Queries
    • Use Native SQL
  • Hibernate Criteria API
    • What is it? How does it work? When to use it?
    • Criteria queries
    • The Criteria Interface
    • Restrictions
    • Window results
    • Sorting
    • Traverse associations
    • Projections and aggregates
    • Groups
    • Query By Example (QBE)
  • Working with Transactions
    • Review of Transaction concepts
    • Manage Transactions
    • Use the JTA to manage transactions
    • Perform commits and rollbacks
  • Working with Locking
    • Review of locking concepts
    • Work with optimistic locking
    • Work with pessimistic locking
  • Advanced Hibernate Concepts
    • Inheritance and mapped super classes
    • Model relationships as Maps
    • Use Collections as embedded types
    • Work with nested embedded classes
  • Entity Lifecycle Handling
    • PrePersist, PreRemove and PreUpdate
    • PostPersist, PostRemove, PostUpdate, and PostLoad
  • Hibernate Performance tuning
    • Lazy and eager fetching
    • Mass updates and removals
    • Configure second-level caching
    • Hibernate specific tuning options
“I appreciated the instructor's technique of writing live code examples rather than using fixed slide decks to present the material.”

VMware

Dive in and learn more

When transforming your workforce, it's important to have expert advice and tailored solutions. We can help. Tell us your unique needs and we'll explore ways to address them.

Let's chat

By filling out this form and clicking submit, you acknowledge our privacy policy.