Top "Single-table-inheritance" questions

Single table inheritance is the simplest of several ways to design SQL tables that reflect a class/subclass or generalization/specialization relationship.

"IllegalArgumentException occurred calling getter of" while running criteria with SINGLE_TABLE Inheritance strategy

I have this error while trying to list objects from database with hibernate Criteria decorated with simple Restrictions Criteria criteria = …

java hibernate criteria single-table-inheritance
Rails Question: belongs_to with STI -- how do i do this correctly?

I've been playing around with STI and belongs_to / has_many relationships and I'm a bit confused. I have a …

ruby-on-rails ruby-on-rails-3 has-many single-table-inheritance sti
has_many and single table inheritance

I have a has_many relationship between two entities, Feeds and Posts. I also have specific types of posts, Videos …

ruby-on-rails has-many single-table-inheritance
How to manage Single Table Inheritance within Doctrine 2?

I have comments and articles, both are votable. So, basically I've three entities, Article, Comment and Vote. After some reading …

php models doctrine-orm single-table-inheritance
Multiple Table Inheritance vs. Single Table Inheritance in Ruby on Rails

I have been struggling for the past few hours thinking about which route I should go. I have a Notification …

single-table-inheritance ruby-on-rails
Can a single table inheritance entity extend a class table inheritance entity?

This is my base/parent entity, setup so its children are using their own tables. /** * @ORM\Entity * @ORM\Table(name="…

symfony doctrine-orm symfony-2.3 single-table-inheritance class-table-inheritance
Rails attr_accessible does not work for :type?

Im trying set the single table inheritance model type in a form. So i have a select menu for attribute :…

ruby-on-rails single-table-inheritance