FileDocCategorySizeDatePackage
Temporal.javaAPI DocGlassfish v2 API2929Fri May 04 22:34:08 BST 2007javax.persistence

Temporal

public class Temporal
This annotation must be specified for persistent fields or properties of type {@link java.util.Date} and {@link java.util.Calendar}. It may only be specified for fields or properties of these types.

The Temporal annotation may be used in conjunction with the {@link Basic} annotation.

Example:

@Temporal(DATE)
protected java.util.Date endDate;
since
Java Persistence 1.0

Fields Summary
Constructors Summary
Methods Summary
javax.persistence.TemporalTypevalue()
The type used in mapping java.util.Date or java.util.Calendar.