About Us
Education and Training
Education and Training

Consulting
Gifts
Contacting Us
Employment
The Pantheon Systems Journal
Home

Pantheon Systems, Inc.
The Object Technology Company

Introduction to HIBERNATE
Persistence made Simple

Duration: 2 days

Class Size: Up to 15 attendees

Prerequisites:Basic understanding of database applications. Knowledge of JDBC (equivalent to that covered in Pantheon's Advanced Programming in Java), familiarity with XML assumed.

Who should attend?
Software architects, database designers and developers.

What will you learn? :

  • Object-Relational Mapping Issues
  • How Hibernate adderesses them
  • Solving Database Access wrangles with Hibernate

Course Contents

  • The Object Persistence Challenge
    Objects and Identity, Associations and Inheritance with Databases.
  • JDBC
    Object Graphs and the relational model. Creating and deleting objects graphs.
  • Installing Hibernate
    Where to get Hibernate. Setting up a sample database with Hibernate. The Build file.
  • Setting up Hibernate
    Configuring Hibernate. Mappings, setting up mapping definitions. IDs and generators. Proxies. Fetching associated objects.
  • Using Hibernate
    The SessionFactory. Persisting Objects. The Section Cache, connection pools, transactions, and cache providers. Inheritance in Hibernate.
  • Configuring Associations, and Components
    Many-to-One Relationships, depth. The Central Configuration file. Building tables with, ANT and SchemaExport. Components, and their mappings.
  • Spring and Databases
    DAO and Spring. Spring and JDBC. The ORM Framework. Using Hibernate with Spring. Spring and other DB Frameworks.
  • Collections and Custom Types
    How to Persist Collections and Arrays. Collection types, and Lazy Collections. Sorted, and Bidirectional Associations. Custom types, and their implementations.
  • Queries In Hibernate
    Introducing HQL. The Query interface. Outer Joins. Substitutions. Query Parsers. Using HQL. The FROM clause. HQL properties .Using expressions. Criteria queries and stored procedures. Hiber8IDE.
  • Testing Hibernate
    Testing the persistence layer. General database testing. Testing with DBUnit.
  • Advanced Topics
    Using Hibernate with other frameworks. Hibernate with XDoclet. Filters. Multiple table mapping. Discriminator formulas. Property references. Using Dynamic classes and Annotations. Moving to Stored procedures and SQL. Handling Persistence events.

Introduction to HIBERNATE uses a combination of lecture and labs to provide students with a practical understanding of this simple but effective technology to manage data access. The course uses hands-on exercises allowing attendees to gain practical knowledge of using Hibernate.

Registration | Calendar | Curriculum | After Hours | Forms | Schedules/Pricing

Copyright© Pantheon Systems, Inc. All rights reserved.