• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

How & where & why Hibernate inheritance is uses full

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I knew and understood Hibernate inheritance concept, I also worked on 2 enterprise Media domain projects which uses Hibernate orm tool as DAO layer to interact with database,

Can anyone please clarify My doubt How & where & why Hibernate inheritance is uses full, in real time projects because the projects where I worked we have used Hibernate Associations like one to many, many to one, many to many to save and fetch data, and other hibernate concepts, never used Hibernate inheritance concept like Table per sub class, though we have used Oracle db, which has lot of table Parent-child relationship, through foreign key reference.

My point of doubt is How Inheritance specifically used in the context of Parent-child relationship using foreign key, do we use the Inheritance Table per sub class or Table Per concrete strategy to save and fetch the data? or Hibernate one to many or other hibernate mapping to save and fetch the data.

I assume through Hibernate associations like to one to many mapping we fetch and save the date, how Hibernate Inheritance particularly used under which scenario, please explain me in detail, with possible examples .

Thanks in Advance for everyone who has shown interest to this question.
 
Amateurs built google. Professionals built the titanic. We can't find the guy that built this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic