@Target(value={METHOD,FIELD}) @Retention(value=RUNTIME) public @interface Temporal
Date and Calendar. It may only be specified for fields
or properties of these types.
The Temporal annotation may be used in
conjunction with the Basic annotation.
Example:
@Temporal(DATE)
protected java.util.Date endDate;
| Modifier and Type | Required Element and Description |
|---|---|
TemporalType |
value
The type used in mapping java.util.Date or java.util.Calendar.
|
public abstract TemporalType value
Copyright © 2023. All rights reserved.