Package org.hibernate.annotations
Annotation Type DiscriminatorOptions
-
@Target(TYPE) @Retention(RUNTIME) public @interface DiscriminatorOptions
Optional annotation to express Hibernate specific discriminator properties.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
force
"Forces" Hibernate to specify the allowed discriminator values, even when retrieving all instances of the root class.boolean
insert
Set this tofalse
if your discriminator column is also part of a mapped composite identifier.
-