H300: Introduction to Hibernate

The Hibernate framework is a great way to add a persistence layer to your application – without having to write your own JDBC. In fact, this open source framework has become so popular, that it has become a standard in many large organizations. The reason for this is simple. It alleviates the need to write up to 95% of the JDBC required to persist a typical application. This hands-on course introduces existing Java developers to the Hibernate framework. It details the basics of the libraries as well as the advanced techniques including what is required to maximize its performance.

Prerequisites: It is assumed that students are Java programmers. It is also assumed that students are proficient in SQL. Knowledge of JDBC is not a pre-requisite; it is taught as part of this course.

Duration: 4 Days

JAVA 5 Review

Auto Boxing/Unboxing

Annotations

Generics

Introduction to JDBC

Architecture/Drivers

Connections

Statements

Result Set

CRUD Operations

Hibernation Installation and Setup

Downloading

Setting up a database engine

Setting up a project

Hibernate Modules

Core

Annotations

Entity Manager

Tools

Introduction to Mapping (XML)

Defining the mapping XML

Generating Persistent Classes

Creating a schema

Queries/Criteria/QBE

Query By Example

Like

ExcludeZeros

Creating Criteria

Restrictions

Properties

Logical Operations

Paging

Detached Queries

Native SQL

Calling Stored Procedures

HQL

inner joins

left outer joins

right outer joins

where clause

grouping

ordering

aggregating functions

sub queries

scrolling

paging

filters

Relationships

one to one

one to many

many to one

many to many

Advanced Mapping

value types

components

composite keys

lists

maps

sets

bags

sorting

Inheritance Mapping

one table

one table per class

one table per concrete class

Interceptors and DAO

Interceptor Techniques

Interfaces

Creating DAOs

Performance

cache

lazy loading

performance statistics

page size

optimization techniques

Using Annotations

one to one

one to many

many to many

inheritance

components/embendable

program by exception

EJB 3.0

Entity Manager

EJB-QL

architecture

Alternative Persistent Technologies

iBatis

polymorphic techniques

Each one of our high content courses is custom created to ensure that students receive as much real world knowledge as possible. Our expert instructors develop all our course materials in-house. We literally “wrote the book” on programmer training.