Polymorphic association

Polymorphic association

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 multiple classes. In statically typed languages such as Java these multiple classes are subclasses of the same superclass. In languages with Duck Typing, such as Ruby, this is not necessarily the case.

See also

* Polymorphism in object-oriented programming
* Hibernate (Java)

References

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

External links

* [http://www.hibernate.org/ Hibernate Home Page]
* [http://wiki.rubyonrails.org/rails/pages/PolymorphicAssociations Polymorphic Associations in Ruby on Rails]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • Polymorphism in object-oriented programming — In simple terms, polymorphism is the ability of one type, A, to appear as and be used like another type, B. In strongly typed languages, this usually means that type A somehow derives from type B, or type A implements an interface that represents …   Wikipedia

  • SNP genotyping — is the measurement of genetic variations of single nucleotide polymorphisms (SNPs) between members of a species. It is a form of genotyping, which is the measurement of more general genetic variation. SNPs are one of the most common types of… …   Wikipedia

  • Ventricular tachycardia — Classification and external resources ICD 10 I …   Wikipedia

  • Comparison of programming languages (mapping) — Programming language comparisons General comparison Basic syntax Basic instructions Arrays Associative arrays String operations …   Wikipedia

  • 5-HTTLPR — (serotonin transporter linked polymorphic region) is a degenerate repeat polymorphic region in SLC6A4 , the gene that codes for the serotonin transporter.Since the polymorphism was identified in the middle of the 1990 s, [Cite journal author = A …   Wikipedia

  • Race (classification of humans) — Race Classification Race (classification of humans) Genetics …   Wikipedia

  • Androgen insensitivity syndrome — Classification and external resources AIS results when the function of the androgen receptor (AR) is impaired. The AR protein (pictured) mediates the effects of androgens in the human body. ICD 10 E …   Wikipedia

  • Serotonin transporter — The serotonin transporter (SERT) is a monoamine transporter protein. This protein is an integral membrane protein that transports the neurotransmitter serotonin from synaptic spaces into presynaptic neurons. This transport of serotonin by the… …   Wikipedia

  • Ryanodine receptor 2 — (cardiac), also known as RYR2, is a human gene. PBB Summary section title = summary text = This gene encodes a ryanodine receptor found in cardiac muscle sarcoplasmic reticulum. The encoded protein is one of the components of a calcium channel,… …   Wikipedia

  • Cell nucleus — HeLa cells stained for the cell nucleus DNA with the Blue Hoechst dye. The central and rightmost cell are in interphase, thus their entire nuclei are labeled. On the left, a cell is going through mitosis and its DNA has condensed ready for… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”