About parameters

11-20 of 200Refresh
JPA Doc
72

getName()

Method javax.persistence.Parameter String getName() Return the parameter name, or null if the parameter is not a named parameter or no name has been assigned. Returns: parameter name Since: JPA 2.0
JPA Doc
72

getParameterType()

Method javax.persistence.Parameter Class getParameterType() Return the Java type of the parameter. Values bound to the parameter must be assignable to this type. This method is required ... language queries and native queries will not be portable. Returns: the Java type of the parameter Throws
JPA Doc
72

getPosition()

Method javax.persistence.Parameter Integer getPosition() Return the parameter position, or null if the parameter is not a positional parameter. Returns: position of parameter Since: JPA 2.0
JPA Doc
72

parameter(paramClass)

Method javax.persistence.criteria.CriteriaBuilder ParameterExpression parameter(   Class paramClass ) Create a parameter expression. Parameters: paramClass - parameter class Returns: parameter expression Since: JPA 2.0
JDO Doc
71

deletePersistentAll(parameters)

Method javax.jdo.Query long deletePersistentAll(   Map parameters ) Deletes all the instances of the candidate class that pass the filter. Parameters: parameters - for the query Returns: the number of instances of the candidate class that were deleted Since: JDO 2.0 See Also: deletePersistentAll()
JDO Doc
71

deletePersistentAll(parameters)

Method javax.jdo.Query long deletePersistentAll(   Object... parameters ) Deletes all the instances of the candidate class that pass the filter. Parameters: parameters - for the query Returns: the number of instances of the candidate class that were deleted Since: JDO 2.0 See Also: deletePersistentAll()
Forum
33

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 updates all accounts with status
Forum
24

Object as parameter results in exception

is valid since objects such as a Company instance are expected to be passed to the query as 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
Issue
23

Large query parameter - out of memory

is very large (the query parameter arguments) and the response is very small. Therefore, even with a small query result cache - ObjectDB kept many cached result entries with their huge query parameter
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