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

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

Introduction

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

The text is from its open source code.

Method

booleanexecute()
Return true if the first result corresponds to a result set, and false if it is an update count or if there are no results other than through INOUT and OUT parameters, if any.
ObjectgetOutputParameterValue(int position)
Retrieve a value passed back from the procedure through an INOUT or OUT parameter.
ObjectgetOutputParameterValue(String parameterName)
Retrieve a value passed back from the procedure through an INOUT or OUT parameter.
ListgetResultList()
Retrieve the list of results from the next result set.
ObjectgetSingleResult()
Retrieve a single result from the next result set.
StoredProcedureQueryregisterStoredProcedureParameter(int position, Class type, ParameterMode mode)
Register a positional parameter.
StoredProcedureQueryregisterStoredProcedureParameter(String parameterName, Class type, ParameterMode mode)
Register a named parameter.
StoredProcedureQuerysetParameter(Parameter param, T value)
Bind the value of a Parameter object.
StoredProcedureQuerysetParameter(String name, Object value)
Bind an argument value to a named parameter.
StoredProcedureQuerysetParameter(int position, Object value)
Bind an argument value to a positional parameter.
StoredProcedureQuerysetParameter(Parameter param, Calendar value, TemporalType temporalType)
Bind an instance of java.util.Calendar to a Parameter object.
StoredProcedureQuerysetParameter(Parameter param, Date value, TemporalType temporalType)
Bind an instance of java.util.Date to a Parameter object.
StoredProcedureQuerysetParameter(String name, Calendar value, TemporalType temporalType)
Bind an instance of java.util.Calendar to a named parameter.
StoredProcedureQuerysetParameter(String name, Date value, TemporalType temporalType)
Bind an instance of java.util.Date to a named parameter.
StoredProcedureQuerysetParameter(int position, Calendar value, TemporalType temporalType)
Bind an instance of java.util.Calendar to a positional parameter.
StoredProcedureQuerysetParameter(int position, Date value, TemporalType temporalType)
Bind an instance of java.util.Date to a positional parameter.