Package | Description |
---|---|
javax.persistence |
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.
|
Modifier and Type | Method and Description |
---|---|
Query |
Query.setParameter(int position,
Calendar value,
TemporalType temporalType)
Bind an instance of java.util.Calendar to a positional parameter.
|
Query |
Query.setParameter(int position,
Date value,
TemporalType temporalType)
Bind an instance of java.util.Date to a positional parameter.
|
Query |
Query.setParameter(String name,
Calendar value,
TemporalType temporalType)
Bind an instance of java.util.Calendar 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 © 2013. All rights reserved.