Uses of Class
jakarta.persistence.Timeout
Packages that use Timeout
Package
Description
Jakarta Persistence is the API for the management for persistence and object/relational mapping.
-
Uses of Timeout in jakarta.persistence
Methods in jakarta.persistence that return TimeoutModifier and TypeMethodDescriptionReference.getTimeout()The specifiedTimeout, if any, ornullif no timeout was specified.static TimeoutTimeout.milliseconds(int milliseconds) Specify a timeout in milliseconds.static TimeoutTimeout.ms(int milliseconds) Specify a timeout in milliseconds.static TimeoutTimeout.s(int seconds) Specify a timeout in seconds.static TimeoutTimeout.seconds(int seconds) Specify a timeout in seconds.Methods in jakarta.persistence with parameters of type TimeoutModifier and TypeMethodDescriptionQuery.setTimeout(Timeout timeout) Set the query timeout.Statement.setTimeout(Timeout timeout) Set the query timeout.StoredProcedureQuery.setTimeout(Timeout timeout) Set the query timeout.TypedQuery.setTimeout(Timeout timeout) Set the query timeout. -
Uses of Timeout in jakarta.persistence.query
Methods in jakarta.persistence.query that return TimeoutModifier and TypeMethodDescriptionStaticStatementReference.getTimeout()StaticTypedQueryReference.getTimeout()Constructors in jakarta.persistence.query with parameters of type TimeoutModifierConstructorDescriptionStaticStatementReference(String queryName, Class<?> annotatedClass, String annotatedMemberName, List<Class<?>> parameterTypes, List<String> parameterNames, List<Object> arguments, Timeout timeout, Map<String, Object> hints) Intended for use in code generated by an annotation processor.StaticTypedQueryReference(String queryName, Class<?> annotatedClass, String annotatedMemberName, Class<R> resultType, List<Class<?>> parameterTypes, List<String> parameterNames, List<Object> arguments, CacheRetrieveMode cacheRetrieveMode, CacheStoreMode cacheStoreMode, LockModeType lockMode, PessimisticLockScope lockScope, Timeout timeout, String entityGraphName, Map<String, Object> hints) Intended for use in code generated by an annotation processor.