EclipseLink 1.0.1 API Reference

org.eclipse.persistence.config
Class QueryType

java.lang.Object
  extended by org.eclipse.persistence.config.QueryType

public class QueryType
extends java.lang.Object

Query type hint values. The class contains all the valid values for QueryHints.QUERY_TYPE query hint. JPA Query Hint Usage:

query.setHint(QueryHints.QueryType, QueryType.ReadObject);

or

@QueryHint(name=QueryHints.QueryType, value=QueryType.ReadObject)

Hint values are case-insensitive. "" could be used instead of default value CacheUsage.DEFAULT.

See Also:
QueryHints

Field Summary
static java.lang.String Auto
           
static java.lang.String DEFAULT
           
static java.lang.String ReadAll
           
static java.lang.String ReadObject
           
static java.lang.String Report
           
 
Constructor Summary
QueryType()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Auto

public static final java.lang.String Auto
See Also:
Constant Field Values

ReadObject

public static final java.lang.String ReadObject
See Also:
Constant Field Values

ReadAll

public static final java.lang.String ReadAll
See Also:
Constant Field Values

Report

public static final java.lang.String Report
See Also:
Constant Field Values

DEFAULT

public static final java.lang.String DEFAULT
See Also:
Constant Field Values
Constructor Detail

QueryType

public QueryType()

EclipseLink 1.0.1 API Reference