Top Description Methods
org.hibernate.annotations

public @Interface DiscriminatorOptions

extends Annotation
Annotations
@Target:TYPE
@Retention:RUNTIME
Imports
java.lang.annotation.Retention, .Target

Optional annotation to express Hibernate specific discriminator properties.
Author
Hardy Ferentschik

Method Summary

Modifier and TypeMethod and Description
public boolean
force()

"Forces" Hibernate to specify the allowed discriminator values, even when retrieving all instances of the root class.

public boolean
insert()

Set this to false if your discriminator column is also part of a mapped composite identifier.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

forceback to summary
public boolean force()

"Forces" Hibernate to specify the allowed discriminator values, even when retrieving all instances of the root class. true indicates that the discriminator value should be forced; Default is false.

insertback to summary
public boolean insert()

Set this to false if your discriminator column is also part of a mapped composite identifier. It tells Hibernate not to include the column in SQL INSERTs. Default is true.