Shopping Cart :Check Out
EMAIL : contact@embeddedact.com

Hibernate

Objectives:

This course provides complete exhaustive coverage of Hibernate with features like ORM mapping, Persistent class, HQL, Transaction and caching, Inheritance Mapping.

• Use hibernate framework to persist java objects into a database table.
• Create different types of persistent classes.
• Map java inheritance hierarchy with database tables using various mapping techniques.
• Persist different types of collections.
• Fetch data effectively from database using traditional SQL and Hibernate Query Language
• Improve hibernate performance using various caching techniques

Prerequisites:

• Experience with java programming language and knowledge of any RDBMS
• Knowledge of Web Technology Fundamentals will be an added advantage

Recommended Next Course:

• EJB 3.0

Configuration and Tools Requirements:

• Desktop PC with Windows OS
• Hibernate Library 3.x or above
• JDK 1.5 or above
• Eclipse Ganymede IDE
• RDBMS preferably Oracle or Microsoft Access
• Web server-Tomcat 5.x or above

Duration :

Theory: 8 Hrs.
Hands-On:8 Hrs.

Course Contents

Object / Relational Persistence and ORM Introduction to Hibernate Hibernate Mapping
Persistence Layers Basic Feature and Architecture Construction of POJO class
Persistence mechanisms Core Architecture Persistence Life cycle(Transient,Persistent,detached object)
Paradigm Mismatch Hibernate Core API hibernate.cfg.xml Elements
Object Relational Mapping SessionFactory interface Hibernate JDBC Properties
Adv Feature of ORM Session interface .hbm.xml basic elements
Difference between JDBC vs ORM EJB vs ORM Configuration interface The < hibernate-mapping> Element and its attribute
Advantages of ORM Transaction interface The < class> Element and its attribute
Hibernate Overview and benefits Query interface Mapping the id Property with < id>
Configuring Hibernate The < generator> element and its attribute
First Hibernate Application Mapping Properties with < property> and its attribute
Creating Persistent Classes Hibernate Query Language Hibernate Caching - I
Mapping Serializable Class HQL basics What is cache
Mapping Date Class Executing Query Advantage of Caching in Hibernate
Mapping Binary Data Clauses in HQL Caching strategies and Scope
Component Mapping Aggregate Function in HQL Different type of cache in Hibernate
Inheritance Mapping Using query Interface Overview of First Level Cache
Inheritance Mapping Strategies Using Criteria interface
Mapping Table Per class strategy Use of Expression interface and its method
Mapping Table Per Subclass strategy Use of Restriction interface and its method
Mapping Table per Concrete Class strategy Stored Procedures and Interceptors
Hibernate Caching - II
Overview of Second level cache
Setting up a second level cache
Different type of caching strategies
Different Cache Providers
Use of Query cache

Training Programs