Home » Search

About parameters

131-140 of 200 Refresh
JPA Doc
3

setParameter(name, value)

) Bind an argument to a named parameter. Parameters: name - parameter name value - parameter value Returns: the same query instance Throws: IllegalArgumentException - if the parameter name does not correspond to a parameter of the query or if the argument is of incorrect type Since: JPA 2.0
JPA Doc
3

setParameter(name, value, temporalType)

 temporalType ) Bind an instance of java.util.Date to a named parameter. Parameters: name - parameter name value - parameter value temporalType - temporal type Returns: the same query instance Throws: IllegalArgumentException - if the parameter name does not correspond to a parameter of the query or if the value argument is of incorrect type Since: JPA 1.0
JPA Doc
3

setParameter(name, value, temporalType)

 temporalType ) Bind an instance of java.util.Calendar to a named parameter. Parameters: name - parameter name value - parameter value temporalType - temporal type Returns: the same query instance Throws: IllegalArgumentException - if the parameter name does not correspond to a parameter of the query
JPA Doc
3

setParameter(name, value, temporalType)

,   TemporalType temporalType ) Bind an instance of java.util.Calendar to a named parameter. Parameters: name - parameter name value - parameter value temporalType - temporal type Returns: the same query instance Throws: IllegalArgumentException - if the parameter name does not correspond to a parameter
JPA Doc
3

setParameter(name, value, temporalType)

,   TemporalType temporalType ) Bind an instance of java.util.Date to a named parameter. Parameters: name - parameter name value - parameter value temporalType - temporal type Returns: the same query instance Throws: IllegalArgumentException - if the parameter name does not correspond to a parameter
JDO Doc
3

execute(p1, p2, p3)

and return the filtered Collection. Parameters: p1 - the value of the first parameter declared. p2 - the value of the second parameter declared. p3 - the value of the third parameter declared. Returns: the filtered Collection. Since: JDO 1.0 See Also: executeWithArray(Object[] parameters)
JDO Doc
3

getObjectIds(pcs)

for a collection of instances. For each instance in the parameter, the getObjectId method is called. This method returns one identity instance for each element in the parameter. The order of iteration of the returned Collection exactly matches the order of iteration of the parameter Collection. Parameters
JDO Doc
3

getObjectIds(pcs)

for an array of instances. For each instance in the parameter, the getObjectId method is called. This method returns one identity instance for each element in the parameter. The order of instances of the returned array exactly matches the order of instances of the parameter array. Parameters: pcs
JPA Doc
3

getParameters()

Method javax.persistence.Query Set< Parameter > getParameters() Get the parameter objects corresponding to the declared parameters of the query. Returns empty set if the query has no parameters. This method is not required to be supported for native queries. Returns: set of the parameter objects
JPA Doc
3

getParameterValue(position)

Method javax.persistence.Query Object getParameterValue(   int position ) Return the value bound to the positional parameter. Parameters: position - position Returns: parameter value Throws: IllegalStateException - if the parameter has not been been bound IllegalArgumentException - if the parameter with the specified position does not exist Since: JPA 2.0