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:

  1. Why ORM?
  2. O/R Paradigm Mismatch
  3. Pieces of ORM implementation
  4. Why Hibernate ?

Introduction to Hibernate:

    1. Hibernate Architecture
    2. Hibernate Technology benefits
    3. Object and database identity
    4. Persistence lifecycle

Getting Started:

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

Relationships:

  1. POJOs - Simple POJO Example
  2. ID / Pks
  3. 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:

  1. HQL Basics
  2. QBC / QBE
  3. Native SQL
  4. Named Queries

More Mapping Concepts:

  1. Hibernate Type System
  2. Collections ( Set, Map, List)

Persistence Lifecycle:

  1. Persistence Manager / Session
  2. Cascading
Advanced Queries:
  1. Query API
  2. Binding Parameter
  3. Grouping
  4. Subqueries
  5. Optimising Query
  6. Native SQL Query

Using Hibernate Transaction Support and Concurrency:

  1. Local transaction, Global transaction
  2. Hibernate Transaction API
  3. Isolation level
  4. Locking

Hibernate Caching:

  1. Caching overview
  2. Hibernate Caching Architecture

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

  1. Hibernate Introduction
  2. ORM framework support
  3. Setting up mappings
  4. Setting up relationships
  5. Using Spring DAO support
  6. Accessing Hibernate through Hibernate Template