Uses of Interface
jakarta.persistence.TypedQuery.Option
Packages that use TypedQuery.Option
Package
Description
Defines the core APIs for the management for persistence and
object/relational mapping.
Defines annotations for expressing statically type safe queries by
annotating query methods of a
discoverable type
or Jakarta Data repository.
-
Uses of TypedQuery.Option in jakarta.persistence
Classes in jakarta.persistence that implement TypedQuery.OptionModifier and TypeClassDescriptionenumSpecifies how theEntityManagerinteracts with the second-level cache when data is read from the database via theEntityManager.find(Class, Object, Map)methods and execution of queries.enumSpecifies how theEntityManagerinteracts with the second-level cache when data is read from the database and when data is written to the database.enumEnumerates the kinds of optimistic or pessimistic lock which may be obtained on an entity instance.enumControls how a pessimistic lock applied to an entity affects associated collections and relationships.enumEnumerates the possible flush modes for execution of aQuery.classSpecifies a timeout for a database request.Methods in jakarta.persistence that return types with arguments of type TypedQuery.OptionModifier and TypeMethodDescriptionTypedQuery.getOptions()Get the options influencing execution of this typed query.TypedQueryReference.getOptions()All options specified byQueryOptions,NamedQuery, orNamedNativeQuery, or an empty set if no options were specified.Methods in jakarta.persistence with parameters of type TypedQuery.OptionModifier and TypeMethodDescriptionTypedQuery.addOption(TypedQuery.Option option) Specify an option influencing execution of this typed query, overwriting any existing option of the same type. -
Uses of TypedQuery.Option in jakarta.persistence.query
Methods in jakarta.persistence.query that return types with arguments of type TypedQuery.OptionConstructors in jakarta.persistence.query with parameters of type TypedQuery.OptionModifierConstructorDescriptionStaticTypedQueryReference(String queryName, Class<?> annotatedClass, String annotatedMemberName, Class<R> resultType, List<Class<?>> parameterTypes, List<String> parameterNames, List<Object> arguments, String entityGraphName, Map<String, Object> hints, TypedQuery.Option... options) Intended for use in code generated by an annotation processor.