Does hibernate support polymorphism?

Ads
 

Does hibernate support polymorphism?

Hi,

Does hibernate support polymorphism?

thanks,

View Answers

April 24, 2013 at 12:46 PM

Hi,

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 http://www.roseindia.net/hibernate/hibernate4/hibernatePolymorphicQueries.shtml

Ads









Related Tutorials/Questions & Answers:
Does hibernate support polymorphism?
Does Java support multiple inheritance?
Advertisements
Does Java support multiple Inheritance?
Object does not support proprty or method
Why does Java not support operator overloading?
post method does not support this url
What is a pointer and does Java support pointers?
Hibernate 4.3 and JPA 2.1 support
How does getcurrentsession() method works in hibernate sessionfactory?
why java does not support multiple inheritance - Java Beginners
Which version of Hibernate support JPA 2.1?
How to handle traversing in CustomItem of J2ME in a mobile phone which does not support traversing?
package org.hibernate.util does not exist
hibernate
package javax.validation does not exist
Hibernate ORM 4.3.1.Final released
Hibernate 4.3 Tutorial
package javax.ws.rs does not exist
Hibernate ORM 4.3.6.Final released
Hibernate ORM 4.3.0.Final released
Does memory for Class or Object?
What does COMMIT do?
package javax.servlet does not exist
HIBERNATE
hibernate
hibernate
import package.subpackage.* does not work
Hibernate 4.2.4 and JPA 2.1 Example
hibernate
hibernate
Hibernate

Ads