• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How & where & why Hibernate inheritance is uses full

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic