ObjectDB Database Search
51-100 of 200 resultsObject 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 | |
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 | |
jakarta.persistence.metamodel.ManagedType Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel.ManagedType Type Parameters ... to the specified name. Parameters : name - the name of the represented attribute Returns: attribute ... of the managed type that corresponds to the specified name and Java element type. Parameters : name | |
jakarta.persistence.metamodel.EmbeddableType Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel.EmbeddableType Type Parameters ... to the specified name. Inherited from ManagedType Parameters : name - the name of the represented attribute ... to the specified name and Java element type. Inherited from ManagedType Parameters : name - the name | |
jakarta.persistence.criteria.CriteriaQuery Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.CriteriaQuery Type Parameters ... AbstractQuery.distinct Parameters : distinct - boolean value specifying whether duplicate results ... from AbstractQuery Parameters : entityClass - the entity class Returns: query root corresponding | |
jakarta.persistence.criteria.AbstractQuery Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.AbstractQuery Type Parameters ... . Parameters : distinct - boolean value specifying whether duplicate results must be eliminated from ... to the given entity, forming a cartesian product with any existing roots. Parameters : entityClass - the entity | |
jakarta.persistence.criteria.CriteriaBuilder.SimpleCase reassigned. Returns the same selection item. Inherited from Selection Parameters : name - alias Returns ... . Inherited from Expression Parameters : type - intended type of the expression Returns: new ... Parameters : type - a basic type Returns: a scalar expression of the given basic type. Since: Jakarta | |
jakarta.persistence.criteria.Path Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.Path Type Parameters : - the type ... . Inherited from Selection Parameters : name - alias Returns: selection item. Since: Jakarta Persistence ... is not changed. Warning: may result in a runtime failure. Inherited from Expression Parameters : type | |
jakarta.persistence.criteria.CriteriaBuilder.Case reassigned. Returns the same selection item. Inherited from Selection Parameters : name - alias Returns ... . Inherited from Expression Parameters : type - intended type of the expression Returns: new expression ... Parameters : type - a basic type Returns: a scalar expression of the given basic type. Since: Jakarta | |
jakarta.persistence.criteria.CriteriaUpdate Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.CriteriaUpdate Type Parameters ... that is being updated. Parameters : entityClass - the entity class Returns: query root corresponding to the given entity ... root, the entity that is being updated. Parameters : entity - metamodel entity representing the entity | |
jakarta.persistence.criteria.CriteriaBuilder.In cannot be changed or reassigned. Returns the same selection item. Inherited from Selection Parameters ... : may result in a runtime failure. Inherited from Expression Parameters : type - intended type of the expression ... . Inherited from Expression Parameters : type - a basic type Returns: a scalar expression of the given basic | |
jakarta.persistence.criteria.CriteriaBuilder.Coalesce. Returns the same selection item. Inherited from Selection Parameters : name - alias Returns ... . Inherited from Expression Parameters : type - intended type of the expression Returns: new expression ... Parameters : type - a basic type Returns: a scalar expression of the given basic type. Since: Jakarta | |
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 | |
jakarta.persistence.EntityManagerFactory with the given name already exists, it is replaced. Parameters : graphName - name for the entity graph ... .createNamedStoredProcedureQuery methods. Any configuration of the query object (except for actual parameter ... mapping information, and information about stored procedure parameters . When the query is executed | |
jakarta.persistence.criteria.Expression Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.Expression Type Parameters ... item. Inherited from Selection Parameters : name - alias Returns: selection item. Since: Jakarta ... changed. Warning: may result in a runtime failure. Parameters : type - intended type | |
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 | |
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 | |
Exception on comparing array fields against parameters in queriesException on comparing array fields against parameters in queries | |
jakarta.persistence.criteria.Predicate selection item. Inherited from Selection Parameters : name - alias Returns: selection item. Since: Jakarta ... Parameters : type - intended type of the expression Returns: new expression of the given type ... between other basic types is not required. Inherited from Expression Parameters : type - a basic type | |
jakarta.persistence.PersistenceConfiguration . Parameters : name - the name of the persistence unit, which may be used by the persistence provider ... dataSourceJndiName ) Specify the JNDI name of a JTA javax.sql.DataSource . Parameters : dataSourceJndiName ... Converter ) to the configuration. Parameters : managedClass - the managed class Returns: this configuration | |
jakarta.persistence.PersistenceUnitUtil. This method may, but is not required to, load the given entity by side effect. Parameters : entity ... until after the database insert has occurred. Returns null if the entity does not yet have an id. Parameters : entity ... until after the database insert has occurred. Returns null if the entity does not yet have an id. Parameters : entity | |
jakarta.persistence.criteria.CriteriaDelete Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.CriteriaDelete Type Parameters ... . A CriteriaDelete object has a single root, the entity that is being deleted. Parameters : entityClass ... that is being deleted. Parameters : entity - metamodel entity representing the entity of type X Returns: query root | |
jakarta.persistence.NamedStoredProcedureQuery Implemented Interfaces: Annotation Target: Type Declares and names a stored procedure, its parameters ... . The parameters of the stored procedure are specified by the parameters element. Parameters must be specified in the order in which they occur in the parameter list of the stored procedure | |
jakarta.persistence.StoredProcedureParameter Interfaces: Annotation Declares a parameter of a named stored procedure query. All parameters ... Since: Jakarta Persistence (JPA) 2.1 Annotation Elements String name The name of the parameter as ... that the stored procedure uses positional parameters . Default: "" Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.Fetch Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.Fetch Type Parameters ... using an inner join. Inherited from FetchParent Parameters : attribute - target of the join Returns ... join type. Inherited from FetchParent Parameters : jt - join type attribute - target of the join | |
jakarta.persistence.criteria.FetchParent Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.FetchParent Type Parameters ... join. Parameters : attribute - target of the join Returns: the resulting fetch join. Since: Jakarta ... to the specified single-valued attribute using the given join type. Parameters : jt - join type | |
jakarta.persistence.ParameterMode Specifies the mode of a parameter of a stored procedure query. See Also: StoredProcedureQuery ... parameter Since: Jakarta Persistence (JPA) 1.0 INOUT Stored procedure input/output parameter Since: Jakarta Persistence (JPA) 1.0 OUT Stored procedure output parameter Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.PessimisticLockException PessimisticLockException exception with the specified detail message. Parameters : message - the detail message ... . Parameters : cause - the cause. message - the detail message. Since: Jakarta Persistence (JPA) 1.0 ... with the specified cause. Parameters : cause - the cause. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.LockTimeoutException. Parameters : message - the detail message. Since: Jakarta Persistence (JPA) 1.0 LockTimeoutException ... detail message and cause. Parameters : cause - the cause. message - the detail message. Since: Jakarta ... LockTimeoutException exception with the specified cause. Parameters : cause - the cause. Since: Jakarta Persistence (JPA | |
jakarta.persistence.Tuple. Parameters : tupleElement - tuple element Returns: value of tuple element. Throws: IllegalArgumentException ... to which the specified alias has been assigned. Parameters : alias - alias assigned to tuple element type ... of the tuple element to which the specified alias has been assigned. Parameters : alias - alias assigned | |
jakarta.persistence.criteria.CommonAbstractCriteria (JPA) 2.1 Public Instance Methods Set getParameters () Return the parameters of the query. Returns empty set if there are no parameters . Modifications to the set do not affect the query. Returns: the query parameters . Since: Jakarta Persistence (JPA) 1.0 Predicate getRestriction () Return | |
jakarta.persistence.QueryTimeoutException. Parameters : message - the detail message. Since: Jakarta Persistence (JPA) 1.0 QueryTimeoutException ... detail message and cause. Parameters : cause - the cause. message - the detail message. Since: Jakarta ... QueryTimeoutException exception with the specified cause. Parameters : cause - the cause. Since: Jakarta Persistence | |
jakarta.persistence.OptimisticLockException ) Constructs a new OptimisticLockException exception with the specified detail message. Parameters : message ... detail message and cause. Parameters : cause - the cause. message - the detail message. Since: Jakarta ... exception with the specified cause. Parameters : cause - the cause. Since: Jakarta Persistence (JPA | |
jakarta.persistence.StoredProcedureQuery.getOutputParameterValue(String) through an INOUT or OUT parameter . For portability, all results corresponding to result sets and update counts must be retrieved before the values of output parameters . Parameters : parameterName - name of the parameter as registered or specified in metadata Returns: the result that is passed | |
jakarta.persistence.metamodel.Metamodel representing the embeddable class. Parameters : cls - the type of the represented embeddable class ... entity type representing the entity. Parameters : entityName - the name of the represented entity Returns ... the metamodel entity type representing the entity. Parameters : cls - the type of the represented | |
jakarta.persistence.Cache , Object primaryKey ) Whether the cache contains data for the given entity. Parameters : cls - entity ... for the given entity from the cache. Parameters : cls - entity class primaryKey - primary key ... (and its subclasses) from the cache. Parameters : cls - entity class Since: Jakarta Persistence (JPA | |
jakarta.persistence.Persistence an EntityManagerFactory for the named persistence unit. Parameters : persistenceUnitName - the name ... for the named persistence unit, using the given properties. Parameters : persistenceUnitName ... . Parameters : configuration - configuration of the persistence unit Returns: the factory that creates | |
jakarta.persistence.StoredProcedureQuery.getOutputParameterValue(int) through an INOUT or OUT parameter . For portability, all results corresponding to result sets and update counts must be retrieved before the values of output parameters . Parameters : position - parameter position Returns: the result that is passed back through the parameter . Throws: IllegalArgumentException | |
jakarta.persistence.Query.getParameter(String) Jakarta Persistence (JPA) Method in jakarta.persistence.Query 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. Parameters : name - parameter name | |
jakarta.persistence.Query.getParameter(String,Class) Jakarta Persistence (JPA) Method in jakarta.persistence.Query Parameter getParameter ( String name , Class type ) Get the parameter object corresponding to the declared parameter of the given name and type. This method is required to be supported for criteria queries | |
jakarta.persistence.Query.getParameterValue(String); String name ) Return the input value bound to the named parameter . (Note that OUT parameters are unbound.) Parameters : name - parameter name Returns: parameter value. Throws: IllegalStateException - if the parameter has not been bound. IllegalArgumentException - if the parameter of the specified | |
Step 4: Create an ObjectDB Data Set successfully - a new window appears. In the Parameters list specify default values for low ( 11 |