Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.
@Retention(CLASS) @Target({TYPE})
public @interface Inheritance
Stores an entity hierarchy in one table with an immutable discriminator.
Methods
public abstract String discriminatorColumn() default "entity_type" | Names the column distinguishing concrete classes in this single-table hierarchy. |
Method details
discriminatorColumn
public abstract String discriminatorColumn() default "entity_type"Names the column distinguishing concrete classes in this single-table hierarchy.
Returns
column name; entity_type by default