Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
javax.persistence.Query

Packages that use Query
javax.persistence | The javax.persistence package contains the classes and interfaces that define the contracts between a persistence provider and the managed classes and the clients of the Java Persistence API.

Uses of Query in javax.persistence

Methods in javax.persistence that return Query
`Query` | `EntityManager.createNamedQuery(String name)` Create an instance of Query for executing a named query (in EJB QL or native SQL).
`Query` | `EntityManager.createNativeQuery(String sqlString)` Create an instance of Query for executing a native SQL statement, e.g., for update or delete.
`Query` | `EntityManager.createNativeQuery(String sqlString, Class resultClass)` Create an instance of Query for executing a native SQL query.
`Query` | `EntityManager.createNativeQuery(String sqlString, String resultSetMapping)` Create an instance of Query for executing a native SQL query.
`Query` | `EntityManager.createQuery(String ejbqlString)` Create an instance of Query for executing an EJB QL statement.
`Query` | `Query.setFirstResult(int startPosition)` Set the position of the first result to retrieve.
`Query` | `Query.setFlushMode(FlushModeType flushMode)` Set the flush mode type to be used for the query execution.
`Query` | `Query.setHint(String hintName, Object value)` Set an implementation-specific hint.
`Query` | `Query.setMaxResults(int maxResult)` Set the maximum number of results to retrieve.
`Query` | `Query.setParameter(int position, Calendar value, TemporalType temporalType)` Bind an instance of java.util.Calendar to a positional parameter.
`Query` | `Query.setParameter(int position, Date value, TemporalType temporalType)` Bind an instance of java.util.Date to a positional parameter.
`Query` | `Query.setParameter(int position, Object value)` Bind an argument to a positional parameter.
`Query` | `Query.setParameter(String name, Calendar value, TemporalType temporalType)` Bind an instance of java.util.Calendar to a named parameter.
`Query` | `Query.setParameter(String name, Date value, TemporalType temporalType)` Bind an instance of java.util.Date to a named parameter.
`Query` | `Query.setParameter(String name, Object value)` Bind an argument to a named parameter.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES