About parameters

21-30 of 200Refresh
Forum
23

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
23

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
JDO Doc
22

javax.jdo.JDOEntityManager

of lifecycle event listeners. The classes parameter identifies all of the classes of interest. If the classes parameter is specified as null, events for all persistent classes and interfaces ... the corresponding listenerInstance interface. Parameters: listener - the lifecycle listener classes
Issue
22

Exception on comparing array fields against parameters in queries

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

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
20

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
19

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
18

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
15

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
14

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