Skip to content

Contact sales

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

Introduction to Hibernate

Course Summary

The Introduction to Hibernate training course is designed to demonstrate how to create database centric Java applications using Hibernate as an implementation for the Java Persistence Architecture (JPA).

The course begins by reviewing of database concepts and an understanding of Hibernate. Next, it explores how to use native Hibernate Application Programming Interfaces (APIs), generating primary keys, and defining mapping associations. The course concludes with a look at inheritance strategies, querying, and best practices.

Purpose
Learn how to build database applications using Hibernate.
Audience
Observe how to build database applications using Hibernate.
Role
Software Developer
Skill Level
Intermediate
Style
Hack-a-thon - Learning Spikes - Workshops
Duration
3 Days
Related Technologies
Back-End Development Training | Hibernate | Java | Spring.io

 

Productivity Objectives
  • Distinguish how Hibernate is related to Java Persistence Architecture (JPA)
  • Discover how to generate Hibernate entities
  • Develop a simple Hibernate application
  • Administer Hibernate Query Language (HQL) and named queries
  • Examine entity validation

What You'll Learn:

In the Introduction to Hibernate training course, you'll learn:
  • Review of Database Concepts
    • Review of using JDBC to perform CRUD operations
    • Advanced JDBC development using meta-data capabilities
    • Perform ORM with JDBC and JavaBeans
  • What is Hibernate
    • Review of ORM problem
    • Resolve the relationship between Hibernate and JPA
  • Using Native Hibernate APIs
    • Perform configuration
    • Use a SessionFactory
    • Define CRUD with a Session
    • Understand Entity states
    • Compare to JPA
  • Generating Primary Keys
    • @GeneratedValue
    • Foreign keys
    • Composite keys
  • Mapping Associations
    • Types of relationships
    • Define directionality
    • Define associations using cardinality mappings
  • Property Mappings and Access Types
  • Inheritance Strategies
    • Single table per class
    • Joined subclass
    • Table per class
    • Use Mapped Superclasses
  • Mapping Entities to Multiple Tables
  • Querying
    • Use HQL
    • Utilize Named queries
    • Use SQL queries
    • Utilize Criteria queries
  • Entity Validation
  • Exception Handling
  • Logging
  • Best Practices
“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.