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.

Single Table Inheritance in Django

Is there explicit support for Single Table Inheritance in Django? Last I heard, the feature was still under development and …

python django django-models single-table-inheritance
How can I disable a validation and callbacks in a rails STI derived model?

Given a model class BaseModel < ActiveRecord::Base validates_presence_of :parent_id before_save :frobnicate_widgets end and a …

ruby-on-rails validation callback single-table-inheritance
Hibernate HT_ Temporary Tables ON JOINED inheritance, Migration from Hibernate 3.4.0.GA To 5.1

I'm trying to migrate an application from Hibernate 3.4.0.GA to Hibernate 5.1, and after complete the required changes on java code, …

java hibernate single-table-inheritance jpa-2.1
Rails STI: How to change mapping between class name & value of the 'type' column

Because of company rules I can't use our domain class names; I am going to use an analogy instead. I …

ruby-on-rails types single-table-inheritance sti
Get a list/array of child classes from Single Table Inheritance in Rails?

I have a whole bunch of child classes that inherit from a parent class via single-table-inheritance in my Rails app. …

ruby-on-rails single-table-inheritance
Spring: controller inheritance using @Controller annotation

I'd like to be able to create a base controller in my Spring app that, among other things, determines if …

spring controller annotations single-table-inheritance
com.microsoft.sqlserver.jdbc.SQLServerException: Invalid column name 'DTYPE'

I am trying to make Single Table Inheritance into the Hibernate, but I am getting an error and I'm not …

java hibernate jdbc single-table-inheritance mssql-jdbc
How to run validations of sub-class in Single Table Inheritance?

In my application, I have a class called Budget. The budget can be of many types.. For instance, let's say …

ruby-on-rails validation activerecord single-table-inheritance
Can I remove the discriminator column in a Hibernate single table inheritance?

We use single table inheritance for every table in our application. This allows different instances of the same application stack …

java hibernate inheritance single-table-inheritance querydsl
Rails: Using Devise with single table inheritance

I am having a problem getting Devise to work the way I'd like with single table inheritance. I have two …

ruby-on-rails ruby-on-rails-3 devise single-table-inheritance