R4R Team working to provide free of cost for experienced and freshers

Tutorials | Examples|Interview Questions and Answers|Java Tutorials| C Tutorials | C++ Tutorials | Spring Tutorials| Hibernate Tutorials | JSP Tutorials | Servelets Tutorials| C# Tutorials | PHP Tutorials etc , Basics | Download Software | Data Types | Variables | Constant | Storage & Classes | Operators | Decisions Making | Loops | Functions| Numbers | Arrays | Pointers | String | Datastructure | Expressions | Preprocessor Statement | I/O | Exception Handling | OOPs Tutorial | Classes and object |C++ Inheritance Overloading | Polymorphism | Abstraction | Encapsulation | Interfaces | Multithreading etc

Hibernate

Hibernate Mapping
Previous Home Next

There are two types of mapping:

  1. Is -A Mapping
  2. Has-A Mapping

Is-A Mapping:-

Is a relation between persistent object can be implemented in the following three ways

  1. Table per class Hierarchy
  2. Table per subclass
  3. Table per class
Previous Home Next