JDO Method
in javax.jdo.Query

void addSubquery(
  Query sub, 
  String variableDeclaration, 
  String candidateCollectionExpression
)


Add a subquery to this query.
Parameters:
sub - the subquery to add to this Query
variableDeclaration - the name of the variable in the outer query to bind the results of the subquery
candidateCollectionExpression - the candidate collection of the subquery as an expression using terms of the outer query
See Also:
addSubquery(Query sub,String variableDeclaration,String candidateCollectionExpression,String... parameters)
Since:
JDO 2.1