public annotation DiscriminatorColumn( name as String = "DTYPE", discriminatorType as DiscriminatorType = DiscriminatorType.STRING, length as Int = 31 )
Configures the discriminator used to materialize an entity subtype.
Document providers bind the same logical discriminator through their own field or path metadata.
@Inheritance(strategy=InheritanceType.SINGLE_TABLE) @DiscriminatorColumn(name="paymentType", length=24) public abstract class Payment: pass