Note: Being difficult to understand for a novice, I advise to follow the same order to have safe landing into Hibernate.
- Hibernate Tutorial – JDBC vs Hibernate
- Create Database Connection Permanently
- First Simple Example Theory – To insert a Record
- First Simple Program – Execution Step-by-step
- Second Program – Using hbm2ddl and HibernateSessionFactory
- Reverse Engineering Example
- get, load, delete and Update Methods
- list() and iterate(), Lazy and Eager Initialization
- First level and Second level Cache Examples
- Pagination Example
- Inheritance (Hierarchical) Mapping Tutorial
- Table Per Class Example
- Table Per Subclass Example
- Table Per Concreteclass Example
- Relational Associations Tutorial
- One-to-Many
- Many-to-One
- One-to-One
- Many-to-Many (with Set)
- Eager initialization vs Lazy initialization
- get() vs load()
- list() vs iterate()
- Ecplise/MyEclipse Keyboard Shortcuts
Miscellaneous