Single Table Inheritance

Single Table Inheritance

Single table inheritance is a way to emulate object-oriented inheritance in a relational database. When mapping from a database table to an object in an object-oriented language, a field in the database identifies what class in the hierarchy the object belongs to [ Martin Fowler "Patterns of Enterprise Application Architecture" (2003), p. 278] . In Ruby on Rails the field in the table called 'type' identifies the name of the class.

See also

* Object-relational mapping
* ActiveRecord (Rails)

References

External links

* [http://www.martinfowler.com/eaaCatalog/singleTableInheritance.html Single Table Inheritance]


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • inheritance — /in her i teuhns/, n. 1. something that is or may be inherited; property passing at the owner s death to the heir or those entitled to succeed; legacy. 2. the genetic characters transmitted from parent to offspring, taken collectively. 3.… …   Universalium

  • Virtual method table — A virtual method table, virtual function table, dispatch table, or vtable, is a mechanism used in programming language to support dynamic dispatch (or run time method binding).Suppose a program contains several classes in an inheritance hierarchy …   Wikipedia

  • Mendelian inheritance — For a non technical introduction to the topic, see Introduction to genetics. Part of a series on Genetics Key components Chromosome DNA • RNA Genome Heredity …   Wikipedia

  • Vererbung (Programmierung) — Vererbung dargestellt mittels UML. Die abgeleitete Klasse hat die Attribute x und y und verfügt über die Methoden a und b (im UML Sprachgebrauch Operationen a und b). Die Vererbung (engl. Inheritance) ist eines der grundlegenden Konzepte der… …   Deutsch Wikipedia

  • STI — Sexually Transmitted Infection (Medical » Physiology) *** Shallow Trench Isolation (Academic & Science » Electronics) ** SunTrust Banks, Inc. (Business » NYSE Symbols) * Straits Times Index (Business » Stock Exchange) * Structured Treatment… …   Abbreviations dictionary

  • STI — Meanings of STI:Institutes*Sega Technical Institute *Southern Technical Institute a university in Marietta, Georgia, USA *STI Colleges the Philippines largest college in IT based education courses *Substitute Teaching Institute *Swiss Tropical… …   Wikipedia

  • LIMB — Limb3 PHP Web Application Framework Тип CMF Написана на PHP Операционная система Кроссплатформенное программное обеспечение Последняя версия …   Википедия

  • PostgreSQL — Developer(s) PostgreSQL Global Development Group Stable release 9.1.1[1] / 9.0.5 …   Wikipedia

  • Lua (programming language) — Infobox programming language name = Lua paradigm = Multi paradigm: scripting, imperative, functional year = 1993 designer = Roberto Ierusalimschy Waldemar Celes Luiz Henrique de Figueiredo developer = latest release version = 5.1.4 latest release …   Wikipedia

  • Objektrelationale Abbildung — (englisch object relational mapping, ORM) ist eine Technik der Softwareentwicklung, mit der ein in einer objektorientierten Programmiersprache geschriebenes Anwendungsprogramm seine Objekte in einer relationalen Datenbank ablegen kann. Dem… …   Deutsch Wikipedia

Share the article and excerpts

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