Showing posts with label Hybernate. Show all posts
Showing posts with label Hybernate. Show all posts

Friday, August 22, 2008

ORM Manager

ORM manager will populate the data stored in the persistent storage like a database in the form of an object graph. ORM manager will use different object mapping strategies like table per hierarchy [TPH], table per type [TPT] or table per concrete class [TPC], etc. in populating the object graph. LINQ to SQL is based on TPH. Hibernate supports TPC, TPH and table per subclass mapping strategy [1]. Following is an example of the TPH.



Table Per Hierarchy ORM implementation


Reference:
1. http://www.hibernate.org/hib_docs/reference/en/html/inheritance.html accessed on 08/21/2008