Contact us on +91 85198 83871 (44) 07448456791 or info@globaltnc.com

Hibernate Online Training

Hibernate Online Training

Course Duration : 15 Hrs

Hibernate is an object-relational mapping (ORM) library for the Java language, providing a framework for mapping an object-oriented domain model to a traditional relational database. Hibernate solves object-relational impedance mismatch problems by replacing direct persistence-related database accesses with high-level object handling functions. Hibernate’s primary feature is mapping from Java classes to database tables and from Java data types to SQL data types. Hibernate also provides data query and retrieval facilities. Hibernate generates the SQL calls and attempts to relieve the developer from manual result set handling and object conversion and keep the application portable to all supported SQL databases with little performance overhead.

Hibernate Course Content
1.Object Persistence.

  • Object/Relational Paradigms
  • O/R Mismatch
  • Object Relational Mapping (ORM)
  • Java ORM/Persistent Frameworks

2.Hibernate Architecture .

  • Hibernate Architecture and API
  • Hibernate Installation/Setup
  • Configuration
  • Configuration Properties
  • Mapping Files

3.Persistent Classes.

  • POJOs
  • JavaBeans
  • Basic Mapping
  • Class to Table Mappings
  • Property Mapping
  • Identifiers
  • Generators
  • Natural Keys
  • Identifier Exposure
  • Quoting SQL Tables and Columns

4.Working with Persistent Objects.

  • Entity Lifecycle
  • Transient State
  • Persistent State
  • Persistent Object Updates and Automatic Dirty Checking
  • Detatched State
  • Deleted
  • Object Identifiers Revisited
  • Merge

5.Components.

  • Domain Model
  • Entities and Values
  • Components

6.Associations.

  • Many-to-one
  • Bidirectional Many-to-one
  • Other Collections

7.Other Associations.

  • One-to-one
  • Bidirectional One-to-one
  • Many-to-many
  • Bidirectional Many-to-many

8.Value Type Collections.

  • Collections of Value Types
  • Collections of Components
  • Sorting Collections

9.Inheritance.

  • Inheritance Mapping Strategies
  • Table per concrete class
  • Table per subclass
  • Table per hierarchy
  • Inheritance Mapping Pros/Cons
  • Polymorphism
  • Table per concrete class with unions
  • Choosing an Inheritance Strategy

10.Transitive Persistence.

  • Lazy Loading
  • Proxies
  • Eager Loading
  • What’s a Proxy?
  • Detached Objects and Proxies
  • Polymorphic Associations Revisited

11.Custom Mapping.

  • Custom Mapping Types
  • User Type
  • Enumerations

12.HQL.

  • Hibernate Object Fetching Options
  • Hibernate Query
  • HQL Parameters
  • Named Queries
  • Native SQL

13.Criteria.

  • Restrictions
  • Query By Example
  • Scrolling
  • Query Hints
  • Query Option Pros/Cons

14.Transactions and Concurrency.

  • The Java Transaction
  • Hibernate Transaction Configuration
  • Hibernate Transaction API
  • Concurrency
  • Isolation Levels
  • Optimistic Locking
  • Versioning
  • Pessimistic Locking

15.Fetching Strategies.

  • N+1 Selects
  • Join Fetching
  • Subselect Fetching
  • Batch Fetching
  • Queries and Fetching Strategies
  • Cartesian product Problem

16.Cache.

  • Hibernate Caching Architecture
  • First Level Cache
  • Second Level Cache
  • Cache Concurrency
  • Configuring Second Level Cache

17.Annotations.

  • Metadata
  • Annotations Pros/Cons
  • Configuring Hibernate Annotations
  • EJB3/JPA Annotations
  • Hibernate Annotations

Request for Training

OR