Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 1050

For questions about extending a base object's features into a derived object.

3 votes
Accepted

Postgresql inheritance based database design

Whether you are better off with single-table-inheritance or class-table-inheritance really depends on the particulars of your case. The performance advantage can go either way. …
Walter Mitty's user avatar
  • 4,386
0 votes

Modeling a product database and dealing with inheritance

ER models have inheritance, only the ER people call it "generalization/specialization". … Here they are: single table inheritance; class table inheritance; shared primary key. The first two are alternatives. They each have an upside and a downside. …
Walter Mitty's user avatar
  • 4,386
2 votes

Inheritance of unknown type at creation time

Try searching "single table inheritance" or "class table inheritance". Especially the web pages from Martin Fowler. …
Walter Mitty's user avatar
  • 4,386
4 votes

Conceptual ERD Multi-table many to many, or possibly recursive?

At first, it didn't have anything like inheritance either. … Try looking up these two design patterns "Class-table-inheritance" and "Single-Table-Inheritance". There are two tags for these in over in Stackoverflow. …
Walter Mitty's user avatar
  • 4,386
3 votes
Accepted

Enhanced ER Model Supertype / Subtype modeling issue with inheritance and recursion

You may wish to include this tag in your original question: subtypes Here are three of the techniques in a nutshell: single table inheritance, class table inheritance, and shared primary key. … His examples are about players and cricketers, not customers and representatives, but the issues concerning implementing inheritance (really pseudo inheritance) in a relational system are not case dependent …
Walter Mitty's user avatar
  • 4,386