## Uses of Interface
javax.persistence.StoredProcedureQuery

- Packages that use StoredProcedureQuery
  Package | Description
  --- | ---
  javax.persistence | Java Persistence is the API for the management for persistence and object/relational mapping.

- - ### Uses of StoredProcedureQuery in javax.persistence

    Methods in javax.persistence that return StoredProcedureQuery
    Modifier and Type | Method and Description
    --- | ---
    `StoredProcedureQuery` | EntityManager.`createNamedStoredProcedureQuery(String name)` Create an instance of `StoredProcedureQuery` for executing a stored procedure in the database.
    `StoredProcedureQuery` | EntityManager.`createStoredProcedureQuery(String procedureName)` Create an instance of `StoredProcedureQuery` for executing a stored procedure in the database.
    `StoredProcedureQuery` | EntityManager.`createStoredProcedureQuery(String procedureName, Class... resultClasses)` Create an instance of `StoredProcedureQuery` for executing a stored procedure in the database.
    `StoredProcedureQuery` | EntityManager.`createStoredProcedureQuery(String procedureName, String... resultSetMappings)` Create an instance of `StoredProcedureQuery` for executing a stored procedure in the database.
    `StoredProcedureQuery` | StoredProcedureQuery.`registerStoredProcedureParameter(int position, Class type, ParameterMode mode)` Register a positional parameter.
    `StoredProcedureQuery` | StoredProcedureQuery.`registerStoredProcedureParameter(String parameterName, Class type, ParameterMode mode)` Register a named parameter.
    `StoredProcedureQuery` | StoredProcedureQuery.`setFlushMode(FlushModeType flushMode)` Set the flush mode type to be used for the query execution.
    `StoredProcedureQuery` | StoredProcedureQuery.`setHint(String hintName, Object value)` Set a query property or hint.
    `StoredProcedureQuery` | StoredProcedureQuery.`setParameter(int position, Calendar value, TemporalType temporalType)` Bind an instance of `java.util.Calendar` to a positional parameter.
    `StoredProcedureQuery` | StoredProcedureQuery.`setParameter(int position, Date value, TemporalType temporalType)` Bind an instance of `java.util.Date` to a positional parameter.
    `StoredProcedureQuery` | StoredProcedureQuery.`setParameter(int position, Object value)` Bind an argument value to a positional parameter.
    `StoredProcedureQuery` | StoredProcedureQuery.`setParameter(Parameter<Calendar> param, Calendar value, TemporalType temporalType)` Bind an instance of `java.util.Calendar` to a `Parameter` object.
    `StoredProcedureQuery` | StoredProcedureQuery.`setParameter(Parameter<Date> param, Date value, TemporalType temporalType)` Bind an instance of `java.util.Date` to a `Parameter` object.
    `<T> StoredProcedureQuery` | StoredProcedureQuery.`setParameter(Parameter<T> param, T value)` Bind the value of a `Parameter` object.
    `StoredProcedureQuery` | StoredProcedureQuery.`setParameter(String name, Calendar value, TemporalType temporalType)` Bind an instance of `java.util.Calendar` to a named parameter.
    `StoredProcedureQuery` | StoredProcedureQuery.`setParameter(String name, Date value, TemporalType temporalType)` Bind an instance of `java.util.Date` to a named parameter.
    `StoredProcedureQuery` | StoredProcedureQuery.`setParameter(String name, Object value)` Bind an argument value to a named parameter.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.