Uses of Interface
jakarta.persistence.TypedQueryReference
Packages that use TypedQueryReference
Package
Description
Jakarta Persistence is the API for the management for persistence and object/relational mapping.
-
Uses of TypedQueryReference in jakarta.persistence
Methods in jakarta.persistence that return TypedQueryReferenceModifier and TypeMethodDescription<R> TypedQueryReference<R> EntityManagerFactory.addNamedQuery(String name, TypedQuery<R> query) Define the givenTypedQueryas a named query such that future query objects can be created from it by calling eitherEntityHandler.createQuery(TypedQueryReference)orEntityHandler.createNamedQuery(String,Class).Methods in jakarta.persistence that return types with arguments of type TypedQueryReferenceModifier and TypeMethodDescription<R> Map<String, TypedQueryReference<R>> EntityManagerFactory.getNamedQueries(Class<R> resultType) A map keyed by query name, containing references to every named query whose result type is assignable to the given Java type.Methods in jakarta.persistence with parameters of type TypedQueryReferenceModifier and TypeMethodDescription<T> TypedQuery<T> EntityHandler.createQuery(TypedQueryReference<T> reference) Create an instance ofTypedQueryfor executing a typed named query written in the Jakarta Persistence query language or in native SQL. -
Uses of TypedQueryReference in jakarta.persistence.query
Classes in jakarta.persistence.query that implement TypedQueryReferenceModifier and TypeClassDescriptionclassA reference to a query declared using aStaticQueryorStaticNativeQueryannotation.