Inheritance mapping
The three strategies
It is possible to define subclass, union-subclass, and joined-subclass
Caching in Hibernate With working object
CacheRetrieveMode controls how Hibernate accesses
Table per class hierarchy
Suppose we have an interface Payment with the implementors CreditCardPayment,
Table per subclass
The three subclass tables have primary key associations to the superclass table so
Table per subclass: using a discriminator
The approach taken by Hibernate is much more difficult to implement, but arguably more correct from.
Mixing table per class hierarchy with table per subclass
For any of these mapping strategies, a polymorphic association to the root Payment class is
Table per concrete class
The limitation of this approach is that if a property is mapped on the superclass,
Table per concrete class using implicit polymorphism
The disadvantage of this approach is that Hibernate does not generate SQL UNIONs when performing polymorphic queries.
Mixing implicit polymorphism with other inheritance mappings
Once again, Payment is not mentioned explicitly. If we execute a query against the Payment interface,
Limitations
There are limitations to the \\

Hibernate Tutorial for beginners with Examples

Mapping in Hibernate or Association Mapping in Hibernate

Database Portability Considerations

Mapping with Annotation in Hibernate

Collection mapping

Basic O/R Mapping

Hibernate Mapping types

Caching machanism

HQL: The Hibernate Query Language

Join in hibenrate

Advanced collection mappings

Batch processing

Native SQL

Criteria Queries

Fetching strategies in Hibernate From the DataBase

Hibernate Step By Step Application Using Struts On NetBeans

Hibernate Step By Step Application Using Swing On NetBeans

Hibernate Step By Step Application Using Spring On NetBeans

Hibernate Step By Step Application Using Servlet On NetBeans

Interceptors and events

Filtering data in Hibernate

Working with objects

XML Mapping in Hibernate

Transactions and Concurrency in Hibernate

Inheritance mapping

Component Mapping In Hibernate

Use of Configuration in Hibernate

Persistent Classes in Hibernate

Toolset Guide in Hibernate

Difference Between Save and Persist Method