About named queries

71-80 of 200Refresh
JDO Doc
20

Queries.value

Annotation Element javax.jdo.annotations.Queries Query[] value The named queries Returns: The named queries Since: JDO 2.1
JPA Doc
19

setHint(hintName, value)

Method javax.persistence.Query Query setHint(   String hintName,   Object value ) Set a query property or hint. The hints elements may be used to specify query properties and hints. Properties ... , this hint may or may not be observed. Parameters: hintName - name of the property or hint value - value
JDO Doc
19

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
19

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
19

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
18

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
18

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
18

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
17

Database Connection using JPA

for Query instances, which are needed for executing queries on the database. Every JPA implementation ... . Connection URL The createEntityManagerFactory method takes as an argument a name of a persistence ... is considered by ObjectDB to be a database url rather than as a persistence unit name. To use ObjectDB
Manual
16

Online Backup

applications. Starting Online Backup The online backup can be started by executing a special query ... .createQuery("objectdb backup").getSingleResult(); The backup query string is always exactly "objectdb backup ... of the ObjectDB home directory on the server side). A new subdirectory with a name that reflects the current