@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface Transformation
ReadTransformer
,
WriteTransformer
,
Transformation can be specified within an Entity, MappedSuperclass
and Embeddable class.
Modifier and Type | Optional Element and Description |
---|---|
FetchType |
fetch
(Optional) Defines whether the value of the field or property should
be lazily loaded or must be eagerly fetched.
|
boolean |
optional
(Optional) The optional element is a hint as to whether the value
of the field or property may be null.
|
public abstract FetchType fetch