About query

101-110 of 200Refresh
JDO Doc
60

Constants.OPTION_QUERY_SQL

Static Field javax.jdo.Constants String OPTION_QUERY_SQL "javax.jdo.query.SQL" Since: JDO 2.1 See Also: PersistenceManagerFactory.supportedOptions()
JDO Doc
60

declareVariables(variables)

Method javax.jdo.Query void declareVariables(   String variables ) Declare the unbound variables to be used in the query. Variables might be used in the filter, and these variables must be declared with their type. The unbound variable declaration is a String containing one or more unbound variable
JDO Doc
60

deletePersistentAll(parameters)

Method javax.jdo.Query long deletePersistentAll(   Map parameters ) Deletes all the instances of the candidate class that pass the filter. Parameters: parameters - for the query Returns: the number of instances of the candidate class that were deleted Since: JDO 2.0 See Also: deletePersistentAll()
JDO Doc
60

deletePersistentAll(parameters)

Method javax.jdo.Query long deletePersistentAll(   Object... parameters ) Deletes all the instances of the candidate class that pass the filter. Parameters: parameters - for the query Returns: the number of instances of the candidate class that were deleted Since: JDO 2.0 See Also: deletePersistentAll()
JDO Doc
60

execute()

Method javax.jdo.Query Object execute() Execute the query and return the filtered Collection. Returns: the filtered Collection. Since: JDO 1.0 See Also: executeWithArray(Object[] parameters)
JDO Doc
60

execute(p1)

Method javax.jdo.Query Object execute(   Object p1 ) Execute the query and return the filtered Collection. Parameters: p1 - the value of the first parameter declared. Returns: the filtered Collection. Since: JDO 1.0 See Also: executeWithArray(Object[] parameters)
JDO Doc
60

execute(p1, p2)

Method javax.jdo.Query Object execute(   Object p1,   Object p2 ) Execute the query and return the filtered Collection. Parameters: p1 - the value of the first parameter declared. p2 - the value of the second parameter declared. Returns: the filtered Collection. Since: JDO 1.0 See Also: executeWithArray(Object[] parameters)
JDO Doc
60

execute(p1, p2, p3)

Method javax.jdo.Query Object execute(   Object p1,   Object p2,   Object p3 ) Execute the query 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
JPA Doc
60

getParameterValue(param)

Method javax.persistence.Query T getParameterValue(   Parameter param ) Return the value bound to the parameter. Parameters: param - parameter object Returns: parameter value Throws: IllegalArgumentException - if the parameter is not a parameter of the query IllegalStateException - if the parameter has not been been bound Since: JPA 2.0
JDO Doc
60

isUnmodifiable()

Method javax.jdo.Query boolean isUnmodifiable() The unmodifiable flag, when set, disallows further modification of the query, except for specifying the range, result class, and ignoreCache option. Returns: the current setting of the flag Since: JDO 2.0