Java javax.persistence TypedQuery fields, constructors, methods, implement or subclass

Example usage for Java javax.persistence TypedQuery fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.persistence TypedQuery.

The text is from its open source code.

Implementation

javax.persistence.TypedQuery has the following implementations.
Click this link to see all its implementation.

Method

intexecuteUpdate()
Execute an update or delete statement.
ParametergetParameter(String name)
Get the parameter object corresponding to the declared parameter of the given name.
Set>getParameters()
Get the parameter objects corresponding to the declared parameters of the query.
ListgetResultList()
Execute a SELECT query and return the query results as a typed List.
XgetSingleResult()
Execute a SELECT query that returns a single result.
TypedQuerysetFirstResult(int startPosition)
Set the position of the first result to retrieve.
TypedQuerysetFlushMode(FlushModeType flushMode)
Set the flush mode type to be used for the query execution.
TypedQuerysetHint(String hintName, Object value)
Set a query property or hint.
TypedQuerysetLockMode(LockModeType lockMode)
Set the lock mode type to be used for the query execution.
TypedQuerysetMaxResults(int maxResult)
Set the maximum number of results to retrieve.
TypedQuerysetParameter(Parameter param, T value)
Bind the value of a Parameter object.
TypedQuerysetParameter(String name, Object value)
Bind an argument value to a named parameter.
TypedQuerysetParameter(int position, Object value)
Bind an argument value to a positional parameter.
StringtoString()
Returns a string representation of the object.
Tunwrap(Class cls)
Return an object of the specified type to allow access to the provider-specific API.