Polymorphic association

From Wikipedia, the free encyclopedia

Polymorphic association is a term used in discussions of Object-Relational Mapping with respect to the problem of representing in the relational database domain, a relationship from one class to the superclass of multiple subclasses in Java. If there is a relationship between one class and a superclass in some Java code, then there is a polymorphic association between the two.

There is a discussion of this subject in Chapter 5 of "Java Persistence with HIBERNATE" where the authors discuss the subject of "Mapping Class Inheritance".

[edit] See also

Hibernate (Java)

[edit] References

Java Persistence with HIBERNATE, Bauer, Christian & Gavin, King, Manning, copyright 2007, ISBN 1-932394-8-5

[edit] External Links

[Hibernate Home Page]