Home   |   Instructor-led Training   |   Self-Paced Learning                Email Us   Phone :
Contact Us   -   About Us          
 
Courses
A+
ADA
Adobe
AJAX
AutoCAD
Business Skills and Technology
C++ programming
Cisco
Citrix
Cognos
ColdFusion
COM/COM+
CORBA
Corel
Crystal Reports
Data Mining
DB2
Desktop Application Software
Enterprise Architecture
ITIL
Java
JBoss
Legato
Lotus
Macintosh
Mainframe programming
Microsoft / MCT
MS Access
MultiMedia and design
.NET
Network+
Object oriented analysis and design
OpenVMS
Oracle
Perl
PHP
PowerBuilder
Professional Development
Professional Soft Skills Workshops
Project Management
Rational
SAS
Security
SharePoint
SOA
SQL Server
Telecommunications
Tivoli
Unix/Linux/Solaris/AIX/HP-UX
Visual Basic
Visual Foxpro
VMware
Web 2.0
Web Development
WebLogic
WebSphere
Websphere MQ (MQSeries)
Windows programming
XML
XML Web Services
Java Persistence with Hibernate
Version 3.2.1
Java Training 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.

Java Training Prerequisites

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

After completing this course, the student should be able to:

  • 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.
Java Training Course duration

2 Days

Java Training Course outline

1 . Introduction to Hibernate
  • The Object/Relational Mapping Problem
  • JDBC
  • The Hibernate Alternative
  • Hibernate Architecture and API
2 . Configuring Hibernate
  • The Hibernate Distribution
  • Required Libraries
  • Configuration Files
  • hibernate.properties
  • hibernate.cfg.xml
  • Programmatic Configuration
3 . Hibernate Persistence
  • The SessionFactory Interface
  • Object States
  • The Session Interface
  • Transactions
  • Session Duration
  • The Data Access Object Pattern
4 . 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
5 . The Criteria Query API
  • Criteria Queries
  • The Criteria Interface
  • Using Restrictions
  • Windowing Results
  • Sorting
  • Traversing Associations
  • Projections and Aggregates
  • Grouping
  • Query By Example (QBE)
6 . 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

System Requirements

Minimum Hardware Requirements

  • 500 MHz, 256 meg RAM, 500 meg disk space
Minimum Software Requirements

  • All free downloadable tools.
Hardware – recommended

  • 1.5 GHz, 512 meg RAM, 1 gig disk space.
Operating system

  • Tested on Windows XP Professional. Course software should be viable on all systems which support a J2SE 5.0 JDK..


Contact Information
WINTRAC INC. - the one stop shopping center for IT training.
16523 S.W. McGwire Ct. Beaverton OR -97007
Phone: (503) 259-0312
Fax: 707-598-2268
Email: sales@wintrac.com

Send mail to webmaster@wintrac.com with questions or comments about this web site.
Copyright © 2008 Wintrac Inc.