Uses of Interface
jakarta.persistence.StatementReference
Packages that use StatementReference
Package
Description
Defines the core APIs for the management for persistence and
object/relational mapping.
Defines the Jakarta Persistence Criteria Query API.
Defines annotations for expressing statically type safe queries by
annotating query methods of a
discoverable type
or Jakarta Data repository.
-
Uses of StatementReference in jakarta.persistence
Methods in jakarta.persistence that return StatementReferenceModifier and TypeMethodDescriptionEntityManagerFactory.addNamedStatement(String name, Statement statement) Define the givenStatementas a named statement such that future statement objects can be created from it by calling eitherEntityHandler.createStatement(StatementReference)orEntityHandler.createNamedStatement(String).Methods in jakarta.persistence that return types with arguments of type StatementReferenceModifier and TypeMethodDescriptionEntityManagerFactory.getNamedStatements()A map keyed by query name, containing references to every named statement.Methods in jakarta.persistence with parameters of type StatementReferenceModifier and TypeMethodDescriptionEntityHandler.createStatement(StatementReference reference) Create an instance ofStatementfor executing a named statement written in the Jakarta Persistence query language or in native SQL. -
Uses of StatementReference in jakarta.persistence.criteria
Methods in jakarta.persistence.criteria that return StatementReferenceModifier and TypeMethodDescriptionCriteriaBuilder.augment(StatementReference reference, Consumer<CriteriaStatement<?>> augmentation) Modify the Jakarta Persistence query language statement represented by the given reference, returning a reference to the modified statement inheriting all the options of the given reference.Methods in jakarta.persistence.criteria with parameters of type StatementReferenceModifier and TypeMethodDescriptionCriteriaBuilder.augment(StatementReference reference, Consumer<CriteriaStatement<?>> augmentation) Modify the Jakarta Persistence query language statement represented by the given reference, returning a reference to the modified statement inheriting all the options of the given reference. -
Uses of StatementReference in jakarta.persistence.query
Classes in jakarta.persistence.query that implement StatementReferenceModifier and TypeClassDescriptionclassA reference to a statement declared using aJakartaQueryorNativeQueryannotation.