|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DiscriminatorSource
Contract for sources of information about a mapped discriminator.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||