ObjectDB Database Search
1-50 of 200 resultsQuery Parameters in JPA Query parameters enable the definition of reusable queries. Such queries can be executed with different parameter values to retrieve different results. Running the same query multiple times with different parameter values (arguments) is more efficient than using a new query string for every query | |
Entity object parameter in Explorer parameter Hello, I cannot set an entity object in a parameter for a bulk update in the explorer query execution. The format Entity#001 works well for the parameter in the WHERE clause, but it doesn't work in ... Parameters : a: Status#10002 b: Status#10003 That query | |
InterfaceRef jakarta.persistence.Parameter JPA Interface Parameter Type Parameters : - the type of the parameter Type for query parameter ... how to use Parameter . Public Methods String getName () Return the parameter name, or null if the parameter is not a named parameter or no name has been assigned. Return: parameter name Since: JPA 2.0 | |
Object as parameter results in exception parameters . Maybe EclipseLink defines an implicit parameter to resolve this query, and maybe this is what ObjectDB should do. Using a parameter is also recommended for the primary key. In the current form ... with parameters automatically, whenever possible. Currently, to solve the problem and improve | |
CriteriaBuilder.parameter(paramClass,name) - JPA Method JPA Method in jakarta.persistence.criteria.CriteriaBuilder ParameterExpression parameter ( Class paramClass, String name ) Create a parameter expression with the given name. Parameters : paramClass - parameter class name - name that can be used to refer to the parameter Return: parameter expression Since: JPA 2.0 | |
Parameter | |
Parameter | |
Parameter | |
CriteriaBuilder.parameter(paramClass) - JPA Method JPA Method in jakarta.persistence.criteria.CriteriaBuilder ParameterExpression parameter ( Class paramClass ) Create a parameter expression. Parameters : paramClass - parameter class Return: parameter expression Since: JPA 2.0 | |
AnnotationAttrRef jakarta.persistence.NamedStoredProcedureQuery.parameters JPA Annotation Attribute in jakarta.persistence.NamedStoredProcedureQuery StoredProcedureParameter [] parameters default {} Information about all parameters of the stored procedure. Parameters must be specified in the order in which they occur in the parameter list of the stored procedure. Since: JPA 2.1 | |
Navigation and Parameters Greetings ObjectDB team, Suppose I pass a List of persistent objects to some query as a parameter , can I navigate to those objects' fields ? E.g.: SELECT x FROM ClassX x WHERE x ... . So if the parameter y is a collection the expression y.b is invalid. support Support | |
Query over the keySet of a map field with collection parameter It is possible to execute a query over a keySet of a map field with comparing to a collection parameter ? Set values = new HashSet (); values.add("c2"); String query = // "SELECT e " + "FROM ... with a parameter which is a collection of strings. SELECT e FROM EntityParent e JOIN e . map key | |
JPA Criteria API Queries which the query is built. Parameters in Criteria Queries The following query string represents a JPQL query with a parameter : SELECT c FROM Country c WHERE c.population :p An equivalent query can be built using ... . parameter (Integer.class); q. select (c). where (cb. gt (c. get ("population"), p | |
Collections in JPQL and Criteria Queries Collections may appear in JPQL queries: as parameters - when collections are assigned as arguments ... that is passed to the query as a parameter . For example: 'English' IN :languages is TRUE if the argument for the languages parameter is a collection that contains 'English' and FALSE if not | |
Database Connection using JPA of the createEntityManagerFactory method takes a map of persistence unit properties as a second parameter : Map properties ... , relative to the server data root path. Connection URL Parameters The following parameters ... above). To obtain a connection to an empty database (discarding existing content if any) the drop parameter | |
Strings in JPQL and Criteria Queries' , ''. as parameters - when string values are assigned as arguments. as path expressions - in ... (usually a parameter or literal). For example: c.name LIKE '_r%' is TRUE for 'Brazil' and FALSE ... , as shown in the following examples: // Create path and parameter expressions: Expression path | |
Numbers in JPQL and Criteria Queries , -12.5 . as parameters - when numeric values are assigned as arguments. as path expressions - in ... Java numeric object: // Create path and parameter expressions: Expression path = country. get ("population"); Expression param = cb. parameter (Integer.class); // Addition (+) Expression sum1 = cb. sum | |
Literals in JPQL and Criteria Queries ). JPQL literals should be used sparingly as queries that use parameters instead of literals ... parameter values. Literals should only be embedded in JPQL queries when a single constant value | |
Online Backup directory can be specified by setting the target parameter before executing the backup query:   ... is specified as a value for the target parameter it represents a path relative to the ObjectDB home | |
Paths and Types in JPQL and Criteria API identification variables and SELECT result variables. Parameters - when instances of these classes ... with an instance of a user defined class (represented by a variable, parameter or prefix path | |
Database Explorer: Enter a query string. In the [ Parameters ] table provide arguments for parameters (if any | |
InterfaceRef jakarta.persistence.criteria.CriteriaBuilder ( Expression x) Create an expression that returns the absolute value of its argument. Parameters : x ... an all expression over the subquery results. Parameters : subquery - subquery Return: all expression ... of the given boolean expressions. Parameters : x - boolean expression y - boolean expression Return | |
date parameter not working (probably) in explorer.classIdentifier = '(PR)' and o.created ?1 we try to set the parameter (its a java.util.Date) in the parameters table. None of the following works: 2020-12-01 2020.12.01 {d '2020-12-01'} the parameter ... '. A workaround for previous versions is to use a date literal (embedded in the query) instead of a date parameter . support Support | |
Bug when using SIZE in combination with date lower parameter cannot be both before and after the date parameter . support Support Hello, to archieve the results the date parameter used in both queries is obviously not the same. For the first query it is 1 year in the future | |
Large query parameter - out of memory. In your test the request is very large (the query parameter arguments) and the response ... with their huge query parameter arguments. Build 2.3.3_06 fixes this issue. Thank you for this report and for the test program. support Support | |
Exception on comparing array fields against parameters in queriesException on comparing array fields against parameters in queries | |
InterfaceRef jakarta.persistence.StoredProcedureQuery with the following: The setParameter methods are used to set the values of all required IN and INOUT parameters . It is not required to set the values of stored procedure parameters for which default values ... both the simple case where scalar results are passed back only via INOUT and OUT parameters as well as | |
Database Management Settings of these temporary databases is deleted when using the drop URL connection parameter . The elements | |
Date and Time in JPQL and Criteria Queries Date and time expressions may appear in JPQL queries: as date and time literals - e.g. {d '2011-12-31'} , {t '23:59:59'} . as parameters - when date and time values are assigned as arguments. as path expressions - in navigation to persistent date and time fields. as results of predefined | |
JPA Query Expressions (JPQL / Criteria) / Criteria Variables JPQL / Criteria Parameters JPQL / Criteria Literals Every query expression consists | |
JPA Named Queries A named query is a statically defined query with a predefined unchangeable query string. Using named queries instead of dynamic queries may improve code organization by separating the JPQL query strings from the Java code. It also enforces the use of query parameters | |
WHERE clause (JPQL / Criteria API)); Root c = q. from (Country.class); q. select (c); ParameterExpression p = cb. parameter (Integer | |
Comparison in JPQL and Criteria API. The two following expressions are equivalent ( :min and :max are query parameters ): x BETWEEN :min AND :max x | |
ObjectDB Object Database Features parameters for efficient reuse of one query in multiple executions. Result range settings (first | |
InterfaceRef jakarta.persistence.TypedQuery JPA Interface TypedQuery Type Parameters : - query result type Super Interfaces: Query Interface used to control the execution of typed queries. See Also: Query Parameter Since: JPA 2.0 Chapter 4 ... of results Inherited from: Query Since: JPA 2.0 Parameter getParameter (String name) Get the parameter | |
InterfaceRef jakarta.persistence.Query StoredProcedureQuery Parameter Since: JPA 1.0 Chapter 4 - JPA Queries (JPQL / Criteria) explains how to use Query ... .0 Parameter getParameter (String name) Get the parameter object corresponding to the declared parameter of the given name. This method is not required to be supported for native queries | |
InterfaceRef jakarta.persistence.EntityManager for rollback. Parameters : function - the function - the connection type, usually {@code java.sql ... entity instance belonging to the current persistence context. Parameters : entity - entity instance ... ) Create a new mutable EntityGraph , allowing dynamic definition of an entity graph. Parameters : rootType | |
InterfaceRef jakarta.persistence.criteria.From JPA Interface From Type Parameters : - the source type - the target type Super Interfaces ... ) Create a fetch join to the specified collection-valued attribute using an inner join. Parameters ... to the specified collection-valued attribute using the given join type. Parameters : attribute - target | |
InterfaceRef jakarta.persistence.criteria.ParameterExpression JPA Interface ParameterExpression Type Parameters : - the type of the parameter expression Super Interfaces: Expression , Parameter , Selection , TupleElement Type of criteria query parameter ... : the runtime type is not changed. Warning: may result in a runtime failure. Parameters : type | |
InterfaceRef jakarta.persistence.criteria.Subquery JPA Interface Subquery Type Parameters : - the type of the selection item. Super Interfaces ... : the runtime type is not changed. Warning: may result in a runtime failure. Parameters : type - intended ... . Parameters : type - a basic type Return: a scalar expression of the given basic type Inherited from | |
InterfaceRef jakarta.persistence.metamodel.IdentifiableType JPA Interface IdentifiableType Type Parameters : - The represented entity or mapped superclass type ... ) Return the attribute of the managed type that corresponds to the specified name. Parameters : name ... to the specified name. Parameters : name - the name of the represented attribute Return: CollectionAttribute | |
InterfaceRef jakarta.persistence.criteria.Join JPA Interface Join Type Parameters : - the source type of the join - the target type of the join ... join to the given entity. Parameters : entityClass - the target entity class Return: the resulting ... ;joinType) Create and add a join to the given entity. Parameters : entityClass - the target entity class | |
InterfaceRef jakarta.persistence.EntityGraph JPA Interface EntityGraph Type Parameters : - The type of the root entity. Super Interfaces: Graph ... attribute, or add a new attribute node if there is no existing node. Parameters : attribute - attribute ... if there is no existing node. Parameters : attributeName - name of the attribute Return: the attribute | |
InterfaceRef jakarta.persistence.metamodel.EmbeddableType JPA Interface EmbeddableType Type Parameters : - The represented embeddable type. Super Interfaces ... that corresponds to the specified name. Parameters : name - the name of the represented attribute Return ... attribute of the managed type that corresponds to the specified name. Parameters : name - the name | |
InterfaceRef jakarta.persistence.Subgraph JPA Interface Subgraph Type Parameters : - The type of the attribute. Super Interfaces: Graph ... if there is no existing node. Parameters : attribute - attribute Return: the attribute node Throws ... with the given name, or add a new attribute node if there is no existing node. Parameters | |
InterfaceRef jakarta.persistence.metamodel.ManagedType JPA Interface ManagedType Type Parameters : - The represented type. Super Interfaces: Type ... that corresponds to the specified name. Parameters : name - the name of the represented attribute ... to the specified name. Parameters : name - the name of the represented attribute Return: CollectionAttribute | |
InterfaceRef jakarta.persistence.Graph if there is no existing node. Parameters : attribute - attribute Return: the attribute node Throws ... add a new attribute node if there is no existing node. Parameters : attributeName - name ... argument is ignored and has no effect. Parameters : attribute - attribute Throws | |
InterfaceRef jakarta.persistence.criteria.AbstractQuery JPA Interface AbstractQuery Type Parameters : - the type of the result Super Interfaces ... results must be retained. Parameters : distinct - boolean value specifying whether duplicate results ... to the given entity, forming a cartesian product with any existing roots. Parameters : entityClass - the entity | |
InterfaceRef jakarta.persistence.criteria.CriteriaUpdate JPA Interface CriteriaUpdate Type Parameters : - the entity type that is the target of the update ... , the entity that is being updated. Parameters : entityClass - the entity class Return: query root corresponding ... root, the entity that is being updated. Parameters : entity - metamodel entity representing | |
Step 4: Create an ObjectDB Data Set successfully - a new window appears. In the Parameters list specify default values for low ( 11 |