Home » Search

About parameters

21-30 of 200Refresh
Forum
19

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.a IS MEMBER OF :y.b ... . You need to use JOIN in JPA and contains in JDO. So if the parameter y is a collection the expression y.b is invalid. geekox86
Issue
19

Bug when using SIZE in combination with date lower parameter

cannot be both before and after the date parameter. Hello, to archieve the results the date parameter used in
Issue
18

Exception on comparing array fields against parameters in queries

Exception on comparing array fields against parameters in queries
JDO Doc
18

javax.jdo.PersistenceManager

. The classes parameter identifies all of the classes of interest. If the classes parameter ... listenerInstance interface. Parameters: listener - the lifecycle listener classes - the classes ... JDOUserException if the instance is transient or is managed by another PersistenceManager. Parameters: pc
JPA Doc
17

javax.persistence.criteria.CriteriaBuilder

of its argument. Create an expression that returns the absolute value of its argument. Parameters: x ... an all expression over the subquery results. Create an all expression over the subquery results. Parameters ... restriction predicates. A conjunction of zero predicates is true. Parameters: restrictions - zero or
JPA Doc
17

javax.persistence.Query

execution. Since: JPA 1.0 See Also: TypedQuery Parameter Learn how to define and use JPA/JPQL queries in ... of results Since: JPA 2.0 Parameter getParameter(int position) Get the parameter object corresponding to the declared positional parameter with the given position. Get the parameter object corresponding
JDO Doc
15

javax.jdo.Query

of instances, and the filter. There are optional elements: parameter declarations, variable declarations ... declareParameters corresponds to formal parameters of a method declareVariables corresponds to local ... , variables and parameters. The method setClass introduces the name of the candidate class in the type
Manual
13

JPA Criteria API Queries

of the way in 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 ... (Country.class); ParameterExpression p = cb.parameter(Integer.class); q.select(c).where(cb
JDO Doc
12

javax.jdo.datastore.DataStoreCache.EmptyDataStoreCache

. Since: JDO 2.0 void evict(Object oid) Evict the parameter instance from the second-level cache. Evict the parameter instance from the second-level cache. Parameters: oid - the object id of the instance to evict. Since: JDO 2.0 void evict(Object oid) Parameters: oid - Since: JDO 2. Parameters: oid
Manual
12

Collections in JPQL and Criteria Queries

Collections may appear in JPQL queries: as parameters - when collections are assigned as arguments ... 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. 'English' NOT IN :languages is TRUE