hibernate-core 5.6.15.Final
org.hibernate.annotations
DiscriminatorFormula
Top
Description
Methods
org.hibernate.annotations
public
@Interface DiscriminatorFormula
extends
Annotation
Annotations
@Target
:
TYPE
@Retention
:
RUNTIME
Imports
java.
lang.
annotation.
Retention
,
.Target
Used to apply a Hibernate formula (derived value) as the inheritance discriminator "column". Used in place of the JPA
javax.
persistence.
DiscriminatorColumn
when a formula is wanted. To be placed on the root entity.
Authors
Emmanuel Bernard, Steve Ebersole
See Also
Formula
Method Summary
Modifier and Type
Method and Description
public
String
value
()
The formula string.
Inherited from
java.lang.annotation.Annotation
:
annotationType
equals
hashCode
toString
Method Detail
value
back to summary
public
String
value
()
The formula string.