Go To AppexTech

Hibernate Training

1: Hour Daily

Duration :-Months

 

At Appextech, most programs have been designed to blend traditional academic content with applied learning concepts taught in a laboratory environment in order to help students prepare for career opportunities involving technology.

Prerequisite: Knowledge of Java, RDBMS and J2EE architecture

ORM Basics:

  • Why ORM?
  • O/R Paradigm Mismatch
  • Pieces of ORM implementation
  • Why Hibernate ?

Introduction to Hibernate:

  • Hibernate Architecture
  • Hibernate Technology benefits
  • Object and database identity
  • Persistence lifecycle

Getting Started:

  • Mapping Tables to beans
  • Mapping Properties to columns
  • Web application example set up
  • Hibernate.cfg.xml ( Hibenate configuration)
  • Configuration Strategies
  • Basic Example, distribution, jars, Mapping metadata, DB connection / pool properties - SQL Dialect,Logging - log4j

Relationships:

  • POJOs - Simple POJO Example
  • ID / Pks
  • Associations
  1. one-to-many self association,
  2. one-to-one
  3. many-to-one
  4. many-to-many
  5. many-to-many as 2 many-to-one - advantages of this approach
  6. Fine grained object models - Components
  7. bidirectional associations
  8. parent/child relationships
  9. Unique Constraints
  10. Unique FK
  11. Unique column/property

Basic Queries:

  • HQL Basics
  • QBC / QBE
  • Native SQL
  • Named Queries

More Mapping Concepts:

  • Hibernate Type System
  • Collections ( Set, Map, List)

Persistence Lifecycle:

  • Persistence Manager / Session
  • Cascading

Advanced Queries:

  • Query API
  • Binding Parameter
  • Grouping
  • Subqueries
  • Optimising Query
  • Native SQL Query

Using Hibernate Transaction Support and Concurrency:

  • Local transaction, Global transaction
  • Hibernate Transaction API
  • Isolation level
  • Locking

Hibernate Caching:

  • Caching overview
  • Hibernate Caching Architecture

Using Hibernate and Spring: (Covered in the Spring Session)

  • Hibernate Introduction
  • ORM framework support
  • Setting up mappings
  • Setting up relationships
  • Using Spring DAO support
  • Accessing Hibernate through Hibernate Template

 Back