Toll Free: 800-735-7418
Local: 303-377-9333
info@hartmannsoftware.com
 
 

 
JAVA PERSISTENCE WITH HIBERNATE

Course Description  
his 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.

Course Length: 2 Days
Course Tuition: $690 (US)
Prerequisites
Intermediate knowledge of Java programming. Some familiarity with SQL, relational databases, and the Java Database Connectivity (JDBC) interfaces will be helpful.
Course Outline  

• Introduction to Hibernate

The Object/Relational Mapping Problem
JDBC
The Hibernate Alternative
Hibernate Architecture and API

• Configuring Hibernate

The Hibernate Distribution
Required Libraries
Configuration Files
hibernate.properties
hibernate.cfg.xml
Programmatic Configuration

• Hibernate Persistence

The SessionFactory Interface
Object States
The Session Interface
Transactions
Session Duration
The Data Access Object Pattern

•  Object/Relational Mapping

O/R Mapping Issues
The Mapping Vocabulary
Primary Keys and Identity
ID Generators
Mapping Associations
Unidirectional and Bidirectional Associations
Managing Cardinality
Strategies for Mapping Inheritance

•  The Criteria Query API

Criteria Queries
The Criteria Interface
Using Restrictions
Windowing Results
Sorting
Traversing Associations
Projections and Aggregates
Grouping
Query By Example (QBE)

•  Hibernate Query Language (HQL)

Building HQL Queries
The Select Clause
The Where Clause
Named and Entity Parameters
Associations and Aggregates
Bulk Updates and Deletes
Named Queries
Using Native SQL

•  Appendix A. Learning Resources


Contact us for course schedules or more information.
 

Registration and Pricing
The Virtual Classroom
Mentoring Services


Fresh Off The Press MySQL Admin/Dev
Sharepoint for Developers
Advanced XML
Securing Java Web Services
Exploring Design Patterns
Fast Track to Java EE
Ajax using C# (VS 2008) Oracle 11G New Features Complete LINQ