
Play Store Application link – Hibernate – in 10 steps – Apps on Google Play
- Topic 1-Introduction to Hibernate and ORM (Object-Relational Mapping)
A- Introduction to Hibernate and ORM
B- Why Use Hibernate?
C- How Hibernate Works?
D- Hibernate Architecture - Topic 2 – Configuring Hibernate
A- Importing Hibernate libraries (Classes/Interfaces)
B- Hibernate Interfaces/Class
C- Creating Hibernate Configuration File - Topic 3- Hibernate Mapping Files Setup
A- comparison of the data types for Java, Hibernate, and SQL
B- Defining Mapping files – (Java class to tables conversion)
C- Creating Session factory, session and transaction objects to perform DB operations. - Topic 4- States of objects in hibernate
A- Transient
B- Persistent
C- Detached - Topic 5- Working with Persistent Objects
A- Saving objects
B- Retrieving objects
C- Updating objects
D- Deleting objects - Topic 6 – 10 Methods of hibernate
A- get() method
B- load() method
C- save() method
D- saveOrUpdate() method
E- update() method
F- persist() method
G- merge() method
H- delete() method
I – evict() method
J- clear() method - Topic 7- Types of Mapping in Hibernate
A- Inheritance Mappings-
(a)Table per class hierarchy (Single Table Strategy)
(b)Table per sub-class hierarchy (Joined Strategy)
(c)Table per concrete class hierarchy
B- Collections Mappings-
(a)- List Mapping
(b)- Set Mapping
(c)- Map Mapping
C- Association Mappings-
(a)- One to One Mapping
(b)- One to Many Mapping
(c)- Many to One Mapping
(d)- Many to Many Mapping - Topic 8 – Hibernate Query Language (HQL)
A- Performing database operations using HQL
B- Understanding HQL syntax
C- Using HQL to query objects
D- 10 Features of Query Object - Topic 9 – Criteria Queries
A- Associations
B- Restrictions
C- Ordering
D- Projections
E- Aggregation - Topic 10- Caching in hibernate
A- First-level Cache
B- Second-level Cache
C- Query Cache