Latest Tutorials| Questions and Answers|Ask Questions?|Site Map

Home Answers Viewqa Hibernate Does hibernate support polymorphism?

Have Programming Question? Ask it here!

Java Coder
Does hibernate support polymorphism?
1 Answer(s)      a year and 4 months ago
Posted in : Hibernate


Does hibernate support polymorphism?


View Answers

April 24, 2013 at 12:46 PM


Polymorphic means the polymorphism i.e an object that has a IS-A relation with their own type class object. Hibernate query doesn't only returns the instance of parent class, it returns the instances of subclasses also i.e a query will return all those persistent classes instance which extends that class or an interface is implemented.

Fore detail on

Related Tutorials/Questions & Answers: