Home » Search

About parameters

11-20 of 200Refresh
JPA Doc
64

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
64

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
64

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
63

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
63

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()
Manual
49

JPA Query API

Describes the API that JPA provides for running queries against the database.
Forum
21

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
JPA Doc
21

javax.persistence.TypedQuery

the execution of typed queries. Since: JPA 2.0 See Also: Query Parameter Learn how to define and use JPA ... : maximum number 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
Issue
21

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
21

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