Uses of Interface
jakarta.persistence.StoredProcedureQuery
Package
Description
Jakarta Persistence is the API for the management for persistence and object/relational mapping.
-
Uses of StoredProcedureQuery in jakarta.persistence
Modifier and TypeMethodDescriptionEntityManager.createNamedStoredProcedureQuery
(String name) Create an instance ofStoredProcedureQuery
for executing a stored procedure in the database.EntityManager.createStoredProcedureQuery
(String procedureName) Create an instance ofStoredProcedureQuery
for executing a stored procedure in the database.EntityManager.createStoredProcedureQuery
(String procedureName, Class<?>... resultClasses) Create an instance ofStoredProcedureQuery
for executing a stored procedure in the database.EntityManager.createStoredProcedureQuery
(String procedureName, String... resultSetMappings) Create an instance ofStoredProcedureQuery
for executing a stored procedure in the database.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.setCacheRetrieveMode
(CacheRetrieveMode cacheRetrieveMode) Set the cache retrieval mode that is in effect during query execution.StoredProcedureQuery.setCacheStoreMode
(CacheStoreMode cacheStoreMode) Set the cache storage mode that is in effect during query execution.StoredProcedureQuery.setFlushMode
(FlushModeType flushMode) Set the flush mode type to be used for the query execution.Set a query property or hint.StoredProcedureQuery.setParameter
(int position, Object value) Bind an argument value to a positional parameter.StoredProcedureQuery.setParameter
(int position, Calendar value, TemporalType temporalType) Deprecated.StoredProcedureQuery.setParameter
(int position, Date value, TemporalType temporalType) Deprecated.Newly-written code should use the date/time types defined injava.time
.StoredProcedureQuery.setParameter
(Parameter<Calendar> param, Calendar value, TemporalType temporalType) Deprecated.Newly-written code should use the date/time types defined injava.time
.StoredProcedureQuery.setParameter
(Parameter<Date> param, Date value, TemporalType temporalType) Deprecated.Newly-written code should use the date/time types defined injava.time
.StoredProcedureQuery.setParameter
(Parameter<T> param, T value) Bind the value of aParameter
object.StoredProcedureQuery.setParameter
(String name, Object value) Bind an argument value to a named parameter.StoredProcedureQuery.setParameter
(String name, Calendar value, TemporalType temporalType) Deprecated.Newly-written code should use the date/time types defined injava.time
.StoredProcedureQuery.setParameter
(String name, Date value, TemporalType temporalType) Deprecated.Newly-written code should use the date/time types defined injava.time
.StoredProcedureQuery.setTimeout
(Integer timeout) Set the query timeout, in milliseconds.
java.time
.