public interface DiscriminatorSource
Modifier and Type | Method and Description |
---|---|
RelationalValueSource |
getDiscriminatorRelationalValueSource()
Obtain the column/formula information about the discriminator.
|
String |
getExplicitHibernateTypeName()
Obtain the discriminator type.
|
boolean |
isForced()
"Forces" Hibernate to specify the allowed discriminator values, even when retrieving all instances of the
root class.
|
boolean |
isInserted()
Set this to
false , if your discriminator column is also part of a mapped composite identifier. |
RelationalValueSource getDiscriminatorRelationalValueSource()
String getExplicitHibernateTypeName()
boolean isForced()
true
in case the discriminator value should be forces, false
otherwise. Default
is false
.boolean isInserted()
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
.Copyright © 2018 JBoss by Red Hat. All rights reserved.