| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=TYPE) @Retention(value=RUNTIME) public @interface DiscriminatorOptions
Optional annotation to express Hibernate specific discrimintor properties.
| Optional Element Summary | |
|---|---|
|  boolean | force"Forces" Hibernate to specify the allowed discriminator values, even when retrieving all instances of the root class. | 
|  boolean | insertSet this to false, if your discriminator column is also part of a mapped composite identifier. | 
public abstract boolean force
true in case the discriminator value should be forces, false otherwise. Default is false.public abstract boolean insert
false, if your discriminator column is also part of a mapped composite identifier.
 It tells Hibernate not to include the column in SQL INSERTs.
true in case the discriminator value should be included in inserts, false otherwise.
         Default is true.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||