Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * Copyright (c) 2009 Mysema Ltd.
  * All rights reserved.
  *
  */
 package com.mysema.query.jdoql;
 
 
import  javax.jdo.PersistenceManager;
Query interface for JDOQL queries

Author(s):
tiwe
public interface JDOQLQuery extends JDOQLCommonQuery<JDOQLQuery>, ProjectableCloseable {

    
Clone the state of the query for the given PersistenceManager

Parameters:
persistenceManager
Returns:
    JDOQLQuery clone(PersistenceManager persistenceManager);

    
Add the fetch group to the set of active fetch groups.

Parameters:
string
Returns:
    JDOQLQuery addFetchGroup(String fetchGroupName);

    
Set the maximum fetch depth when fetching. A value of 0 has no meaning and will throw a JDOUserException. A value of -1 means that no limit is placed on fetching. A positive integer will result in that number of references from the initial object to be fetched.

Parameters:
maxFetchDepth
Returns:
    JDOQLQuery setMaxFetchDepth(int maxFetchDepth);
New to GrepCode? Check out our FAQ X