An excellent class. Provides current information and practical techniques.... More Testimonials »

Hibernate Training

Delivery Options

Class Date and Time Price Pricing Information
Sep 13 - 15, 2010 10:00 AM - 5:00 PM ET $1,575.00 or 3 vouchers
Nov 1 - 3, 2010 10:00 AM - 5:00 PM ET $1,575.00 or 3 vouchers
Nov 29 - Dec 1, 2010 10:00 AM - 5:00 PM ET $1,575.00 or 3 vouchers

Class Description

Class Overview

This course develops skills in using the Object/Relational Mapping tool Hibernate®. The course uses the latest release version of Hibernate, 3.2, which is directly related to the new EJB 3.0 version defined in Java EE 5.0.

By the end of the course, students will be prepared to set-up and use Hibernate as the persistence mechanism in Java applications.

Class Goals

  • Configure Hibernate using both properties files and XML documents.
  • Create mapping documents for Java classes.
  • Define object relationships and build mapping documents to model them.
  • Use components to model composition relationships in the object model.
  • Work with one-to-one, many-to-one, and many-to-many relationships.
  • Evaluate the different approaches to modeling inheritance and polymorphism in database schema.
  • Build Java applications that use Hibernate to create, retrieve, update, and delete objects.
  • Use Hibernate's Criteria Query API to do searches and Query By Example.
  • Work with Hibernate Query Language (HQL) to generate object-based SQL.
  • Understand Hibernate sessions and transactions and their impact on performance.

Class Outline

  1. Introduction to Hibernate
    1. The Object/Relational Mapping Problem
    2. JDBC
    3. The Hibernate Alternative
    4. Hibernate Architecture and API
  2. Configuring Hibernate
    1. The Hibernate Distribution
    2. Required Libraries
    3. Configuration Files
    4. hibernate.properties
    5. hibernate.cfg.xml
    6. Programmatic Configuration
  3. Hibernate Persistence
    1. The SessionFactory Interface
    2. Object States
    3. The Session Interface
    4. Transactions
    5. Session Duration
    6. The Data Access Object Pattern
  4. Object/Relational Mapping
    1. O/R Mapping Issues
    2. The Mapping Vocabulary
    3. Primary Keys and Identity
    4. ID Generators
    5. Mapping Associations
    6. Unidirectional and Bidirectional Associations
    7. Managing Cardinality
    8. Strategies for Mapping Inheritance
  5. The Criteria Query API
    1. Criteria Queries
    2. The Criteria Interface
    3. Using Restrictions
    4. Windowing Results
    5. Sorting
    6. Traversing Associations
    7. Projections and Aggregates
    8. Grouping
    9. Query By Example (QBE)
  6. Hibernate Query Language
    1. Building HQL Queries
    2. The Select Clause
    3. The Where Clause
    4. Named and Entity Parameters
    5. Associations and Aggregates
    6. Bulk Updates and Deletes
    7. Named Queries
    8. Using Native SQL

Class Materials

All students receive a course manual or book and all the class examples.

Students in private onsite classes will also receive:

Class Prerequisites

Experience in the following areas is required:

  • Intermediate knowledge of Java programming;
  • Some familiarity with SQL, relational databases, and the Java Database Connectivity (JDBC) interfaces will be helpful;

Technical Requirements

Our computer technical requirements and setup process is easy, with support just a click away.


  • Java ®, all Java-based marks, Hibernate ®, and all Hibernate-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. or its subsidiaries in the U.S. and other countries.
Client Success
  1. Independent Survey
  2. Client List
  3. Testimonials
Join The Team
  1. Learn how you can become a Webucator Trainer
  2. Career Opportunities
Locations

Recent Blog Articles

JSF 2.0: Developing Views Without JSP

Posted on Sep 02, 2010 by rsakowski

JSP and JSF have been tenuous partners. The problems have been discussed for years. Several key issues have been ...


Java ME (J2ME) to iPhone, Android, Flash and Windows Mobile Cross Compiler

Posted on Aug 31, 2010 by rsakowski

Innaworks’ alcheMo is a platform for developing mobile and web applications. It automates the porting of Java ME ...


JavaServerPages as Servlets

Posted on Aug 11, 2010 by rsakowski

A common misconception about JavaServer Pages is that they are executed by the web container. Actually they only supply the web ...


Java SE 6: Top Ten Features

Posted on Jul 23, 2010 by rsakowski

I remember when Sun released JDK 1.08. It was dubbed the “classic” version. After a few years of feedback from developers, Sun made some meaningful ...


Java Database Connectivity (JDBC) Basics using MySQL

Posted on Jul 05, 2010 by rsakowski

I was asked to go into Java's database API (the JDBC) using the open source database, MySQL. The JDBC is included ...

Learn the benefits of online training with Webucator

Watch a 3-minute video about Webucator's instructor-led online training.

Learn about Webucator's online training from the CEO

In depth video from our CEO on Webucator's instructor-led online training.

© Webucator, Inc. All rights reserved. | Toll Free: 877-932-8228 | UK: 0808-101-3484 | From outside the USA: 315-849-2724| Fax: 315-849-2723