About named queries

61-70 of 200Refresh
JDO Doc
28

declareParameters(parameters)

Method javax.jdo.Query void declareParameters(   String parameters ) Declare the list of parameters query execution. The parameter declaration is a String containing one or more query parameter declarations separated with commas. Each parameter named in the parameter declaration must be bound
JDO Doc
28

executeWithArray(parameters)

Method javax.jdo.Query Object executeWithArray(   Object... parameters ) Execute the query and return the filtered Collection. The execution of the query obtains the values of the parameters and matches them against the declared parameters in order. The names of the declared parameters are ignored
JDO Doc
27

executeWithMap(parameters)

Method javax.jdo.Query Object executeWithMap(   Map parameters ) Execute the query and return the filtered Collection. The query is executed with the parameters set by the Map values. Each Map entry consists of a key which is the name of the parameter in the declareParameters method, and a value
JDO Doc
27

Query.fetchPlan

Annotation Element javax.jdo.annotations.Query String fetchPlan The name of the fetch plan used by this query Returns: the fetch plan Default value: "" Since: JDO 2.1
JDO Doc
27

declareImports(imports)

Method javax.jdo.Query void declareImports(   String imports ) Set the import statements to be used to identify the fully qualified name of variables or parameters. Parameters and unbound variables might come from a different class from the candidate class, and the names need to be declared in
JDO Doc
26

setOrdering(ordering)

Method javax.jdo.Query void setOrdering(   String ordering ) Set the ordering specification for the result Collection. The ordering specification is a String containing one or more ordering declarations separated by commas. Each ordering declaration is the name of the field on which to order
Manual
26

Comparison in JPQL and Criteria API

Most JPQL queries use at least one comparison operator in their WHERE clause. Comparison Operators ... , the JDO Query Language). ObjectDB supports both forms. Besides the different notation ... can be compared by using any comparison operator. Equality operators (=, <>, ==, !=) on strings in queries
Manual
25

Paths and Types in JPQL and Criteria API

through a NULL value The following query retrieves country names with their capital city names: SELECT ... , string, date). Simple type values are more useful in queries. They have special operators ... .capital.name is a nested path expression that continues from the Capital entity object to its name
Result
25

ObjectDB Object Database Features [2018-01-27]

query definition, including using JPA Criteria Query API. Static definition (named queries) in ... attributes, grouping queries and aggregate queries) which are usually missing from Object Oriented ...  (per EntityManagerFactory). Database file page cache. Query program cache (for repeating queries
Result
25

ObjectDB Object Database Features [2018-10-27]

query definition, including using JPA Criteria Query API. Static definition (named queries) in ... attributes, grouping queries and aggregate queries) which are usually missing from Object Oriented ...  (per EntityManagerFactory). Database file page cache. Query program cache (for repeating queries