T
- the type of the parameterpublic interface Parameter<T>
Query
,
TypedQuery
Modifier and Type | Method and Description |
---|---|
String |
getName()
Return the parameter name, or null if the parameter is
not a named parameter or no name has been assigned.
|
Class<T> |
getParameterType()
Return the Java type of the parameter.
|
Integer |
getPosition()
Return the parameter position, or null if the parameter
is not a positional parameter.
|
String getName()
Integer getPosition()
Class<T> getParameterType()
IllegalStateException
- if invoked on a parameter
obtained from a Java persistence query language
query or native query when the implementation does
not support this useCopyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.