Download Hibernate Tutorial PDF

TitleHibernate Tutorial
Tags Software Engineering Databases Information Technology Management Object Relational Mapping
File Size3.4 MB
Total Pages150
Table of Contents
                            Hibernate Tutorial
Audience
Prerequisites
Copyright & Disclaimer Notice
ORM Overview
	Pros and Cons of JDBC
	Why Object Relational Mapping (ORM)?
	What is ORM?
	Java ORM Frameworks
Hibernate Overview
	Hibernate Advantages
	Supported Databases
	Supported Technologies
Hibernate Architecture
	Configuration Object
	SessionFactory Object
	Session Object
	Transaction Object
	Query Object
	Criteria Object
Hibernate Environment
	Downloading Hibernate:
	Installing Hibernate
	Hibernate Prerequisites
Hibernate Configuration
	Hibernate Properties
	Hibernate with MySQL Database
Hibernate Sessions
	Session Interface Methods
Hibernate Persistent Class
	A simple POJO example:
Hibernate Mapping Files
Hibernate Mapping Types
	Primitive types
	Date and time types
	Binary and large object types
	JDK-related types
Hibernate Examples
	Create POJO Classes
	Create Database Tables
	Create Mapping Configuration File
	Create Application Class
	Compilation and Execution
Hibernate O/R Mapping
	Collections Mappings
	Hibernate Set Mappings
		Define RDBMS Tables
		Define POJO Classes
		Define Hibernate Mapping File
		Create Application Class
		Compilation and Execution
	Hibernate SortedSet Mappings
		Define RDBMS Tables
		Define POJO Classes
		Define Hibernate Mapping File
		Create Application Class
		Compilation and Execution
	Hibernate List Mappings
		Define RDBMS Tables
		Define POJO Classes
		Define Hibernate Mapping File
		Create Application Class
		Compilation and Execution
	Hibernate Bag Mappings
		Define RDBMS Tables
		Define POJO Classes
		Define Hibernate Mapping File
		Create Application Class
		Compilation and Execution
	Hibernate Map Mappings
		Define RDBMS Tables
		Define POJO Classes
		Define Hibernate Mapping File
		Create Application Class
		Compilation and Execution
	Hibernate SortedMap Mappings
		Define RDBMS Tables
		Define POJO Classes
		Define Hibernate Mapping File
		Compilation and Execution
	Association Mappings
	Hibernate Many-to-One Mappings
		Define RDBMS Tables
		Define POJO Classes
		Define Hibernate Mapping File
		Compilation and Execution
	Hibernate One-to-One Mappings
		Define RDBMS Tables
		Define POJO Classes
		Define Hibernate Mapping File
		Compilation and Execution
	Hibernate One-to-Many Mappings
		Define RDBMS Tables
		Define POJO Classes
		Define Hibernate Mapping File
		Create Application Class
		Compilation and Execution
	Hibernate Many-to-Many Mappings
		Define RDBMS Tables
		Define POJO Classes
		Define Hibernate Mapping File
		Create Application Class
		Compilation and Execution
	Component Mappings
	Hibernate Component Mappings
		Define RDBMS Tables
		Define POJO Classes
		Define Hibernate Mapping File
		Create Application Class
		Compilation and Execution
Hibernate Annotations
	Environment Setup for Hibernate Annotation
	Annotated Class Example
	@Entity Annotation
	@Table Annotation
	@Id and @GeneratedValue Annotations
	@Column Annotation
	Create Application Class
	Database Configuration
	Compilation and Execution
Hibernate Query Language
	FROM Clause
	AS Clause
	SELECT Clause
	WHERE Clause
	ORDER BY Clause
	GROUP BY Clause
	Using Named Paramters
	UPDATE Clause
	DELETE Clause
	INSERT Clause
	Aggregate Methods
	Pagination using Query
Hibernate Criteria Queries
	Restrictions with Criteria
	Pagination using Criteria
	Sorting the Results
	Projections & Aggregations
	Criteria Queries Example
	Compilation and Execution
Hibernate Native SQL
	Scalar queries
	Entity queries
	Named SQL queries
	Native SQL Example
	Compilation and Execution
Hibernate Caching
	First-level cache
	Second-level cache
	Query-level cache
	The Second Level Cache
	Concurrency strategies
	Cache provider
	The Query-level Cache
Hibernate Batch Processing
	Batch Processing Example
	Compilation and Execution
Hibernate Interceptors
	How to use Interceptors?
	Create Interceptors
	Create POJO Classes
	Create Database Tables
	Create Mapping Configuration File
	Create Application Class
	Compilation and Execution
                        

Similer Documents