• Image

Welcome to Hibernate

Hibernate is the most popular object-relational mapping framework for Java environments. Object relational mapping in large enterprise applications is difficult. In this class, students learn object-relational mapping concepts and the various issues and options available in Java to address object persistence. With these fundamentals, the course then explores the basics of Hibernate object persistence and configuration. It also digs into the details of Hibernate mapping, queries, transactions, and concurrency. This course is loaded with lots of hands on examples and deals with maintenance and performance issues

Why Hibernate ?

Standard SQL kind

Java Enum

Free software

ORM tool

Basics of Hibernate

  • Hibernate Introduction
  • Hibernate Architecture
  • Understanding First Hibernate application

Hibernate with IDE

  • Hibernate in Eclipse
  • Hibernate in MyEclipse

Hibernate Application

  • Hibernate with annotation
  • Hibernate Web application
  • Hibernate Generator classes
  • Hibernate Dialects

Hibernate Logging

  • Hibernate with Log4j 1
  • Hibernate with Log4j 2

Inheritance Mapping

  • Table Per Hierarchy
  • Table Per Hierarchy using Annotation
  • Table Per Concrete
  • Table Per Concreteusing Annotation
  • Table Per Subclass
  • Table Per Subclass using Annotation

Collection Mapping

  • Mapping List
  • One-to-many by List using XML
  • Many to Many by List using XML
  • One To Many by List using Annotation
  • Mapping Bag
  • One-to-many by Bag
  • Mapping Set
  • One-to-many by Set
  • Mapping Map
  • Many-to-many by Map
  • Bidirectional
  • Lazy Collection

Component Mapping

    Association Mapping
  • One-to-one using Primary Key
  • One-to-one using Foreign Key

Transaction Management

  • HQL
  • HCQL
  • Named Query

Hibernate Caching

  • First Level Cache
  • Second Level Cache

Integration

  • Hibernate and Struts
  • Hibernate and Spring