Example usage for Java javax.persistence StoredProcedureQuery fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | execute() 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. |
Object | getOutputParameterValue(int position) Retrieve a value passed back from the procedure through an INOUT or OUT parameter. |
Object | getOutputParameterValue(String parameterName) Retrieve a value passed back from the procedure through an INOUT or OUT parameter. |
List | getResultList() Retrieve the list of results from the next result set. |
Object | getSingleResult() Retrieve a single result from the next result set. |
StoredProcedureQuery | registerStoredProcedureParameter(int position, Class type, ParameterMode mode) Register a positional parameter. |
StoredProcedureQuery | registerStoredProcedureParameter(String parameterName, Class type, ParameterMode mode) Register a named parameter. |
StoredProcedureQuery | setParameter(Parameter Bind the value of a Parameter object. |
StoredProcedureQuery | setParameter(String name, Object value) Bind an argument value to a named parameter. |
StoredProcedureQuery | setParameter(int position, Object value) Bind an argument value to a positional parameter. |
StoredProcedureQuery | setParameter(Parameter Bind an instance of java.util.Calendar to a Parameter object. |
StoredProcedureQuery | setParameter(Parameter Bind an instance of java.util.Date to a Parameter object. |
StoredProcedureQuery | setParameter(String name, Calendar value, TemporalType temporalType) Bind an instance of java.util.Calendar to a named parameter. |
StoredProcedureQuery | setParameter(String name, Date value, TemporalType temporalType) Bind an instance of java.util.Date to a named parameter. |
StoredProcedureQuery | setParameter(int position, Calendar value, TemporalType temporalType) Bind an instance of java.util.Calendar to a positional parameter. |
StoredProcedureQuery | setParameter(int position, Date value, TemporalType temporalType) Bind an instance of java.util.Date to a positional parameter. |