## Uses of Class
javax.persistence.TemporalType

- Packages that use TemporalType
  Package | Description
  --- | ---
  javax.persistence | Java Persistence is the API for the management for persistence and object/relational mapping.

- - ### Uses of TemporalType in javax.persistence

    Methods in javax.persistence that return TemporalType
    Modifier and Type | Method and Description
    --- | ---
    `static TemporalType` | TemporalType.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static TemporalType[]` | TemporalType.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in javax.persistence with parameters of type TemporalType
    Modifier and Type | Method and Description
    --- | ---
    `TypedQuery<X>` | TypedQuery.`setParameter(int position, Calendar value, TemporalType temporalType)` Bind an instance of `java.util.Calendar` to a positional parameter.
    `StoredProcedureQuery` | StoredProcedureQuery.`setParameter(int position, Calendar value, TemporalType temporalType)` Bind an instance of `java.util.Calendar` to a positional parameter.
    `Query` | Query.`setParameter(int position, Calendar value, TemporalType temporalType)` Bind an instance of `java.util.Calendar` to a positional parameter.
    `TypedQuery<X>` | TypedQuery.`setParameter(int position, Date value, TemporalType temporalType)` Bind an instance of `java.util.Date` to a positional parameter.
    `StoredProcedureQuery` | StoredProcedureQuery.`setParameter(int position, Date value, TemporalType temporalType)` Bind an instance of `java.util.Date` to a positional parameter.
    `Query` | Query.`setParameter(int position, Date value, TemporalType temporalType)` Bind an instance of `java.util.Date` to a positional parameter.
    `TypedQuery<X>` | TypedQuery.`setParameter(Parameter<Calendar> param, Calendar value, TemporalType temporalType)` Bind an instance of `java.util.Calendar` to a `Parameter` object.
    `StoredProcedureQuery` | StoredProcedureQuery.`setParameter(Parameter<Calendar> param, Calendar value, TemporalType temporalType)` Bind an instance of `java.util.Calendar` to a `Parameter` object.
    `Query` | Query.`setParameter(Parameter<Calendar> param, Calendar value, TemporalType temporalType)` Bind an instance of `java.util.Calendar` to a `Parameter` object.
    `TypedQuery<X>` | TypedQuery.`setParameter(Parameter<Date> param, Date value, TemporalType temporalType)` Bind an instance of `java.util.Date` to a `Parameter` object.
    `StoredProcedureQuery` | StoredProcedureQuery.`setParameter(Parameter<Date> param, Date value, TemporalType temporalType)` Bind an instance of `java.util.Date` to a `Parameter` object.
    `Query` | Query.`setParameter(Parameter<Date> param, Date value, TemporalType temporalType)` Bind an instance of `java.util.Date` to a `Parameter` object.
    `TypedQuery<X>` | TypedQuery.`setParameter(String name, Calendar value, TemporalType temporalType)` Bind an instance of `java.util.Calendar` to a named parameter.
    `StoredProcedureQuery` | StoredProcedureQuery.`setParameter(String name, Calendar value, TemporalType temporalType)` Bind an instance of `java.util.Calendar` to a named parameter.
    `Query` | Query.`setParameter(String name, Calendar value, TemporalType temporalType)` Bind an instance of `java.util.Calendar` to a named parameter.
    `TypedQuery<X>` | TypedQuery.`setParameter(String name, Date value, TemporalType temporalType)` Bind an instance of `java.util.Date` to a named parameter.
    `StoredProcedureQuery` | StoredProcedureQuery.`setParameter(String name, Date value, TemporalType temporalType)` Bind an instance of `java.util.Date` to a named parameter.
    `Query` | Query.`setParameter(String name, Date value, TemporalType temporalType)` Bind an instance of `java.util.Date` to a named parameter.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.