Practical Hibernate

Abstract

Hibernate is a very popular ORM framework for Java (i.e., mapping objects to relational DB). In this course, we’ll cover the architecture and design of Hibernate and the JPA standard.
The students will understand how to develop applications using Hibernate and what are the best practices and anti-patterns for working with Hibernate.
The Course included extensive hands-on labs that are crucial for understanding the framework.

Target Audience

  • Developers
  • Team Leaders
  • Project Managers

Prerequisites

  • Experienced Java developers
  • Familiarity with SQL

Content

Basic Mapping:

  • Motivation for an ORM Framework
  • Class to Table Mapping
  • Properties vs. Fields
  • Simple Primary Key
  • Embedded Entities
  • Inheritance
  • Relationships
    • One to One
    • Many to One
    • One to Many
    • Many to Many
  • Composite Keys

JPQL:

  • Introduction to the Query Language
  • Aggregations
  • Entity States
  • Named Queries

Caching:

  • First-level Cache
  • Seconds-level Cache
  • Hibernate Specifics

Versioning:

  • Optimistic vs. Pessimistic Locks
  • JPA Versioning Support
  • Hibernate Additions

Transactions:

  • Understanding Transactions and Hibernate
  • Flushing Modes
  • Hibernate Specifics

Hibernate Specifics:

  • Filters
  • Hibernate Specific Annotations
  • Metrics
  • Troubleshooting

Duration

3 days

Enroll Now
Contact us
Share: