Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractAuditable<U,
PK extends Serializable> - Class in org.springframework.data.jpa.domain -
Abstract base class for auditable entities.
- AbstractAuditable() - Constructor for class org.springframework.data.jpa.domain.AbstractAuditable
- AbstractJpaQuery - Class in org.springframework.data.jpa.repository.query
-
Abstract base class to implement
RepositoryQuerys. - AbstractJpaQuery(JpaQueryMethod, EntityManager) - Constructor for class org.springframework.data.jpa.repository.query.AbstractJpaQuery
-
Creates a new
AbstractJpaQueryfrom the givenJpaQueryMethod. - AbstractJpaQuery.TupleConverter - Class in org.springframework.data.jpa.repository.query
- AbstractJpqlQuery() - Constructor for class org.springframework.data.jpa.repository.query.JpqlQueryBuilder.AbstractJpqlQuery
- AbstractPersistable<PK extends Serializable> - Class in org.springframework.data.jpa.domain
-
Abstract base class for entities.
- AbstractPersistable() - Constructor for class org.springframework.data.jpa.domain.AbstractPersistable
- add(String, Object) - Method in class org.springframework.data.jpa.repository.support.MutableQueryHints
-
Add a new key-value pair for a hint.
- afterPropertiesSet() - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean
- allOf(Iterable<DeleteSpecification<T>>) - Static method in interface org.springframework.data.jpa.domain.DeleteSpecification
-
Applies an AND operation to all the given
DeleteSpecifications. - allOf(Iterable<PredicateSpecification<T>>) - Static method in interface org.springframework.data.jpa.domain.PredicateSpecification
-
Applies an AND operation to all the given
PredicateSpecifications. - allOf(Iterable<Specification<T>>) - Static method in interface org.springframework.data.jpa.domain.Specification
-
Applies an AND operation to all the given
Specifications. - allOf(Iterable<UpdateSpecification<T>>) - Static method in interface org.springframework.data.jpa.domain.UpdateSpecification
-
Applies an AND operation to all the given
UpdateSpecifications. - allOf(DeleteSpecification<T>...) - Static method in interface org.springframework.data.jpa.domain.DeleteSpecification
-
Applies an AND operation to all the given
DeleteSpecifications. - allOf(PredicateSpecification<T>...) - Static method in interface org.springframework.data.jpa.domain.PredicateSpecification
-
Applies an AND operation to all the given
PredicateSpecifications. - allOf(Specification<T>...) - Static method in interface org.springframework.data.jpa.domain.Specification
-
Applies an AND operation to all the given
Specifications. - allOf(UpdateSpecification<T>...) - Static method in interface org.springframework.data.jpa.domain.UpdateSpecification
-
Applies an AND operation to all the given
UpdateSpecifications. - and(Sort.Direction, Attribute<?, ?>...) - Method in class org.springframework.data.jpa.domain.JpaSort
-
Returns a new
JpaSortwith the given sorting criteria added to the current one. - and(Sort.Direction, JpaSort.Path<?, ?>...) - Method in class org.springframework.data.jpa.domain.JpaSort
-
Returns a new
JpaSortwith the given sorting criteria added to the current one. - and(List<JpqlQueryBuilder.Predicate>) - Static method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder
- and(List<P>) - Method in interface org.springframework.data.jpa.repository.query.KeysetScrollDelegate.QueryStrategy
-
AND-combine the
intermediatepredicates. - and(DeleteSpecification<T>) - Method in interface org.springframework.data.jpa.domain.DeleteSpecification
-
ANDs the given
DeleteSpecificationto the current one. - and(PredicateSpecification<T>) - Method in interface org.springframework.data.jpa.domain.DeleteSpecification
-
ANDs the given
DeleteSpecificationto the current one. - and(PredicateSpecification<T>) - Method in interface org.springframework.data.jpa.domain.PredicateSpecification
-
ANDs the given PredicateSpecification to the current one.
- and(PredicateSpecification<T>) - Method in interface org.springframework.data.jpa.domain.Specification
-
ANDs the given
Specificationto the current one. - and(PredicateSpecification<T>) - Method in interface org.springframework.data.jpa.domain.UpdateSpecification
-
ANDs the given
UpdateSpecificationto the current one. - and(Specification<T>) - Method in interface org.springframework.data.jpa.domain.Specification
-
ANDs the given
Specificationto the current one. - and(UpdateSpecification.UpdateOperation<T>) - Method in interface org.springframework.data.jpa.domain.UpdateSpecification.UpdateOperation
-
ANDs the given
UpdateSpecification.UpdateOperationto the current one. - and(UpdateSpecification<T>) - Method in interface org.springframework.data.jpa.domain.UpdateSpecification
-
ANDs the given
UpdateSpecificationto the current one. - and(JpqlQueryBuilder.Predicate) - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.Predicate
-
AND-concatenate this predicate withother. - and(Part, JpqlQueryBuilder.Predicate, Iterator<Object>) - Method in class org.springframework.data.jpa.repository.query.JpaQueryCreator
- andUnsafe(Sort.Direction, String...) - Method in class org.springframework.data.jpa.domain.JpaSort
-
Returns a new
JpaSortwith the given sorting criteria added to the current one. - anyOf(Iterable<DeleteSpecification<T>>) - Static method in interface org.springframework.data.jpa.domain.DeleteSpecification
-
Applies an OR operation to all the given
DeleteSpecifications. - anyOf(Iterable<PredicateSpecification<T>>) - Static method in interface org.springframework.data.jpa.domain.PredicateSpecification
-
Applies an OR operation to all the given
PredicateSpecifications. - anyOf(Iterable<Specification<T>>) - Static method in interface org.springframework.data.jpa.domain.Specification
-
Applies an OR operation to all the given
Specifications. - anyOf(Iterable<UpdateSpecification<T>>) - Static method in interface org.springframework.data.jpa.domain.UpdateSpecification
-
Applies an OR operation to all the given
UpdateSpecifications. - anyOf(DeleteSpecification<T>...) - Static method in interface org.springframework.data.jpa.domain.DeleteSpecification
-
Applies an OR operation to all the given
DeleteSpecifications. - anyOf(PredicateSpecification<T>...) - Static method in interface org.springframework.data.jpa.domain.PredicateSpecification
-
Applies an OR operation to all the given
PredicateSpecifications. - anyOf(Specification<T>...) - Static method in interface org.springframework.data.jpa.domain.Specification
-
Applies an OR operation to all the given
Specifications. - anyOf(UpdateSpecification<T>...) - Static method in interface org.springframework.data.jpa.domain.UpdateSpecification
-
Applies an OR operation to all the given
UpdateSpecifications. - AotRepositoryFragmentSupport - Class in org.springframework.data.jpa.repository.aot
-
Support class for JPA AOT repository fragments.
- AotRepositoryFragmentSupport(QueryEnhancerSelector, RepositoryMetadata, ValueExpressionDelegate, ProjectionFactory) - Constructor for class org.springframework.data.jpa.repository.aot.AotRepositoryFragmentSupport
- AotRepositoryFragmentSupport(QueryEnhancerSelector, RepositoryFactoryBeanSupport.FragmentCreationContext) - Constructor for class org.springframework.data.jpa.repository.aot.AotRepositoryFragmentSupport
- apply(Root<T>, CriteriaUpdate<T>, CriteriaBuilder) - Method in interface org.springframework.data.jpa.domain.UpdateSpecification.UpdateOperation
-
Accept the given
RootandCriteriaUpdateto apply the update operation. - applyAndBind(String, Iterable<T>, EntityManager) - Static method in class org.springframework.data.jpa.repository.query.QueryUtils
-
Creates a where-clause referencing the given entities and appends it to the given query string.
- applyHints(T, JpaQueryMethod) - Method in class org.springframework.data.jpa.repository.query.AbstractJpaQuery
-
Applies the declared query hints to the given query.
- applyPagination(Pageable, JPQLQuery<T>) - Method in class org.springframework.data.jpa.repository.support.Querydsl
-
Applies the given
Pageableto the givenJPQLQuery. - applyQueryHint(T, QueryHint) - Method in class org.springframework.data.jpa.repository.query.AbstractJpaQuery
-
Protected to be able to customize in sub-classes.
- applySorting(String, Sort) - Static method in class org.springframework.data.jpa.repository.query.QueryUtils
-
Adds order by clause to the JPQL query.
- applySorting(String, Sort, String) - Static method in class org.springframework.data.jpa.repository.query.QueryUtils
-
Adds order by clause to the JPQL query.
- applySorting(Sort, JPQLQuery<T>) - Method in class org.springframework.data.jpa.repository.support.Querydsl
-
Applies sorting to the given
JPQLQuery. - as(Class<R>) - Method in interface org.springframework.data.jpa.repository.JpaSpecificationExecutor.SpecificationFluentQuery
- attributePaths() - Element in annotation interface org.springframework.data.jpa.repository.EntityGraph
-
The paths of attributes of this
EntityGraphto use, empty by default. - AuditingBeanDefinitionParser - Class in org.springframework.data.jpa.repository.config
-
BeanDefinitionParserfor theauditingelement. - AuditingBeanDefinitionParser() - Constructor for class org.springframework.data.jpa.repository.config.AuditingBeanDefinitionParser
- AuditingBeanFactoryPostProcessor - Class in org.springframework.data.jpa.domain.support
-
BeanFactoryPostProcessorthat ensures that theAnnotationBeanConfigurerAspectaspect is up and running before theEntityManagerFactorygets created as this already instantiates entity listeners and we need to get injection intoConfigurableto work in them. - AuditingBeanFactoryPostProcessor() - Constructor for class org.springframework.data.jpa.domain.support.AuditingBeanFactoryPostProcessor
- AuditingEntityListener - Class in org.springframework.data.jpa.domain.support
-
JPA entity listener to capture auditing information on persisting and updating entities.
- AuditingEntityListener() - Constructor for class org.springframework.data.jpa.domain.support.AuditingEntityListener
- auditorAwareRef() - Element in annotation interface org.springframework.data.jpa.repository.config.EnableJpaAuditing
-
Configures the
AuditorAwarebean to be used to lookup the current principal.
B
- BadJpqlGrammarException - Exception in org.springframework.data.jpa.repository.query
-
An exception thrown if the JPQL query is invalid.
- BadJpqlGrammarException(String, String, Throwable) - Constructor for exception org.springframework.data.jpa.repository.query.BadJpqlGrammarException
- basePackageClasses() - Element in annotation interface org.springframework.data.envers.repository.config.EnableEnversRepositories
-
Type-safe alternative to
EnableEnversRepositories.basePackages()for specifying the packages to scan for annotated components. - basePackageClasses() - Element in annotation interface org.springframework.data.jpa.repository.config.EnableJpaRepositories
-
Type-safe alternative to
EnableJpaRepositories.basePackages()for specifying the packages to scan for annotated components. - basePackages() - Element in annotation interface org.springframework.data.envers.repository.config.EnableEnversRepositories
-
Base packages to scan for annotated components.
- basePackages() - Element in annotation interface org.springframework.data.jpa.repository.config.EnableJpaRepositories
-
Base packages to scan for annotated components.
- BEAN_CONFIGURER_ASPECT_BEAN_NAME - Static variable in class org.springframework.data.jpa.domain.support.AuditingBeanFactoryPostProcessor
- BeanDefinitionUtils - Class in org.springframework.data.jpa.util
-
Utility methods to work with
BeanDefinitioninstances fromBeanFactoryPostProcessors. - BeanDefinitionUtils.EntityManagerFactoryBeanDefinition - Class in org.springframework.data.jpa.util
-
Value object to represent a
BeanDefinitionfor anEntityManagerFactorywith a dedicated bean name. - BeanFactoryQueryRewriterProvider - Class in org.springframework.data.jpa.repository.query
-
A
BeanFactory-basedQueryRewriterProvider. - BeanFactoryQueryRewriterProvider(BeanFactory) - Constructor for class org.springframework.data.jpa.repository.query.BeanFactoryQueryRewriterProvider
- BeanManagerQueryRewriterProvider - Class in org.springframework.data.jpa.repository.cdi
-
A
BeanManager-basedQueryRewriterProvider. - BeanManagerQueryRewriterProvider(BeanManager) - Constructor for class org.springframework.data.jpa.repository.cdi.BeanManagerQueryRewriterProvider
- between(JpqlQueryBuilder.Expression, JpqlQueryBuilder.Expression) - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.WhereStep
-
Create a
BETWEEN … AND …predicate. - bindsTo(ParameterBinding) - Method in class org.springframework.data.jpa.repository.query.ParameterBinding
-
Check whether the
otherbinding uses the same bind target. - bootstrapMode() - Element in annotation interface org.springframework.data.envers.repository.config.EnableEnversRepositories
-
Configures when the repositories are initialized in the bootstrap lifecycle.
- bootstrapMode() - Element in annotation interface org.springframework.data.jpa.repository.config.EnableJpaRepositories
-
Configures when the repositories are initialized in the bootstrap lifecycle.
- build(Method, RepositoryMetadata, ProjectionFactory) - Method in class org.springframework.data.jpa.repository.query.DefaultJpaQueryMethodFactory
- build(Method, RepositoryMetadata, ProjectionFactory) - Method in interface org.springframework.data.jpa.repository.query.JpaQueryMethodFactory
-
Creates a
JpaQueryMethod. - buildQuery(Sort) - Method in class org.springframework.data.jpa.repository.query.JpaCountQueryCreator
- buildQuery(Sort) - Method in class org.springframework.data.jpa.repository.query.JpaQueryCreator
-
Template method to build a query stub using the given
Sort.
C
- canExtractQuery() - Method in enum class org.springframework.data.jpa.provider.PersistenceProvider
- canExtractQuery() - Method in interface org.springframework.data.jpa.provider.QueryExtractor
-
Returns whether the extractor is able to extract the original query string from a given
Query. - capture(Object) - Method in interface org.springframework.data.jpa.repository.query.KeysetScrollSpecification.ParameterFactory
- ClasspathScanningPersistenceUnitPostProcessor - Class in org.springframework.data.jpa.support
-
PersistenceUnitPostProcessorthat will scan for classes annotated withEntityorMappedSuperclassand add them to thePersistenceUnitpost processed. - ClasspathScanningPersistenceUnitPostProcessor(String) - Constructor for class org.springframework.data.jpa.support.ClasspathScanningPersistenceUnitPostProcessor
-
Creates a new
ClasspathScanningPersistenceUnitPostProcessorusing the given base package as scan base. - clear() - Method in class org.springframework.data.jpa.util.TupleBackedMap
- clearAutomatically() - Element in annotation interface org.springframework.data.jpa.repository.Modifying
-
Defines whether we should clear the underlying persistence context after executing the modifying query.
- CollectionAwareProjectionFactory - Class in org.springframework.data.jpa.projection
-
A
ProjectionFactoryconsidering projections containing collections or maps to be open. - CollectionAwareProjectionFactory() - Constructor for class org.springframework.data.jpa.projection.CollectionAwareProjectionFactory
- comment() - Element in annotation interface org.springframework.data.jpa.repository.Meta
-
Add a comment to the query.
- compare(E, Object) - Method in interface org.springframework.data.jpa.repository.query.KeysetScrollDelegate.QueryStrategy
-
Create an equals-comparison object.
- compare(Sort.Order, E, Object) - Method in interface org.springframework.data.jpa.repository.query.KeysetScrollDelegate.QueryStrategy
-
Create a comparison object according to the
Sort.Order. - complete(JpqlQueryBuilder.Predicate, Sort) - Method in class org.springframework.data.jpa.repository.query.JpaQueryCreator
-
Finalizes the given
Predicateand applies the given sort. - considerNestedRepositories() - Element in annotation interface org.springframework.data.envers.repository.config.EnableEnversRepositories
-
Configures whether nested repository-interfaces (e.g. defined as inner classes) should be discovered by the repositories infrastructure.
- considerNestedRepositories() - Element in annotation interface org.springframework.data.jpa.repository.config.EnableJpaRepositories
-
Configures whether nested repository-interfaces (e.g. defined as inner classes) should be discovered by the repository infrastructure.
- containsKey(Object) - Method in class org.springframework.data.jpa.util.TupleBackedMap
-
If the key is not a
Stringor not a key of the backingTuplethis returnsfalse. - containsValue(Object) - Method in class org.springframework.data.jpa.util.TupleBackedMap
- contribute(AotRepositoryContext, GenerationContext) - Method in class org.springframework.data.jpa.repository.config.JpaRepositoryConfigExtension.JpaRepositoryRegistrationAotProcessor
- contributeQueryMethod(Method, RepositoryInformation) - Method in class org.springframework.data.jpa.repository.aot.JpaRepositoryContributor
- convert(Object) - Method in class org.springframework.data.jpa.repository.query.AbstractJpaQuery.TupleConverter
- convertMany(Object, boolean, Class<?>) - Method in class org.springframework.data.jpa.repository.aot.AotRepositoryFragmentSupport
- convertOne(Object, boolean, Class<T>) - Method in class org.springframework.data.jpa.repository.aot.AotRepositoryFragmentSupport
- convertToDatabaseColumn(Instant) - Method in class org.springframework.data.jpa.convert.threeten.Jsr310JpaConverters.InstantConverter
- convertToDatabaseColumn(LocalDate) - Method in class org.springframework.data.jpa.convert.threeten.Jsr310JpaConverters.LocalDateConverter
- convertToDatabaseColumn(LocalDateTime) - Method in class org.springframework.data.jpa.convert.threeten.Jsr310JpaConverters.LocalDateTimeConverter
- convertToDatabaseColumn(LocalTime) - Method in class org.springframework.data.jpa.convert.threeten.Jsr310JpaConverters.LocalTimeConverter
- convertToDatabaseColumn(ZoneId) - Method in class org.springframework.data.jpa.convert.threeten.Jsr310JpaConverters.ZoneIdConverter
- convertToEntityAttribute(String) - Method in class org.springframework.data.jpa.convert.threeten.Jsr310JpaConverters.ZoneIdConverter
- convertToEntityAttribute(Timestamp) - Method in class org.springframework.data.jpa.convert.threeten.Jsr310JpaConverters.InstantConverter
- convertToEntityAttribute(Date) - Method in class org.springframework.data.jpa.convert.threeten.Jsr310JpaConverters.LocalDateConverter
- convertToEntityAttribute(Date) - Method in class org.springframework.data.jpa.convert.threeten.Jsr310JpaConverters.LocalDateTimeConverter
- convertToEntityAttribute(Date) - Method in class org.springframework.data.jpa.convert.threeten.Jsr310JpaConverters.LocalTimeConverter
- count() - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.SelectStep
-
Select the count.
- count() - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- count(Predicate) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaPredicateExecutor
- count(Example<S>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- count(PredicateSpecification<T>) - Method in interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
-
Returns the number of instances that the given
PredicateSpecificationwill return. - count(Specification<T>) - Method in interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
-
Returns the number of instances that the given
Specificationwill return. - count(Specification<T>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- COUNT_QUERY_STRING - Static variable in class org.springframework.data.jpa.repository.query.QueryUtils
- countName() - Element in annotation interface org.springframework.data.jpa.repository.NativeQuery
-
Returns the name of the
NamedQueryto be used to execute count queries when pagination is used. - countName() - Element in annotation interface org.springframework.data.jpa.repository.Query
-
Returns the name of the
NamedQueryto be used to execute count queries when pagination is used. - countProjection() - Element in annotation interface org.springframework.data.jpa.repository.NativeQuery
-
Defines the projection part of the count query that is generated for pagination.
- countProjection() - Element in annotation interface org.springframework.data.jpa.repository.Query
-
Defines the projection part of the count query that is generated for pagination.
- countQuery() - Element in annotation interface org.springframework.data.jpa.repository.NativeQuery
-
Defines a special count query that shall be used for pagination queries to look up the total number of elements for a page.
- countQuery() - Element in annotation interface org.springframework.data.jpa.repository.Query
-
Defines a special count query that shall be used for pagination queries to look up the total number of elements for a page.
- create(EntityManager, JpaQueryMethodFactory, QueryLookupStrategy.Key, JpaQueryConfiguration) - Static method in class org.springframework.data.jpa.repository.query.JpaQueryLookupStrategy
- create(DeclaredQuery) - Static method in interface org.springframework.data.jpa.repository.query.QueryEnhancer
-
Creates a new
QueryEnhancerfor aDeclaredQuery. - create(DeclaredQuery, QueryEnhancerSelector) - Static method in interface org.springframework.data.jpa.repository.query.EntityQuery
- create(QueryProvider) - Method in interface org.springframework.data.jpa.repository.query.QueryEnhancerFactory
-
Creates a new
QueryEnhancerfor the given query. - create(Part, Iterator<Object>) - Method in class org.springframework.data.jpa.repository.query.JpaQueryCreator
- createCountQuery(Predicate...) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaPredicateExecutor
-
Creates a new
JPQLQuerycount query for the givenPredicate. - createCountQuery(JpaParametersParameterAccessor) - Method in class org.springframework.data.jpa.repository.query.AbstractJpaQuery
- createCountQueryFor(String) - Method in class org.springframework.data.jpa.repository.query.JSqlParserQueryEnhancer
- createCountQueryFor(String) - Method in interface org.springframework.data.jpa.repository.query.QueryEnhancer
-
Creates a count projected query from the given original query using the provided
countProjection. - createCountQueryFor(String, String, boolean) - Static method in class org.springframework.data.jpa.repository.query.QueryUtils
-
Creates a count projected query from the given original query.
- createExpression(String) - Method in interface org.springframework.data.jpa.repository.query.KeysetScrollDelegate.QueryStrategy
-
Create an expression object from the given
propertypath. - createFrom(List<JpaParameters.JpaParameter>) - Method in class org.springframework.data.jpa.repository.query.JpaParameters
- createInstance() - Method in class org.springframework.data.jpa.repository.config.JpaMetamodelMappingContextFactoryBean
- createJpqlPredicate(Bindable<?>, JpqlQueryBuilder.Entity, KeysetScrollSpecification.ParameterFactory) - Method in record class org.springframework.data.jpa.repository.query.KeysetScrollSpecification
- createPersistentEntity(TypeInformation<T>) - Method in class org.springframework.data.jpa.mapping.JpaMetamodelMappingContext
- createPersistentProperty(Property, JpaPersistentEntityImpl<?>, SimpleTypeHolder) - Method in class org.springframework.data.jpa.mapping.JpaMetamodelMappingContext
- createPredicate(Root<?>, CriteriaBuilder) - Method in record class org.springframework.data.jpa.repository.query.KeysetScrollSpecification
- createPredicate(KeysetScrollPosition, Sort, KeysetScrollDelegate.QueryStrategy<E, P>) - Method in class org.springframework.data.jpa.repository.query.KeysetScrollDelegate
- createProjection(Class<T>) - Method in class org.springframework.data.jpa.projection.CollectionAwareProjectionFactory
- createProjection(Class<T>, Object) - Method in class org.springframework.data.jpa.projection.CollectionAwareProjectionFactory
- createProjectionInformation(Class<?>) - Method in class org.springframework.data.jpa.projection.CollectionAwareProjectionFactory
- createQuery() - Method in class org.springframework.data.jpa.repository.support.Querydsl
-
Creates the
JPQLQueryinstance based on the configuredEntityManager. - createQuery(JpqlQueryBuilder.Predicate, Sort) - Method in class org.springframework.data.jpa.repository.query.JpaQueryCreator
- createQuery(EntityPath<?>...) - Method in class org.springframework.data.jpa.repository.support.Querydsl
-
Creates the
JPQLQueryinstance based on the configuredEntityManager. - createQuery(Predicate...) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaPredicateExecutor
-
Creates a new
JPQLQueryfor the givenPredicate. - createQuery(Sort) - Method in class org.springframework.data.jpa.repository.query.JpaCountQueryCreator
- createQuery(JpaParametersParameterAccessor) - Method in class org.springframework.data.jpa.repository.query.AbstractJpaQuery
- createRepositoryFactory(EntityManager) - Method in class org.springframework.data.envers.repository.support.EnversRevisionRepositoryFactoryBean
- createRepositoryFactory(EntityManager) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean
-
Returns a
RepositoryFactorySupport. - createSort(KeysetScrollPosition, Sort, JpaEntityInformation<?, ?>) - Static method in record class org.springframework.data.jpa.repository.query.KeysetScrollSpecification
-
Create a
Sortobject to be used with the actual query. - createSort(Sort, JpaEntityInformation<?, ?>) - Method in class org.springframework.data.jpa.repository.query.KeysetScrollDelegate
- CrudMethodMetadata - Interface in org.springframework.data.jpa.repository.support
-
Interface to abstract
CrudMethodMetadatathat provide theLockModeTypeto be used for query execution. - customizeClass(RepositoryInformation, AotRepositoryFragmentMetadata, TypeSpec.Builder) - Method in class org.springframework.data.jpa.repository.aot.JpaRepositoryContributor
- customizeConstructor(AotRepositoryConstructorBuilder) - Method in class org.springframework.data.jpa.repository.aot.JpaRepositoryContributor
D
- dateTimeProviderRef() - Element in annotation interface org.springframework.data.jpa.repository.config.EnableJpaAuditing
-
Configures a
DateTimeProviderbean name that allows customizing theTemporalAccessorto be used for setting creation and modification dates. - DeclaredQuery - Interface in org.springframework.data.jpa.repository.query
-
Interface defining the contract to represent a declared query.
- DEFAULT - Static variable in class org.springframework.data.jpa.repository.query.EscapeCharacter
- DEFAULT_JPQL - Static variable in class org.springframework.data.jpa.repository.query.QueryEnhancerSelector.DefaultQueryEnhancerSelector
- DEFAULT_NATIVE - Static variable in class org.springframework.data.jpa.repository.query.QueryEnhancerSelector.DefaultQueryEnhancerSelector
- DEFAULT_SELECTOR - Static variable in interface org.springframework.data.jpa.repository.query.QueryEnhancerSelector
-
Default selector strategy.
- DefaultJpaContext - Class in org.springframework.data.jpa.repository.support
-
Default implementation of
JpaContext. - DefaultJpaContext(Set<EntityManager>) - Constructor for class org.springframework.data.jpa.repository.support.DefaultJpaContext
- DefaultJpaEntityMetadata<T> - Class in org.springframework.data.jpa.repository.query
-
Default implementation for
JpaEntityMetadata. - DefaultJpaEntityMetadata(Class<T>) - Constructor for class org.springframework.data.jpa.repository.query.DefaultJpaEntityMetadata
-
Creates a new
DefaultJpaEntityMetadatafor the given domain type. - DefaultJpaQueryMethodFactory - Class in org.springframework.data.jpa.repository.query
-
A factory for creating
JpaQueryMethodinstances. - DefaultJpaQueryMethodFactory(QueryExtractor) - Constructor for class org.springframework.data.jpa.repository.query.DefaultJpaQueryMethodFactory
- DefaultQueryEnhancerSelector(QueryEnhancerFactory, QueryEnhancerFactory) - Constructor for class org.springframework.data.jpa.repository.query.QueryEnhancerSelector.DefaultQueryEnhancerSelector
- DefaultRevisionMetadata - Class in org.springframework.data.envers.repository.support
-
RevisionMetadataworking with aDefaultRevisionEntity. - DefaultRevisionMetadata(DefaultRevisionEntity) - Constructor for class org.springframework.data.envers.repository.support.DefaultRevisionMetadata
- DefaultRevisionMetadata(DefaultRevisionEntity, RevisionMetadata.RevisionType) - Constructor for class org.springframework.data.envers.repository.support.DefaultRevisionMetadata
- DelegatingQueryRewriter - Class in org.springframework.data.jpa.repository.query
- DelegatingQueryRewriter(Supplier<QueryRewriter>) - Constructor for class org.springframework.data.jpa.repository.query.DelegatingQueryRewriter
- delete(EntityPath<?>) - Method in class org.springframework.data.jpa.repository.support.QuerydslRepositorySupport
-
Returns a fresh
DeleteClause. - delete(DeleteSpecification<T>) - Method in interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
-
Deletes by the
UpdateSpecificationand returns the number of rows deleted. - delete(DeleteSpecification<T>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- delete(PredicateSpecification<T>) - Method in interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
-
Deletes by the
PredicateSpecificationand returns the number of rows deleted. - delete(T) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- DELETE_ALL_QUERY_BY_ID_STRING - Static variable in class org.springframework.data.jpa.repository.query.QueryUtils
- DELETE_ALL_QUERY_STRING - Static variable in class org.springframework.data.jpa.repository.query.QueryUtils
- deleteAll() - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- deleteAll(Iterable<? extends T>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- deleteAllById(Iterable<? extends ID>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- deleteAllByIdInBatch(Iterable<ID>) - Method in interface org.springframework.data.jpa.repository.JpaRepository
-
Deletes the entities identified by the given ids using a single query.
- deleteAllByIdInBatch(Iterable<ID>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- deleteAllInBatch() - Method in interface org.springframework.data.jpa.repository.JpaRepository
-
Deletes all entities in a batch call.
- deleteAllInBatch() - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- deleteAllInBatch(Iterable<T>) - Method in interface org.springframework.data.jpa.repository.JpaRepository
-
Deletes the given entities in a batch which means it will create a single query.
- deleteAllInBatch(Iterable<T>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- deleteById(ID) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- deleteInBatch(Iterable<T>) - Method in interface org.springframework.data.jpa.repository.JpaRepository
-
Deprecated.
- DeleteSpecification<T> - Interface in org.springframework.data.jpa.domain
-
Specification in the sense of Domain Driven Design to handle Criteria Deletes.
- deriveCountQuery(String) - Method in interface org.springframework.data.jpa.repository.query.EntityQuery
-
Creates a new IntrospectedQuery representing a count query, i.e. a query returning the number of rows to be expected from the original query, either derived from the query wrapped by this instance or from the information passed as arguments.
- detectAlias() - Method in class org.springframework.data.jpa.repository.query.JSqlParserQueryEnhancer
- detectAlias() - Method in interface org.springframework.data.jpa.repository.query.QueryEnhancer
-
Resolves the primary alias for the entity to be retrieved from the given JPA query.
- distinct() - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.SelectStep
-
Apply
DISTINCT. - doCreateCountQuery(JpaParametersParameterAccessor) - Method in class org.springframework.data.jpa.repository.query.AbstractJpaQuery
-
Creates a
TypedQueryfor counting using the given values. - doCreateCountQuery(JpaParametersParameterAccessor) - Method in class org.springframework.data.jpa.repository.query.PartTreeJpaQuery
- doCreateQuery(JpaParametersParameterAccessor) - Method in class org.springframework.data.jpa.repository.query.AbstractJpaQuery
-
Creates a
Queryinstance for the given values. - doCreateQuery(JpaParametersParameterAccessor) - Method in class org.springframework.data.jpa.repository.query.PartTreeJpaQuery
- doCreateRepositoryFactory() - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean
- doExecute(AbstractJpaQuery, JpaParametersParameterAccessor) - Method in class org.springframework.data.jpa.repository.query.JpaQueryExecution
-
Method to implement
AbstractStringBasedJpaQueryexecutions by single enum values. - dot(A) - Method in class org.springframework.data.jpa.domain.JpaSort.Path
-
Collects the given
Attributeand returning a newJpaSort.Pathpointing to the attribute type. - dot(P) - Method in class org.springframework.data.jpa.domain.JpaSort.Path
-
Collects the given
PluralAttributeand returning a newJpaSort.Pathpointing to the attribute type.
E
- ECLIPSELINK - Enum constant in enum class org.springframework.data.jpa.provider.PersistenceProvider
-
EclipseLink persistence provider.
- EMPTY - Static variable in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder.RenderContext
- enableDefaultTransactions() - Element in annotation interface org.springframework.data.envers.repository.config.EnableEnversRepositories
-
Configures whether to enable default transactions for Spring Data JPA repositories.
- enableDefaultTransactions() - Element in annotation interface org.springframework.data.jpa.repository.config.EnableJpaRepositories
-
Configures whether to enable default transactions for Spring Data JPA repositories.
- EnableEnversRepositories - Annotation Interface in org.springframework.data.envers.repository.config
-
Annotation to enable Envers repositories.
- EnableJpaAuditing - Annotation Interface in org.springframework.data.jpa.repository.config
-
Annotation to enable auditing in JPA via annotation configuration.
- EnableJpaRepositories - Annotation Interface in org.springframework.data.jpa.repository.config
-
Annotation to enable JPA repositories.
- entity() - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.SelectStep
-
Select the entity.
- entity() - Method in record class org.springframework.data.jpa.repository.query.KeysetScrollSpecification
-
Returns the value of the
entityrecord component. - entity(Class<?>) - Static method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder
-
Create an
JpqlQueryBuilder.Entityfrom the givenentity class. - EntityGraph - Annotation Interface in org.springframework.data.jpa.repository
-
Annotation to configure the JPA 2.1
EntityGraphs that should be used on repository methods. - EntityGraph.EntityGraphType - Enum Class in org.springframework.data.jpa.repository
-
Enum for JPA 2.1
EntityGraphtypes. - EntityManagerBeanDefinitionRegistrarPostProcessor - Class in org.springframework.data.jpa.repository.support
-
BeanFactoryPostProcessorto register aSharedEntityManagerCreatorfor everyEntityManagerFactorybean definition found in the application context to enable autowiringEntityManagerinstances into constructor arguments. - EntityManagerBeanDefinitionRegistrarPostProcessor() - Constructor for class org.springframework.data.jpa.repository.support.EntityManagerBeanDefinitionRegistrarPostProcessor
- EntityManagerFactoryBeanDefinition(String, ConfigurableListableBeanFactory) - Constructor for class org.springframework.data.jpa.util.BeanDefinitionUtils.EntityManagerFactoryBeanDefinition
-
Creates a new
BeanDefinitionUtils.EntityManagerFactoryBeanDefinition. - entityManagerFactoryRef() - Element in annotation interface org.springframework.data.envers.repository.config.EnableEnversRepositories
-
Configures the name of the
EntityManagerFactorybean definition to be used to create repositories discovered through this annotation. - entityManagerFactoryRef() - Element in annotation interface org.springframework.data.jpa.repository.config.EnableJpaRepositories
-
Configures the name of the
EntityManagerFactorybean definition to be used to create repositories discovered through this annotation. - EntityQuery - Interface in org.springframework.data.jpa.repository.query
-
An extension to
ParametrizedQueryexposing query information about its inner structure such as whether constructor expressions (JPQL) are used or the default projection is used. - entrySet() - Method in class org.springframework.data.jpa.util.TupleBackedMap
- EnversRevisionRepository<T,
ID extends Serializable, N extends Number & Comparable<N>> - Interface in org.springframework.data.envers.repository.support -
Deprecated.since 1.1, in favor of simply extending
RevisionRepository. - EnversRevisionRepositoryFactoryBean<T extends RevisionRepository<S,
ID, N>, S, ID, N extends Number & Comparable<N>> - Class in org.springframework.data.envers.repository.support -
FactoryBeancreatingRevisionRepositoryinstances. - EnversRevisionRepositoryFactoryBean(Class<? extends T>) - Constructor for class org.springframework.data.envers.repository.support.EnversRevisionRepositoryFactoryBean
-
Creates a new
EnversRevisionRepositoryFactoryBeanfor the given repository interface. - EnversRevisionRepositoryImpl<T,
ID, N extends Number & Comparable<N>> - Class in org.springframework.data.envers.repository.support -
Repository implementation using Hibernate Envers to implement revision specific query methods.
- EnversRevisionRepositoryImpl(JpaEntityInformation<T, ?>, RevisionEntityInformation, EntityManager) - Constructor for class org.springframework.data.envers.repository.support.EnversRevisionRepositoryImpl
-
Creates a new
EnversRevisionRepositoryImplusing the givenJpaEntityInformation,RevisionEntityInformationandEntityManager. - eq(JpqlQueryBuilder.Expression) - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.WhereStep
-
Create a
=(equals) predicate. - eql() - Static method in class org.springframework.data.jpa.repository.query.QueryEnhancerFactories
-
Returns a
QueryEnhancerFactoryusing EQL (EclipseLink Query Language) parser. - equals(Object) - Method in class org.springframework.data.jpa.domain.AbstractPersistable
- equals(Object) - Method in class org.springframework.data.envers.repository.support.DefaultRevisionMetadata
- equals(Object) - Method in class org.springframework.data.jpa.repository.query.EscapeCharacter
- equals(Object) - Method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder.Entity
- equals(Object) - Method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder.Join
- equals(Object) - Method in record class org.springframework.data.jpa.repository.query.JpqlQueryBuilder.ParameterPlaceholder
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.data.jpa.repository.query.KeysetScrollSpecification
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.springframework.data.jpa.repository.query.ParameterBinding
- equals(Object) - Method in record class org.springframework.data.jpa.repository.query.ParameterBinding.Expression
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.data.jpa.repository.query.ParameterBinding.MethodInvocationArgument
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.data.jpa.repository.query.ParameterBinding.Synthetic
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.springframework.data.jpa.repository.support.QueryHintValue
- equals(Object) - Method in class org.springframework.data.jpa.util.BeanDefinitionUtils.EntityManagerFactoryBeanDefinition
- escape(String) - Method in class org.springframework.data.jpa.repository.query.EscapeCharacter
-
Escapes all special like characters (
_,%) using the configured escape character. - escape(String) - Method in class org.springframework.data.jpa.repository.support.JpaEvaluationContextExtension.JpaRootObject
-
Escapes the given source
Stringfor LIKE expressions. - escapeCharacter() - Element in annotation interface org.springframework.data.envers.repository.config.EnableEnversRepositories
-
Configures what character is used to escape the wildcards _ and % in derived queries with contains, startsWith or endsWith clauses.
- escapeCharacter() - Element in annotation interface org.springframework.data.jpa.repository.config.EnableJpaRepositories
-
Configures what character is used to escape the wildcards _ and % in derived queries with contains, startsWith or endsWith clauses.
- escapeCharacter() - Method in class org.springframework.data.jpa.repository.support.JpaEvaluationContextExtension.JpaRootObject
-
Returns the escape character being used to escape special characters for LIKE expressions.
- EscapeCharacter - Class in org.springframework.data.jpa.repository.query
-
A value type encapsulating an escape character for LIKE queries and the actually usage of it in escaping
Strings. - evaluateExpression(Method, String, Object...) - Method in class org.springframework.data.jpa.repository.aot.AotRepositoryFragmentSupport
-
Evaluate a Value Expression.
- excludeFilters() - Element in annotation interface org.springframework.data.envers.repository.config.EnableEnversRepositories
-
Specifies which types are not eligible for component scanning.
- excludeFilters() - Element in annotation interface org.springframework.data.jpa.repository.config.EnableJpaRepositories
-
Specifies which types are not eligible for component scanning.
- execute(Object[]) - Method in class org.springframework.data.jpa.repository.query.AbstractJpaQuery
- execute(AbstractJpaQuery, JpaParametersParameterAccessor) - Method in class org.springframework.data.jpa.repository.query.JpaQueryExecution
-
Executes the given
AbstractStringBasedJpaQuerywith the givenParameterBinder. - executeQueryWithResultStream(Query) - Method in enum class org.springframework.data.jpa.provider.PersistenceProvider
- exists(Predicate) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaPredicateExecutor
- exists(Example<S>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- exists(PredicateSpecification<T>) - Method in interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
-
Checks whether the data store contains elements that match the given
PredicateSpecification. - exists(Specification<T>) - Method in interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
-
Checks whether the data store contains elements that match the given
Specification. - exists(Specification<T>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- existsById(ID) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- expression() - Method in record class org.springframework.data.jpa.repository.query.ParameterBinding.Expression
-
Returns the value of the
expressionrecord component. - expression(String) - Static method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder
-
Create a simple expression from a string as-is.
- expression(JpqlQueryBuilder.Origin, PropertyPath) - Static method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder
-
Create a qualified expression for a
PropertyPath. - Expression(ValueExpression) - Constructor for record class org.springframework.data.jpa.repository.query.ParameterBinding.Expression
-
Creates an instance of a
Expressionrecord class. - extractQueryString(Object) - Method in interface org.springframework.data.jpa.provider.QueryExtractor
-
Reverse engineers the query string from the
Queryor aTypedQueryReferenceobject.
F
- fallback() - Static method in class org.springframework.data.jpa.repository.query.QueryEnhancerFactories
-
Returns the default fallback
QueryEnhancerFactoryusing regex-based detection. - FETCH - Enum constant in enum class org.springframework.data.jpa.repository.EntityGraph.EntityGraphType
-
When the jakarta.persistence.fetchgraph property is used to specify an entity graph, attributes that are specified by attribute nodes of the entity graph are treated as FetchType.EAGER and attributes that are not specified are treated as FetchType.LAZY
- findAll() - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- findAll(Specification<T>, Specification<T>, Pageable) - Method in interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
-
Returns a
Pageof entities matching the givenSpecification. - findAll(Specification<T>, Specification<T>, Pageable) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- findAll(OrderSpecifier<?>...) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaPredicateExecutor
- findAll(Predicate) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaPredicateExecutor
- findAll(Predicate, OrderSpecifier<?>...) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaPredicateExecutor
- findAll(Predicate, Pageable) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaPredicateExecutor
- findAll(Predicate, Sort) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaPredicateExecutor
- findAll(Example<S>) - Method in interface org.springframework.data.jpa.repository.JpaRepository
- findAll(Example<S>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- findAll(Example<S>, Pageable) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- findAll(Example<S>, Sort) - Method in interface org.springframework.data.jpa.repository.JpaRepository
- findAll(Example<S>, Sort) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- findAll(Pageable) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- findAll(Sort) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- findAll(PredicateSpecification<T>) - Method in interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
-
Returns all entities matching the given
PredicateSpecification. - findAll(Specification<T>) - Method in interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
-
Returns all entities matching the given
Specification. - findAll(Specification<T>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- findAll(Specification<T>, Pageable) - Method in interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
-
Returns a
Pageof entities matching the givenSpecification. - findAll(Specification<T>, Pageable) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- findAll(Specification<T>, Sort) - Method in interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
-
Returns all entities matching the given
SpecificationandSort. - findAll(Specification<T>, Sort) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- findAllById(Iterable<ID>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- findBy(Predicate, Function<FluentQuery.FetchableFluentQuery<S>, R>) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaPredicateExecutor
- findBy(Example<S>, Function<FluentQuery.FetchableFluentQuery<S>, R>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- findBy(PredicateSpecification<T>, Function<? super JpaSpecificationExecutor.SpecificationFluentQuery<S>, R>) - Method in interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
-
Returns entities matching the given
Specificationapplying thequeryFunctionthat defines the query and its result type. - findBy(Specification<T>, Function<? super JpaSpecificationExecutor.SpecificationFluentQuery<S>, R>) - Method in interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
-
Returns entities matching the given
Specificationapplying thequeryFunctionthat defines the query and its result type. - findBy(Specification<T>, Function<? super JpaSpecificationExecutor.SpecificationFluentQuery<S>, R>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- findById(ID) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- findLastChangeRevision(ID) - Method in class org.springframework.data.envers.repository.support.EnversRevisionRepositoryImpl
- findOne(Predicate) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaPredicateExecutor
- findOne(Example<S>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- findOne(PredicateSpecification<T>) - Method in interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
-
Returns a single entity matching the given
PredicateSpecificationorOptional.empty()if none found. - findOne(Specification<T>) - Method in interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
-
Returns a single entity matching the given
SpecificationorOptional.empty()if none found. - findOne(Specification<T>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- findPersistentPropertyPaths(Class<T>, Predicate<? super JpaPersistentProperty>) - Method in class org.springframework.data.jpa.mapping.JpaMetamodelMappingContext
-
We customize the lookup of
PersistentPropertyPathsby also traversing properties that are embeddables. - findRevision(ID, N) - Method in class org.springframework.data.envers.repository.support.EnversRevisionRepositoryImpl
- findRevisions(ID) - Method in class org.springframework.data.envers.repository.support.EnversRevisionRepositoryImpl
- findRevisions(ID, Pageable) - Method in class org.springframework.data.envers.repository.support.EnversRevisionRepositoryImpl
- flush() - Method in interface org.springframework.data.jpa.repository.JpaRepository
-
Flushes all pending changes to the database.
- flush() - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- flushAutomatically() - Element in annotation interface org.springframework.data.jpa.repository.Modifying
-
Defines whether we should flush the underlying persistence context before executing the modifying query.
- forCounting() - Element in annotation interface org.springframework.data.jpa.repository.QueryHints
-
Defines whether the configured
QueryHints shall be applied for count queries during pagination as well. - forCounts() - Method in class org.springframework.data.jpa.repository.support.MutableQueryHints
- forCounts() - Method in interface org.springframework.data.jpa.repository.support.QueryHints
-
Creates and returns a new
QueryHintsinstance that will contain only those hints applicable for count queries. - forCounts() - Method in enum class org.springframework.data.jpa.repository.support.QueryHints.NoHints
- forEach(BiConsumer<String, Object>) - Method in class org.springframework.data.jpa.repository.support.MutableQueryHints
- forEach(BiConsumer<String, Object>) - Method in interface org.springframework.data.jpa.repository.support.QueryHints
-
Performs the given action for each element of this query hints object until all hints have been processed or the action throws an exception.
- forEach(BiConsumer<String, Object>) - Method in enum class org.springframework.data.jpa.repository.support.QueryHints.NoHints
- forQuery(DeclaredQuery) - Static method in interface org.springframework.data.jpa.repository.query.QueryEnhancerFactory
-
Creates a new
QueryEnhancerFactoryfor the givenDeclaredQuery. - from(EntityPath<?>...) - Method in class org.springframework.data.jpa.repository.support.QuerydslRepositorySupport
-
Returns a fresh
JPQLQuery. - from(EntityPath<T>) - Method in class org.springframework.data.jpa.repository.support.QuerydslRepositorySupport
-
Returns a
JPQLQueryfor the givenEntityPath. - from(QueryHints...) - Static method in interface org.springframework.data.jpa.repository.support.QueryHints
-
Create a new
QueryHintsobject from the givensources. - fromEntityManager(EntityManager) - Static method in enum class org.springframework.data.jpa.provider.PersistenceProvider
-
Determines the
PersistenceProviderfrom the givenEntityManager. - fromEntityManagerFactory(EntityManagerFactory) - Static method in enum class org.springframework.data.jpa.provider.PersistenceProvider
-
Determines the
PersistenceProviderfrom the givenEntityManager. - fromMetamodel(Metamodel) - Static method in enum class org.springframework.data.jpa.provider.PersistenceProvider
-
Determines the
PersistenceProviderfrom the givenMetamodel. - function(String, JpqlQueryBuilder.Expression...) - Static method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder
-
Invoke a function with the given
arguments.
G
- GENERIC_JPA - Enum constant in enum class org.springframework.data.jpa.provider.PersistenceProvider
-
Unknown special provider.
- get(Object) - Method in class org.springframework.data.jpa.util.TupleBackedMap
-
If the key is not a
Stringor not a key of the backingTuplethis returnsnull. - getAlias() - Method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder.Entity
- getAlias(JpqlQueryBuilder.Origin) - Method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder.RenderContext
-
Obtain an alias for
JpqlQueryBuilder.Origin. - getAnnotatedQuery() - Method in class org.springframework.data.jpa.repository.query.JpaQueryMethod
-
Returns the query string declared in a
Queryannotation or null if neither the annotation found nor the attribute was specified. - getAttributePaths() - Method in class org.springframework.data.jpa.repository.query.JpaEntityGraph
-
Returns the attribute node names to be used for this
JpaEntityGraph. - getBeanDefinition() - Method in class org.springframework.data.jpa.util.BeanDefinitionUtils.EntityManagerFactoryBeanDefinition
-
Returns the
BeanDefinitionfor theEntityManagerFactory. - getBeanDefinition(String, ConfigurableListableBeanFactory) - Static method in class org.springframework.data.jpa.util.BeanDefinitionUtils
-
Returns the
BeanDefinitionwith the given name, obtained from the givenBeanFactoryor one of its parents. - getBeanFactory() - Method in class org.springframework.data.jpa.util.BeanDefinitionUtils.EntityManagerFactoryBeanDefinition
-
Returns the underlying
BeanFactory. - getBeanName() - Method in class org.springframework.data.jpa.util.BeanDefinitionUtils.EntityManagerFactoryBeanDefinition
-
Returns the bean name of the
BeanDefinitionfor theEntityManagerFactory. - getBinder() - Method in class org.springframework.data.jpa.repository.query.JpaQueryCreator
- getBindings() - Method in class org.springframework.data.jpa.repository.query.JpaQueryCreator
-
Returns all
ParameterExpressioncreated when creating the query. - getBindings() - Method in class org.springframework.data.jpa.repository.query.ParameterMetadataProvider
-
Returns all
ParameterBindings built. - getBindings() - Method in class org.springframework.data.jpa.repository.query.PreprocessedQuery
- getBuilder() - Method in class org.springframework.data.jpa.repository.support.QuerydslRepositorySupport
-
Returns a
PathBuilderfor the configured domain type. - getById(ID) - Method in interface org.springframework.data.jpa.repository.JpaRepository
-
Deprecated.use
JpaRepository.getReferenceById(ID)instead. - getById(ID) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
-
Deprecated.
- getComment() - Method in class org.springframework.data.jpa.repository.query.Meta
- getComment() - Method in interface org.springframework.data.jpa.repository.support.CrudMethodMetadata
-
Returns query comment to be applied to query.
- getCommentHintKey() - Method in interface org.springframework.data.jpa.provider.QueryComment
- getCommentHintValue(String) - Method in interface org.springframework.data.jpa.provider.QueryComment
- getCompositeIdAttributeValue(Object, String) - Method in interface org.springframework.data.jpa.repository.support.JpaEntityInformation
-
Extracts the value for the given id attribute from a composite id
- getCompositeIdAttributeValue(Object, String) - Method in class org.springframework.data.jpa.repository.support.JpaMetamodelEntityInformation
- getConfigurationInspectionClassLoader(ResourceLoader) - Method in class org.springframework.data.jpa.repository.config.JpaRepositoryConfigExtension
- getCountQuery() - Method in class org.springframework.data.jpa.repository.query.JpaQueryMethod
-
Returns the countQuery string declared in a
Queryannotation or null if neither the annotation found nor the attribute was specified. - getCountQuery(Specification<S>, Class<S>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
-
Creates a new count query for the given
Specification. - getCountQuery(Specification<T>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
-
Deprecated.override
SimpleJpaRepository.getCountQuery(Specification, Class)instead - getCountQueryPlaceholder() - Method in enum class org.springframework.data.jpa.provider.PersistenceProvider
-
Returns the placeholder to be used for simple count queries.
- getCreatedBy() - Method in class org.springframework.data.jpa.domain.AbstractAuditable
- getCreatedDate() - Method in class org.springframework.data.jpa.domain.AbstractAuditable
- getDeclaredCountQuery() - Method in class org.springframework.data.jpa.repository.query.JpaQueryMethod
-
Returns the
declared count queryfrom aQueryannotation or null if neither the annotation found nor the attribute was specified. - getDelegate() - Method in class org.springframework.data.envers.repository.support.DefaultRevisionMetadata
- getDelete(DeleteSpecification<S>, Class<S>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
-
Creates a
Queryfor the givenDeleteSpecification. - getDomainClass() - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- getEntity() - Method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder.Entity
- getEntityGraph() - Method in interface org.springframework.data.jpa.repository.support.CrudMethodMetadata
-
Returns the
EntityGraphto be used. - getEntityInformation() - Method in class org.springframework.data.jpa.repository.query.JpaQueryMethod
- getEntityInformation(Class<T>) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactory
- getEntityInformation(Class<T>, EntityManager) - Static method in class org.springframework.data.jpa.repository.support.JpaEntityInformationSupport
-
Creates a
JpaEntityInformationfor the given domain class andEntityManager. - getEntityManager() - Method in class org.springframework.data.jpa.repository.query.AbstractJpaQuery
-
Returns the
EntityManager. - getEntityManager() - Method in class org.springframework.data.jpa.repository.support.QuerydslRepositorySupport
-
Returns the
EntityManager. - getEntityManagerByManagedType(Class<?>) - Method in interface org.springframework.data.jpa.repository.JpaContext
-
Returns the
EntityManagermanaging the given domain type. - getEntityManagerByManagedType(Class<?>) - Method in class org.springframework.data.jpa.repository.support.DefaultJpaContext
- getEntityManagerFactoryBeanDefinitions(ConfigurableListableBeanFactory) - Static method in class org.springframework.data.jpa.util.BeanDefinitionUtils
-
Returns
BeanDefinitionUtils.EntityManagerFactoryBeanDefinitioninstances for allBeanDefinitionregistered in the givenConfigurableListableBeanFactoryhierarchy. - getEntityManagerFactoryBeanNames(ListableBeanFactory) - Static method in class org.springframework.data.jpa.util.BeanDefinitionUtils
-
Return all bean names for bean definitions that will result in an
EntityManagerFactoryeventually. - getEntityName() - Method in class org.springframework.data.jpa.repository.query.DefaultJpaEntityMetadata
- getEntityName() - Method in interface org.springframework.data.jpa.repository.query.JpaEntityMetadata
-
Returns the name of the entity.
- getEntityName() - Method in class org.springframework.data.jpa.repository.support.JpaEntityInformationSupport
- getEntityName() - Method in class org.springframework.data.jpa.repository.support.JpaMetamodelEntityInformation
- getEscapeCharacter() - Method in class org.springframework.data.jpa.repository.query.EscapeCharacter
- getEscapeCharacter() - Method in class org.springframework.data.jpa.repository.query.JpaQueryConfiguration
- getExecution() - Method in class org.springframework.data.jpa.repository.query.AbstractJpaQuery
- getExecution() - Method in class org.springframework.data.jpa.repository.query.PartTreeJpaQuery
- getExistsQueryString(String, String, Iterable<String>) - Static method in class org.springframework.data.jpa.repository.query.QueryUtils
-
Returns the query string to execute an exists query for the given id attributes.
- getExtensionId() - Method in class org.springframework.data.jpa.repository.support.JpaEvaluationContextExtension
- getFetchGraphHint(EntityManager, JpaEntityGraph, Class<?>) - Static method in class org.springframework.data.jpa.repository.query.Jpa21Utils
- getHibernateQuery(Object) - Static method in class org.springframework.data.jpa.provider.HibernateUtils
-
Return the query string of the underlying native Hibernate query.
- getId() - Method in class org.springframework.data.jpa.domain.AbstractPersistable
- getId(T) - Method in class org.springframework.data.jpa.repository.support.JpaMetamodelEntityInformation
- getId(T) - Method in class org.springframework.data.jpa.repository.support.JpaPersistableEntityInformation
- getIdAttribute() - Method in interface org.springframework.data.jpa.repository.support.JpaEntityInformation
-
Returns the id attribute of the entity.
- getIdAttribute() - Method in class org.springframework.data.jpa.repository.support.JpaMetamodelEntityInformation
- getIdAttributeNames() - Method in interface org.springframework.data.jpa.repository.support.JpaEntityInformation
-
Returns the attribute names of the id attributes.
- getIdAttributeNames() - Method in class org.springframework.data.jpa.repository.support.JpaMetamodelEntityInformation
- getIdClassAttributes(IdentifiableType<T>) - Method in enum class org.springframework.data.jpa.provider.PersistenceProvider
- getIdentifier() - Method in class org.springframework.data.jpa.repository.query.ParameterBinding
- getIdentifierFrom(Object) - Method in interface org.springframework.data.jpa.provider.ProxyIdAccessor
-
Returns the identifier of the given entity by leniently inspecting it for the identifier value.
- getIdentifyingAnnotations() - Method in class org.springframework.data.jpa.repository.config.JpaRepositoryConfigExtension
- getIdentifyingTypes() - Method in class org.springframework.data.jpa.repository.config.JpaRepositoryConfigExtension
- getIdType() - Method in class org.springframework.data.jpa.repository.support.JpaMetamodelEntityInformation
- getIgnoreCaseOperator() - Method in class org.springframework.data.jpa.repository.support.JpqlQueryTemplates
- getJavaType() - Method in class org.springframework.data.jpa.repository.query.DefaultJpaEntityMetadata
- getJpql() - Method in exception org.springframework.data.jpa.repository.query.BadJpqlGrammarException
- getJSqlCount(List<String>, boolean) - Static method in class org.springframework.data.jpa.repository.query.JSqlParserUtils
-
Deprecated.Generates a count function call, based on the
countFields. - getJSqlLower(String) - Static method in class org.springframework.data.jpa.repository.query.JSqlParserUtils
-
Deprecated.Generates a lower function call, based on the
column. - getKey() - Method in enum class org.springframework.data.jpa.repository.EntityGraph.EntityGraphType
- getKeyset(Iterable<String>, T) - Method in interface org.springframework.data.jpa.repository.support.JpaEntityInformation
-
Extract a keyset for
propertyPathsand the primary key (including composite key components if applicable). - getKeyset(Iterable<String>, T) - Method in class org.springframework.data.jpa.repository.support.JpaMetamodelEntityInformation
- getLastModifiedBy() - Method in class org.springframework.data.jpa.domain.AbstractAuditable
- getLastModifiedDate() - Method in class org.springframework.data.jpa.domain.AbstractAuditable
- getLockModeType() - Method in interface org.springframework.data.jpa.repository.support.CrudMethodMetadata
-
Returns the
LockModeTypeto be used. - getMetamodel() - Method in class org.springframework.data.jpa.repository.query.AbstractJpaQuery
-
Returns the
JpaMetamodel. - getMethod() - Method in interface org.springframework.data.jpa.repository.support.CrudMethodMetadata
-
Returns the
Methodto be used. - getModuleName() - Method in class org.springframework.data.jpa.repository.config.JpaRepositoryConfigExtension
- getModulePrefix() - Method in class org.springframework.data.jpa.repository.config.JpaRepositoryConfigExtension
- getName() - Method in class org.springframework.data.jpa.repository.query.JpaEntityGraph
-
Returns the name of the
EntityGraphconfiguration to use. - getName() - Method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder.Entity
- getName() - Method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder.Join
- getName() - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.Origin
-
Returns the simple name of the origin (e.g.
- getName() - Method in interface org.springframework.data.jpa.repository.query.ParameterBinding.BindingIdentifier
-
Returns the binding name
if presentor throwIllegalStateExceptionif no name associated. - getName() - Method in class org.springframework.data.jpa.repository.query.ParameterBinding
- getNamedCountQueryName() - Method in class org.springframework.data.jpa.repository.query.JpaQueryMethod
-
Returns the name of the
NamedQuerythat shall be used for count queries. - getNamedQueryName() - Method in class org.springframework.data.jpa.repository.query.JpaQueryMethod
- getObjectType() - Method in class org.springframework.data.jpa.repository.config.JpaMetamodelMappingContextFactoryBean
- getOffsetAsInteger(Pageable) - Static method in class org.springframework.data.jpa.support.PageableUtils
- getOne(ID) - Method in interface org.springframework.data.jpa.repository.JpaRepository
-
Deprecated.use
JpaRepository.getReferenceById(ID)instead. - getOne(ID) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
-
Deprecated.
- getOrder() - Method in class org.springframework.data.jpa.repository.support.EntityManagerBeanDefinitionRegistrarPostProcessor
- getOrigin() - Method in class org.springframework.data.jpa.repository.query.ParameterBinding
- getParameterBindings() - Method in interface org.springframework.data.jpa.repository.query.EntityQuery
- getParameters() - Method in class org.springframework.data.jpa.repository.query.JpaParametersParameterAccessor
- getParameters() - Method in class org.springframework.data.jpa.repository.query.JpaQueryMethod
- getParameters() - Method in class org.springframework.data.jpa.repository.query.ParameterMetadataProvider
- getParameterType() - Method in class org.springframework.data.jpa.repository.query.ParameterMetadataProvider.ParameterMetadata
- getPosition() - Method in interface org.springframework.data.jpa.repository.query.ParameterBinding.BindingIdentifier
-
Returns the binding name
if presentor throwIllegalStateExceptionif no position associated. - getPosition() - Method in class org.springframework.data.jpa.repository.query.ParameterMetadataProvider.ParameterMetadata
- getPredicate(Root<T>, CriteriaBuilder, Example<T>) - Static method in class org.springframework.data.jpa.convert.QueryByExamplePredicateBuilder
-
Extract the
Predicaterepresenting theExample. - getPredicate(Root<T>, CriteriaBuilder, Example<T>, EscapeCharacter) - Static method in class org.springframework.data.jpa.convert.QueryByExamplePredicateBuilder
-
Extract the
Predicaterepresenting theExample. - getProjection() - Method in class org.springframework.data.jpa.repository.query.JSqlParserQueryEnhancer
- getProjection() - Method in interface org.springframework.data.jpa.repository.query.QueryEnhancer
-
Returns the projection part of the query, i.e. everything between
selectandfrom. - getProjection(String) - Static method in class org.springframework.data.jpa.repository.query.QueryUtils
-
Returns the projection part of the query, i.e. everything between
selectandfrom. - getProjectionFactory(ClassLoader, BeanFactory) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactory
- getProjectionInformation(Class<?>) - Method in class org.springframework.data.jpa.projection.CollectionAwareProjectionFactory
- getProjectionInputProperties(JpaEntityInformation<?, ?>, Collection<String>, Sort) - Static method in class org.springframework.data.jpa.repository.query.KeysetScrollDelegate
-
Return a collection of property names required to construct a keyset selection query that include all keyset and identifier properties required to resume keyset scrolling.
- getPropertyPath() - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.PathExpression
- getQuery() - Method in class org.springframework.data.jpa.repository.query.JSqlParserQueryEnhancer
- getQuery() - Method in interface org.springframework.data.jpa.repository.query.QueryEnhancer
-
Gets the query we want to use for enhancements.
- getQuery(Specification<S>, Class<S>, Sort) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- getQuery(Specification<T>, Pageable) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
-
Creates a new
TypedQueryfrom the givenSpecification. - getQuery(Specification<S>, Class<S>, Pageable) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
-
Creates a new
TypedQueryfrom the givenSpecification. - getQuery(Specification<T>, Sort) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- getQuerydsl() - Method in class org.springframework.data.jpa.repository.support.QuerydslRepositorySupport
-
Returns the underlying Querydsl helper instance.
- getQueryExtractor() - Method in class org.springframework.data.jpa.repository.query.JpaQueryMethod
-
Returns the
QueryExtractor. - getQueryHints() - Method in interface org.springframework.data.jpa.repository.support.CrudMethodMetadata
-
Returns all query hints in a list to be applied to queries executed for the CRUD method.
- getQueryHints() - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
-
Returns
QueryHintswith the query hints based on the currentCrudMethodMetadataand potentialEntityGraphinformation. - getQueryHintsForCount() - Method in interface org.springframework.data.jpa.repository.support.CrudMethodMetadata
-
Returns all query hints in a list to be applied to queries executed for the CRUD method.
- getQueryHintsForCount() - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
-
Returns
QueryHintswith the query hints on the currentCrudMethodMetadatafor count queries. - getQueryLookupStrategy(QueryLookupStrategy.Key, ValueExpressionDelegate) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactory
- getQueryMetaAttributes() - Method in class org.springframework.data.jpa.repository.query.JpaQueryMethod
-
Returns the
Metaattributes to be applied. - getQueryMethod() - Method in class org.springframework.data.jpa.repository.query.AbstractJpaQuery
- getQueryRewriter() - Method in class org.springframework.data.jpa.repository.query.JpaQueryMethod
-
Returns the
QueryRewritertype. - getQueryRewriter(JpaQueryMethod) - Method in class org.springframework.data.jpa.repository.cdi.BeanManagerQueryRewriterProvider
- getQueryRewriter(JpaQueryMethod) - Method in class org.springframework.data.jpa.repository.query.BeanFactoryQueryRewriterProvider
- getQueryRewriter(JpaQueryMethod) - Method in class org.springframework.data.jpa.repository.query.JpaQueryConfiguration
- getQueryRewriter(JpaQueryMethod) - Method in interface org.springframework.data.jpa.repository.query.QueryRewriterProvider
-
Obtain an instance of
QueryRewriterfor aJpaQueryMethod. - getQueryString() - Method in class org.springframework.data.jpa.repository.query.PreprocessedQuery
- getQueryString() - Method in interface org.springframework.data.jpa.repository.query.QueryProvider
-
Return the query string.
- getQueryString(String, String) - Static method in class org.springframework.data.jpa.repository.query.QueryUtils
-
Returns the query string for the given class name.
- getReferenceById(ID) - Method in interface org.springframework.data.jpa.repository.JpaRepository
-
Returns a reference to the entity with the given identifier.
- getReferenceById(ID) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- getRepositoryAotProcessor() - Method in class org.springframework.data.jpa.repository.config.JpaRepositoryConfigExtension
- getRepositoryBaseClass(RepositoryMetadata) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactory
- getRepositoryFactoryBeanClassName() - Method in class org.springframework.data.jpa.repository.config.JpaRepositoryConfigExtension
- getRepositoryFragments(RepositoryMetadata) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactory
- getRepositoryFragments(RepositoryMetadata, EntityManager, EntityPathResolver, CrudMethodMetadata) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactory
-
Creates
RepositoryComposition.RepositoryFragmentsbased onRepositoryMetadatato add JPA-specific extensions. - getRepositoryMetadata(RegisteredBean) - Method in class org.springframework.data.jpa.repository.config.JpaRepositoryConfigExtension.JpaRepositoryRegistrationAotProcessor
- getRepositoryMethodMetadata() - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- getRequiredAnnotatedQuery() - Method in class org.springframework.data.jpa.repository.query.JpaQueryMethod
-
Returns the required query string declared in a
Queryannotation or throwsIllegalStateExceptionif neither the annotation found nor the attribute was specified. - getRequiredDeclaredQuery() - Method in class org.springframework.data.jpa.repository.query.JpaQueryMethod
-
Returns the required
DeclaredQueryfrom aQueryannotation or throwsIllegalStateExceptionif neither the annotation found nor the attribute was specified. - getRequiredIdAttribute() - Method in interface org.springframework.data.jpa.repository.support.JpaEntityInformation
-
Returns the required identifier type.
- getResultWindow(List<T>, int) - Method in class org.springframework.data.jpa.repository.query.KeysetScrollDelegate
- getReturnedType() - Method in interface org.springframework.data.jpa.repository.query.QueryEnhancer.QueryRewriteInformation
- getRevisionDate() - Method in class org.springframework.data.envers.repository.support.DefaultRevisionMetadata
-
Deprecated.
- getRevisionEntityClass() - Method in class org.springframework.data.envers.repository.support.ReflectionRevisionEntityInformation
- getRevisionInstant() - Method in class org.springframework.data.envers.repository.support.DefaultRevisionMetadata
- getRevisionNumber() - Method in class org.springframework.data.envers.repository.support.DefaultRevisionMetadata
- getRevisionNumberType() - Method in class org.springframework.data.envers.repository.support.ReflectionRevisionEntityInformation
- getRevisionType() - Method in class org.springframework.data.envers.repository.support.DefaultRevisionMetadata
- getRootObject() - Method in class org.springframework.data.jpa.repository.support.JpaEvaluationContextExtension
- getSelectionAliases() - Method in class org.springframework.data.jpa.repository.query.JSqlParserQueryEnhancer
- getSelector() - Method in class org.springframework.data.jpa.repository.query.JpaQueryConfiguration
- getSort() - Method in interface org.springframework.data.jpa.repository.query.QueryEnhancer.QueryRewriteInformation
- getSortOrders(Sort) - Method in class org.springframework.data.jpa.repository.query.KeysetScrollDelegate
- getTargetRepository(RepositoryInformation) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactory
- getTargetRepository(RepositoryInformation, EntityManager) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactory
-
Callback to create a
JpaRepositoryinstance with the givenEntityManager - getTemplates() - Method in class org.springframework.data.jpa.repository.support.Querydsl
-
Obtains the
JPQLTemplatesfor the configuredEntityManager. - getType() - Method in class org.springframework.data.jpa.repository.query.JpaEntityGraph
-
Returns the
EntityGraph.EntityGraphTypeof theEntityGraphto use. - getTypeToRead(ReturnedType) - Method in class org.springframework.data.jpa.repository.query.AbstractJpaQuery
-
Returns the type to be used when creating the JPA query.
- getUpdate(UpdateSpecification<S>, Class<S>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
-
Creates a
Queryfor the givenUpdateSpecification. - getValue(Parameter) - Method in class org.springframework.data.jpa.repository.query.JpaParametersParameterAccessor
- getValueExpressionDelegate() - Method in class org.springframework.data.jpa.repository.query.JpaQueryConfiguration
- getValues() - Method in class org.springframework.data.jpa.repository.query.JpaParametersParameterAccessor
- getWhere() - Method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder.AbstractJpqlQuery
- gt(JpqlQueryBuilder.Expression) - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.WhereStep
-
Create a greater
> …predicate. - gte(JpqlQueryBuilder.Expression) - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.WhereStep
-
Create a greater-or-equals
>= …predicate.
H
- hasCompositeId() - Method in interface org.springframework.data.jpa.repository.support.JpaEntityInformation
-
Returns true if the entity has a composite id.
- hasCompositeId() - Method in class org.springframework.data.jpa.repository.support.JpaMetamodelEntityInformation
- hasConstructorExpression() - Method in interface org.springframework.data.jpa.repository.query.EntityQuery
-
Returns whether the query is using a constructor expression.
- hasConstructorExpression() - Method in class org.springframework.data.jpa.repository.query.JSqlParserQueryEnhancer
- hasConstructorExpression() - Method in interface org.springframework.data.jpa.repository.query.QueryEnhancer
-
Returns whether the given JPQL query contains a constructor expression.
- hasConstructorExpression(String) - Static method in class org.springframework.data.jpa.repository.query.QueryUtils
-
Returns whether the given JPQL query contains a constructor expression.
- hashCode() - Method in class org.springframework.data.jpa.domain.AbstractPersistable
- hashCode() - Method in class org.springframework.data.jpa.repository.query.EscapeCharacter
- hashCode() - Method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder.Entity
- hashCode() - Method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder.Join
- hashCode() - Method in record class org.springframework.data.jpa.repository.query.JpqlQueryBuilder.ParameterPlaceholder
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.data.jpa.repository.query.KeysetScrollSpecification
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.data.jpa.repository.query.ParameterBinding.Expression
-
Returns a hash code value for this object.
- hashCode() - Method in class org.springframework.data.jpa.repository.query.ParameterBinding
- hashCode() - Method in record class org.springframework.data.jpa.repository.query.ParameterBinding.MethodInvocationArgument
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.data.jpa.repository.query.ParameterBinding.Synthetic
-
Returns a hash code value for this object.
- hashCode() - Method in class org.springframework.data.jpa.repository.support.QueryHintValue
- hashCode() - Method in class org.springframework.data.jpa.util.BeanDefinitionUtils.EntityManagerFactoryBeanDefinition
- hasLimitingParameters() - Method in class org.springframework.data.jpa.repository.query.JpaParameters
- hasName() - Method in interface org.springframework.data.jpa.repository.query.ParameterBinding.BindingIdentifier
- hasNamedParameter() - Method in interface org.springframework.data.jpa.repository.query.EntityQuery
- hasNamedParameter(Query) - Static method in class org.springframework.data.jpa.repository.query.QueryUtils
-
Returns whether the given
Querycontains named parameters. - hasParameterBindings() - Method in interface org.springframework.data.jpa.repository.query.EntityQuery
- hasPersistentEntityFor(Class<?>) - Method in class org.springframework.data.jpa.mapping.JpaMetamodelMappingContext
- hasPosition() - Method in interface org.springframework.data.jpa.repository.query.ParameterBinding.BindingIdentifier
- hasQueryMetaAttributes() - Method in class org.springframework.data.jpa.repository.query.JpaQueryMethod
- hasValues() - Method in class org.springframework.data.jpa.repository.query.Meta
- HIBERNATE - Enum constant in enum class org.springframework.data.jpa.provider.PersistenceProvider
-
Hibernate persistence provider.
- HibernateUtils - Class in org.springframework.data.jpa.provider
-
Utility functions to work with Hibernate.
- hql() - Static method in class org.springframework.data.jpa.repository.query.QueryEnhancerFactories
-
Returns a
QueryEnhancerFactoryusing HQL (Hibernate Query Language) parser.
I
- identifier() - Method in record class org.springframework.data.jpa.repository.query.ParameterBinding.MethodInvocationArgument
-
Returns the value of the
identifierrecord component. - ignoreCase() - Method in class org.springframework.data.jpa.domain.JpaSort.JpaOrder
- ignoreCase(String) - Method in class org.springframework.data.jpa.repository.support.JpqlQueryTemplates
- in(JpqlQueryBuilder.Expression) - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.WhereStep
-
Create a
INpredicate. - includeFilters() - Element in annotation interface org.springframework.data.envers.repository.config.EnableEnversRepositories
-
Specifies which types are eligible for component scanning.
- includeFilters() - Element in annotation interface org.springframework.data.jpa.repository.config.EnableJpaRepositories
-
Specifies which types are eligible for component scanning.
- indexed(int) - Static method in record class org.springframework.data.jpa.repository.query.JpqlQueryBuilder.ParameterPlaceholder
-
Factory method to create a parameter placeholder using a parameter
index. - init() - Method in class org.springframework.data.jpa.repository.config.JpaRepositoryNameSpaceHandler
- innerJoin(JpqlQueryBuilder.Origin, String) - Static method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder
-
Create a
INNER JOIN. - INSTANCE - Enum constant in enum class org.springframework.data.jpa.repository.QueryRewriter.IdentityQueryRewriter
- INSTANCE - Enum constant in enum class org.springframework.data.jpa.repository.support.QueryHints.NoHints
- InstantConverter() - Constructor for class org.springframework.data.jpa.convert.threeten.Jsr310JpaConverters.InstantConverter
- instantiate(Class<?>, Collection<JpqlQueryBuilder.PathExpression>) - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.SelectStep
-
Provide a constructor expression to instantiate
resultType. - instantiate(String, Collection<JpqlQueryBuilder.PathExpression>) - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.SelectStep
-
Provide a constructor expression to instantiate
resultType. - InvalidJpaQueryMethodException - Exception in org.springframework.data.jpa.repository.query
-
Signals that we encountered an invalid query method.
- InvalidJpaQueryMethodException(String) - Constructor for exception org.springframework.data.jpa.repository.query.InvalidJpaQueryMethodException
-
Creates a new
InvalidJpaQueryMethodExceptionwith the given message. - isAdHocEntityGraph() - Method in class org.springframework.data.jpa.repository.query.JpaEntityGraph
-
Deprecated, for removal: This API element is subject to removal in a future version.since 3.5 as the used evaluation does not represent whether a
JpaEntityGraphis dynamic or not. - isBindable() - Method in class org.springframework.data.jpa.repository.query.JpaParameters.JpaParameter
- isCollectionQuery() - Method in class org.springframework.data.jpa.repository.query.JpaQueryMethod
- isCompatibleWith(ParameterBinding) - Method in class org.springframework.data.jpa.repository.query.ParameterBinding
-
Check whether this binding can be bound as the
otherbinding by checking its type and origin. - isConstructorCompatible(Constructor<?>, List<Class<?>>) - Static method in class org.springframework.data.jpa.repository.query.AbstractJpaQuery.TupleConverter
- isConstructorContext() - Method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder.RenderContext
- isDefaultProjection() - Method in interface org.springframework.data.jpa.repository.query.EntityQuery
-
Returns whether the query uses the default projection, i.e. returns the main alias defined for the query.
- isDefaultRevisionEntity() - Method in class org.springframework.data.envers.repository.support.ReflectionRevisionEntityInformation
- isEmbeddable() - Method in interface org.springframework.data.jpa.mapping.JpaPersistentProperty
-
Return whether the property is considered embeddable.
- isEmpty() - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.WhereStep
-
Create a
IS EMPTYpredicate. - isEmpty() - Method in class org.springframework.data.jpa.util.TupleBackedMap
- isExpression() - Method in record class org.springframework.data.jpa.repository.query.ParameterBinding.Expression
- isExpression() - Method in record class org.springframework.data.jpa.repository.query.ParameterBinding.MethodInvocationArgument
- isExpression() - Method in interface org.springframework.data.jpa.repository.query.ParameterBinding.ParameterOrigin
- isExpression() - Method in record class org.springframework.data.jpa.repository.query.ParameterBinding.Synthetic
- isFalse() - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.WhereStep
-
Create a
IS FALSEpredicate. - isIsNullParameter() - Method in class org.springframework.data.jpa.repository.query.ParameterMetadataProvider.ParameterMetadata
-
Returns whether the parameter shall be considered an IS NULL parameter.
- isJpaManaged(Class<?>) - Method in class org.springframework.data.jpa.util.JpaMetamodel
-
Returns whether the given type is managed by the backing JPA
Metamodel. - isJpql() - Method in interface org.springframework.data.jpa.repository.query.DeclaredQuery
-
Return whether the query is a JPQL query of not.
- isMappedType(Class<?>) - Method in class org.springframework.data.jpa.util.JpaMetamodel
-
Returns whether the given type is considered a mapped type, i.e. an actually JPA persisted entity, mapped superclass or native JPA embeddable.
- isMethodArgument() - Method in record class org.springframework.data.jpa.repository.query.ParameterBinding.Expression
- isMethodArgument() - Method in record class org.springframework.data.jpa.repository.query.ParameterBinding.MethodInvocationArgument
- isMethodArgument() - Method in interface org.springframework.data.jpa.repository.query.ParameterBinding.ParameterOrigin
- isMethodArgument() - Method in record class org.springframework.data.jpa.repository.query.ParameterBinding.Synthetic
- isModifyingQuery() - Method in class org.springframework.data.jpa.repository.query.JpaQueryMethod
-
Returns whether the finder is a modifying one.
- isNative() - Method in interface org.springframework.data.jpa.repository.query.DeclaredQuery
-
Return whether the query is a native query of not.
- isNative() - Method in class org.springframework.data.jpa.repository.query.PreprocessedQuery
- isNativeQuery(Object) - Static method in class org.springframework.data.jpa.provider.HibernateUtils
- isNativeQuery(Object) - Method in interface org.springframework.data.jpa.provider.QueryExtractor
-
Reverse engineers the query native flag from a
Queryor native query as JPA does not provide access to the underlying query string once a (named) query is constructed. - isNew() - Method in class org.springframework.data.jpa.domain.AbstractPersistable
-
Must be
Transientin order to ensure that no JPA provider complains because of a missing setter. - isNew(T) - Method in class org.springframework.data.jpa.repository.support.JpaMetamodelEntityInformation
- isNew(T) - Method in class org.springframework.data.jpa.repository.support.JpaPersistableEntityInformation
- isNotEmpty() - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.WhereStep
-
Create a
IS NOT EMPTYpredicate. - isNotNull() - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.WhereStep
-
Create a
IS NOT NULLpredicate. - isNull() - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.WhereStep
-
Create a
IS NULLpredicate. - isPersistenceUnitOverrideAllowed() - Method in class org.springframework.data.jpa.support.MergingPersistenceUnitManager
- isPresent() - Method in enum class org.springframework.data.jpa.provider.PersistenceProvider
- isProcedureQuery() - Method in class org.springframework.data.jpa.repository.query.JpaQueryMethod
-
Return true if the method contains a
Procedureannotation. - isRoot() - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.Bindable
- isSingleIdAttribute(Class<?>, String, Class<?>) - Method in class org.springframework.data.jpa.util.JpaMetamodel
-
Returns whether the attribute of given name and type is the single identifier attribute of the given entity.
- isSynthetic() - Method in record class org.springframework.data.jpa.repository.query.ParameterBinding.Expression
- isSynthetic() - Method in record class org.springframework.data.jpa.repository.query.ParameterBinding.MethodInvocationArgument
- isSynthetic() - Method in interface org.springframework.data.jpa.repository.query.ParameterBinding.ParameterOrigin
- isSynthetic() - Method in record class org.springframework.data.jpa.repository.query.ParameterBinding.Synthetic
- isTrue() - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.WhereStep
-
Create a
IS TRUEpredicate. - isUnsafe() - Method in class org.springframework.data.jpa.domain.JpaSort.JpaOrder
J
- join(JpqlQueryBuilder.Join) - Method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder.Select
-
Append a join to this select.
- joinType() - Method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder.Join
- Jpa21Utils - Class in org.springframework.data.jpa.repository.query
-
Utils for bridging various JPA 2.1 features.
- JpaContext - Interface in org.springframework.data.jpa.repository
-
Interface for components to provide useful information about the current JPA setup within the current
ApplicationContext. - JpaCountQueryCreator - Class in org.springframework.data.jpa.repository.query
-
Special
JpaQueryCreatorthat creates a count projecting query. - JpaCountQueryCreator(PartTree, ReturnedType, ParameterMetadataProvider, JpqlQueryTemplates, EntityManager) - Constructor for class org.springframework.data.jpa.repository.query.JpaCountQueryCreator
-
Creates a new
JpaCountQueryCreator - JpaCountQueryCreator(PartTree, ReturnedType, ParameterMetadataProvider, JpqlQueryTemplates, Metamodel) - Constructor for class org.springframework.data.jpa.repository.query.JpaCountQueryCreator
-
Creates a new
JpaCountQueryCreator - JpaEntityGraph - Class in org.springframework.data.jpa.repository.query
-
EntityGraph configuration for JPA 2.1
EntityGraphs. - JpaEntityGraph(String, EntityGraph.EntityGraphType, String[]) - Constructor for class org.springframework.data.jpa.repository.query.JpaEntityGraph
-
Creates an
JpaEntityGraphwith the given name,EntityGraph.EntityGraphTypeand attribute paths. - JpaEntityGraph(EntityGraph, String) - Constructor for class org.springframework.data.jpa.repository.query.JpaEntityGraph
-
Creates an
JpaEntityGraph. - JpaEntityInformation<T,
ID> - Interface in org.springframework.data.jpa.repository.support -
Extension of
EntityInformationto capture additional JPA specific information about entities. - JpaEntityInformationSupport<T,
ID> - Class in org.springframework.data.jpa.repository.support -
Base class for
JpaEntityInformationimplementations to share common method implementations. - JpaEntityInformationSupport(Class<T>) - Constructor for class org.springframework.data.jpa.repository.support.JpaEntityInformationSupport
-
Creates a new
JpaEntityInformationSupportwith the given domain class. - JpaEntityMetadata<T> - Interface in org.springframework.data.jpa.repository.query
-
JPA specific extension of
EntityMetadata. - JpaEvaluationContextExtension - Class in org.springframework.data.jpa.repository.support
-
EvaluationContextExtensionto registerEscapeCharacteras root object to essentially expose anexpose(…)function to SpEL. - JpaEvaluationContextExtension(char) - Constructor for class org.springframework.data.jpa.repository.support.JpaEvaluationContextExtension
-
Creates a new
JpaEvaluationContextExtensionfor the given escape character. - JpaEvaluationContextExtension.JpaRootObject - Class in org.springframework.data.jpa.repository.support
- JpaMetamodel - Class in org.springframework.data.jpa.util
-
Wrapper around the JPA
Metamodelto be able to apply some fixes against bugs in provider implementations. - JpaMetamodelEntityInformation<T,
ID> - Class in org.springframework.data.jpa.repository.support -
Implementation of
EntityInformationthat uses JPAMetamodelto find the domain class' id field. - JpaMetamodelEntityInformation(Class<T>, Metamodel, PersistenceUnitUtil) - Constructor for class org.springframework.data.jpa.repository.support.JpaMetamodelEntityInformation
-
Creates a new
JpaMetamodelEntityInformationfor the given domain class andMetamodel. - JpaMetamodelMappingContext - Class in org.springframework.data.jpa.mapping
-
MappingContextimplementation based on a JpaMetamodel. - JpaMetamodelMappingContext(Set<Metamodel>) - Constructor for class org.springframework.data.jpa.mapping.JpaMetamodelMappingContext
-
Creates a new JPA
MetamodelbasedMappingContext. - JpaMetamodelMappingContextFactoryBean - Class in org.springframework.data.jpa.repository.config
-
FactoryBeanto setupJpaMetamodelMappingContextinstances from Spring configuration. - JpaMetamodelMappingContextFactoryBean() - Constructor for class org.springframework.data.jpa.repository.config.JpaMetamodelMappingContextFactoryBean
- JpaParameter(MethodParameter, TypeInformation<?>) - Constructor for class org.springframework.data.jpa.repository.query.JpaParameters.JpaParameter
-
Creates a new
JpaParameters.JpaParameter. - JpaParameters - Class in org.springframework.data.jpa.repository.query
-
Custom extension of
Parametersdiscovering additional query parameter annotations. - JpaParameters(ParametersSource) - Constructor for class org.springframework.data.jpa.repository.query.JpaParameters
-
Creates a new
JpaParametersinstance from the givenParametersSource. - JpaParameters(ParametersSource, Function<MethodParameter, JpaParameters.JpaParameter>) - Constructor for class org.springframework.data.jpa.repository.query.JpaParameters
-
Creates a new
JpaParametersinstance from the givenMethod. - JpaParameters.JpaParameter - Class in org.springframework.data.jpa.repository.query
- JpaParametersParameterAccessor - Class in org.springframework.data.jpa.repository.query
-
ParameterAccessorbased on anParametersinstance. - JpaParametersParameterAccessor(JpaParameters, Object[]) - Constructor for class org.springframework.data.jpa.repository.query.JpaParametersParameterAccessor
-
Creates a new
ParametersParameterAccessor. - JpaPersistableEntityInformation<T extends Persistable<ID>,
ID> - Class in org.springframework.data.jpa.repository.support -
Extension of
JpaMetamodelEntityInformationthat consideres methods ofPersistableto lookup the id. - JpaPersistableEntityInformation(Class<T>, Metamodel, PersistenceUnitUtil) - Constructor for class org.springframework.data.jpa.repository.support.JpaPersistableEntityInformation
-
Creates a new
JpaPersistableEntityInformationfor the given domain class andMetamodel. - JpaPersistentEntity<T> - Interface in org.springframework.data.jpa.mapping
-
Interface for a JPA-specific entity.
- JpaPersistentProperty - Interface in org.springframework.data.jpa.mapping
-
Interface for a JPA-specific
PersistentProperty. - JpaQueryConfiguration - Class in org.springframework.data.jpa.repository.query
-
Configuration object holding configuration information for JPA queries within a repository.
- JpaQueryConfiguration(QueryRewriterProvider, QueryEnhancerSelector, ValueExpressionDelegate, EscapeCharacter) - Constructor for class org.springframework.data.jpa.repository.query.JpaQueryConfiguration
- JpaQueryCreator - Class in org.springframework.data.jpa.repository.query
-
Query creator to create a
CriteriaQueryfrom aPartTree. - JpaQueryCreator(PartTree, ReturnedType, ParameterMetadataProvider, JpqlQueryTemplates, EntityManager) - Constructor for class org.springframework.data.jpa.repository.query.JpaQueryCreator
-
Create a new
JpaQueryCreator. - JpaQueryCreator(PartTree, ReturnedType, ParameterMetadataProvider, JpqlQueryTemplates, Metamodel) - Constructor for class org.springframework.data.jpa.repository.query.JpaQueryCreator
- JpaQueryExecution - Class in org.springframework.data.jpa.repository.query
-
Set of classes to contain query execution strategies.
- JpaQueryExecution() - Constructor for class org.springframework.data.jpa.repository.query.JpaQueryExecution
- JpaQueryLookupStrategy - Class in org.springframework.data.jpa.repository.query
-
Query lookup strategy to execute finders.
- JpaQueryMethod - Class in org.springframework.data.jpa.repository.query
-
JPA specific extension of
QueryMethod. - JpaQueryMethod(Method, RepositoryMetadata, ProjectionFactory, QueryExtractor) - Constructor for class org.springframework.data.jpa.repository.query.JpaQueryMethod
-
Creates a
JpaQueryMethod. - JpaQueryMethod(Method, RepositoryMetadata, ProjectionFactory, QueryExtractor, Function<ParametersSource, JpaParameters>) - Constructor for class org.springframework.data.jpa.repository.query.JpaQueryMethod
-
Creates a
JpaQueryMethod. - JpaQueryMethodFactory - Interface in org.springframework.data.jpa.repository.query
-
A factory interface for creating
JpaQueryMethodFactoryinstances. - JpaRepository<T,
ID> - Interface in org.springframework.data.jpa.repository -
JPA specific extension of
Repository. - JpaRepositoryConfigExtension - Class in org.springframework.data.jpa.repository.config
-
JPA specific configuration extension parsing custom attributes from the XML namespace and
EnableJpaRepositoriesannotation. - JpaRepositoryConfigExtension() - Constructor for class org.springframework.data.jpa.repository.config.JpaRepositoryConfigExtension
- JpaRepositoryConfigExtension.JpaRepositoryRegistrationAotProcessor - Class in org.springframework.data.jpa.repository.config
-
A
RepositoryRegistrationAotProcessorimplementation that maintains aot repository setup but skips domain type inspection which is handled by the core framework support forPersistenceManagedTypes. - JpaRepositoryConfigurationAware - Interface in org.springframework.data.jpa.repository.support
-
Interface to be implemented by classes that want to be aware of their configuration in a JPA repository context.
- JpaRepositoryContributor - Class in org.springframework.data.jpa.repository.aot
-
JPA-specific
RepositoryContributorcontributing an AOT repository fragment using theEntityManagerdirectly to run queries. - JpaRepositoryContributor(AotRepositoryContext) - Constructor for class org.springframework.data.jpa.repository.aot.JpaRepositoryContributor
- JpaRepositoryContributor(AotRepositoryContext, EntityManagerFactory) - Constructor for class org.springframework.data.jpa.repository.aot.JpaRepositoryContributor
- JpaRepositoryExtension - Class in org.springframework.data.jpa.repository.cdi
-
A portable CDI extension which registers beans for Spring Data JPA repositories.
- JpaRepositoryExtension() - Constructor for class org.springframework.data.jpa.repository.cdi.JpaRepositoryExtension
- JpaRepositoryFactory - Class in org.springframework.data.jpa.repository.support
-
JPA specific generic repository factory.
- JpaRepositoryFactory(EntityManager) - Constructor for class org.springframework.data.jpa.repository.support.JpaRepositoryFactory
-
Creates a new
JpaRepositoryFactory. - JpaRepositoryFactoryBean<T extends Repository<S,
ID>, S, ID> - Class in org.springframework.data.jpa.repository.support -
Special adapter for Springs
FactoryBeaninterface to allow easy setup of repository factories via Spring configuration. - JpaRepositoryFactoryBean(Class<? extends T>) - Constructor for class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean
-
Creates a new
JpaRepositoryFactoryBeanfor the given repository interface. - JpaRepositoryImplementation<T,
ID> - Interface in org.springframework.data.jpa.repository.support -
SPI interface to be implemented by
JpaRepositoryimplementations. - JpaRepositoryNameSpaceHandler - Class in org.springframework.data.jpa.repository.config
-
Simple namespace handler for repositories namespace.
- JpaRepositoryNameSpaceHandler() - Constructor for class org.springframework.data.jpa.repository.config.JpaRepositoryNameSpaceHandler
- JpaRepositoryRegistrationAotProcessor() - Constructor for class org.springframework.data.jpa.repository.config.JpaRepositoryConfigExtension.JpaRepositoryRegistrationAotProcessor
- JpaSort - Class in org.springframework.data.jpa.domain
-
Sort option for queries that wraps JPA metamodel
Attributes for sorting. - JpaSort.JpaOrder - Class in org.springframework.data.jpa.domain
-
Custom
Sort.Orderthat keeps a flag to indicate unsafe property handling, i.e. the String provided is not necessarily a property but can be an arbitrary expression piped into the query execution. - JpaSort.Path<T,
S> - Class in org.springframework.data.jpa.domain -
Value object to abstract a collection of
Attributes. - JpaSpecificationExecutor<T> - Interface in org.springframework.data.jpa.repository
-
Interface to allow execution of
Specifications based on the JPA criteria API. - JpaSpecificationExecutor.SpecificationFluentQuery<T> - Interface in org.springframework.data.jpa.repository
-
Extension to
FluentQuery.FetchableFluentQueryallowing slice results and pagination with a custom countSpecification. - jpql() - Static method in class org.springframework.data.jpa.repository.query.QueryEnhancerFactories
-
Returns a
QueryEnhancerFactoryusing JPQL (Jakarta Persistence Query Language) parser as per the JPA spec. - jpql() - Static method in class org.springframework.data.jpa.repository.query.QueryEnhancerSelector.DefaultQueryEnhancerSelector
-
Returns the default JPQL
QueryEnhancerFactorybased on class path presence of Hibernate and EclipseLink. - jpqlQuery(String) - Static method in interface org.springframework.data.jpa.repository.query.DeclaredQuery
-
Creates a DeclaredQuery for a JPQL query.
- JpqlQueryBuilder - Class in org.springframework.data.jpa.repository.query
-
A Domain-Specific Language to build JPQL queries using Java code.
- JpqlQueryBuilder.AbstractJpqlQuery - Class in org.springframework.data.jpa.repository.query
-
Abstract base class for JPQL queries.
- JpqlQueryBuilder.Bindable - Interface in org.springframework.data.jpa.repository.query
-
An origin that is used to select data from. selection origins are used with paths to define where a path is anchored.
- JpqlQueryBuilder.Entity - Class in org.springframework.data.jpa.repository.query
-
The root entity.
- JpqlQueryBuilder.Expression - Interface in org.springframework.data.jpa.repository.query
-
Interface specifying an expression that can be rendered to
String. - JpqlQueryBuilder.Join - Class in org.springframework.data.jpa.repository.query
-
A joined entity or element collection.
- JpqlQueryBuilder.Origin - Interface in org.springframework.data.jpa.repository.query
-
An origin that is used to select data from. selection origins are used with paths to define where a path is anchored.
- JpqlQueryBuilder.ParameterPlaceholder - Record Class in org.springframework.data.jpa.repository.query
-
Value object capturing parameter placeholder.
- JpqlQueryBuilder.PathExpression - Interface in org.springframework.data.jpa.repository.query
-
Extension to
JpqlQueryBuilder.Expressionthat contains aPropertyPath. - JpqlQueryBuilder.Predicate - Interface in org.springframework.data.jpa.repository.query
-
WHEREpredicate. - JpqlQueryBuilder.RenderContext - Class in org.springframework.data.jpa.repository.query
-
Context used during rendering.
- JpqlQueryBuilder.Select - Class in org.springframework.data.jpa.repository.query
-
SELECTstatement. - JpqlQueryBuilder.SelectStep - Interface in org.springframework.data.jpa.repository.query
-
Fluent interface to build a
JpqlQueryBuilder.Select. - JpqlQueryBuilder.WhereStep - Interface in org.springframework.data.jpa.repository.query
-
Fluent interface to build a
JpqlQueryBuilder.Predicate. - JpqlQueryTemplates - Class in org.springframework.data.jpa.repository.support
- jsqlparser() - Static method in class org.springframework.data.jpa.repository.query.QueryEnhancerFactories
-
Returns a
QueryEnhancerFactorythat uses JSqlParser if it is available from the class path. - JSqlParserQueryEnhancer - Class in org.springframework.data.jpa.repository.query
-
The implementation of
QueryEnhancerusing JSqlParser. - JSqlParserQueryEnhancer(QueryProvider) - Constructor for class org.springframework.data.jpa.repository.query.JSqlParserQueryEnhancer
- JSqlParserUtils - Class in org.springframework.data.jpa.repository.query
-
Deprecated.internal utility class.
- Jsr310JpaConverters - Class in org.springframework.data.jpa.convert.threeten
-
JPA 2.1 converters to turn JSR-310 types into legacy
Dates. - Jsr310JpaConverters() - Constructor for class org.springframework.data.jpa.convert.threeten.Jsr310JpaConverters
- Jsr310JpaConverters.InstantConverter - Class in org.springframework.data.jpa.convert.threeten
- Jsr310JpaConverters.LocalDateConverter - Class in org.springframework.data.jpa.convert.threeten
- Jsr310JpaConverters.LocalDateTimeConverter - Class in org.springframework.data.jpa.convert.threeten
- Jsr310JpaConverters.LocalTimeConverter - Class in org.springframework.data.jpa.convert.threeten
- Jsr310JpaConverters.ZoneIdConverter - Class in org.springframework.data.jpa.convert.threeten
K
- keySet() - Method in class org.springframework.data.jpa.util.TupleBackedMap
- KeysetScrollDelegate - Class in org.springframework.data.jpa.repository.query
-
Delegate for keyset scrolling.
- KeysetScrollDelegate() - Constructor for class org.springframework.data.jpa.repository.query.KeysetScrollDelegate
- KeysetScrollDelegate.QueryStrategy<E,
P> - Interface in org.springframework.data.jpa.repository.query -
Adapter to construct scroll queries.
- KeysetScrollSpecification<T> - Record Class in org.springframework.data.jpa.repository.query
-
Specificationto create scroll queries using keyset-scrolling. - KeysetScrollSpecification(KeysetScrollPosition, Sort, JpaEntityInformation<?, ?>) - Constructor for record class org.springframework.data.jpa.repository.query.KeysetScrollSpecification
-
Creates an instance of a
KeysetScrollSpecificationrecord class. - KeysetScrollSpecification.ParameterFactory - Interface in org.springframework.data.jpa.repository.query
L
- leftJoin(JpqlQueryBuilder.Origin, String) - Static method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder
-
Create a
LEFT JOIN. - like(String, String) - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.WhereStep
- like(JpqlQueryBuilder.Expression, String) - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.WhereStep
-
Create a
LIKE … ESCAPEpredicate. - limit(int) - Method in interface org.springframework.data.jpa.repository.JpaSpecificationExecutor.SpecificationFluentQuery
- literal(Number) - Static method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder
-
Create a simple numeric literal.
- literal(String) - Static method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder
-
Create a simple literal from a string by quoting it.
- LOAD - Enum constant in enum class org.springframework.data.jpa.repository.EntityGraph.EntityGraphType
-
When the jakarta.persistence.loadgraph property is used to specify an entity graph, attributes that are specified by attribute nodes of the entity graph are treated as FetchType.EAGER and attributes that are not specified are treated according to their specified or default FetchType.
- LocalDateConverter() - Constructor for class org.springframework.data.jpa.convert.threeten.Jsr310JpaConverters.LocalDateConverter
- LocalDateTimeConverter() - Constructor for class org.springframework.data.jpa.convert.threeten.Jsr310JpaConverters.LocalDateTimeConverter
- LocalTimeConverter() - Constructor for class org.springframework.data.jpa.convert.threeten.Jsr310JpaConverters.LocalTimeConverter
- Lock - Annotation Interface in org.springframework.data.jpa.repository
-
Annotation used to specify the
LockModeTypeto be used when executing the query. - LOWER - Static variable in class org.springframework.data.jpa.repository.support.JpqlQueryTemplates
- lt(JpqlQueryBuilder.Expression) - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.WhereStep
-
Create a less
< …predicate. - lte(JpqlQueryBuilder.Expression) - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.WhereStep
-
Create a less-or-equals
<= …predicate.
M
- memberOf(JpqlQueryBuilder.Expression) - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.WhereStep
-
Create a
MEMBER OF <collection>predicate. - MergingPersistenceUnitManager - Class in org.springframework.data.jpa.support
-
Extends
DefaultPersistenceUnitManagerto merge configurations of one persistence unit residing in multiplepersistence.xmlfiles into one. - MergingPersistenceUnitManager() - Constructor for class org.springframework.data.jpa.support.MergingPersistenceUnitManager
- Meta - Class in org.springframework.data.jpa.repository.query
-
Value object to hold metadata about repository methods.
- Meta - Annotation Interface in org.springframework.data.jpa.repository
-
Annotation to assign metadata to repository operations.
- Meta() - Constructor for class org.springframework.data.jpa.repository.query.Meta
- MethodInvocationArgument(ParameterBinding.BindingIdentifier) - Constructor for record class org.springframework.data.jpa.repository.query.ParameterBinding.MethodInvocationArgument
-
Creates an instance of a
MethodInvocationArgumentrecord class. - Modifying - Annotation Interface in org.springframework.data.jpa.repository
-
Indicates a query method should be considered as modifying query as that changes the way it needs to be executed.
- modifyOnCreate() - Element in annotation interface org.springframework.data.jpa.repository.config.EnableJpaAuditing
-
Configures whether the entity shall be marked as modified on creation.
- MutableQueryHints - Class in org.springframework.data.jpa.repository.support
-
Mutable implementation of
QueryHints, without the Option to switch betweenMutableQueryHints.forCounts()/MutableQueryHints.withFetchGraphs(EntityManager)hints. - MutableQueryHints() - Constructor for class org.springframework.data.jpa.repository.support.MutableQueryHints
N
- name - Variable in class org.springframework.data.jpa.repository.support.QueryHintValue
- name() - Element in annotation interface org.springframework.data.jpa.repository.NativeQuery
-
The named query to be used.
- name() - Element in annotation interface org.springframework.data.jpa.repository.Query
-
The named query to be used.
- name() - Element in annotation interface org.springframework.data.jpa.repository.query.Procedure
-
The name of the procedure in the EntityManager - defaults to
"". - named(String) - Static method in record class org.springframework.data.jpa.repository.query.JpqlQueryBuilder.ParameterPlaceholder
-
Factory method to create a parameter placeholder using a parameter
name. - namedQueriesLocation() - Element in annotation interface org.springframework.data.envers.repository.config.EnableEnversRepositories
-
Configures the location of where to find the Spring Data named queries properties file.
- namedQueriesLocation() - Element in annotation interface org.springframework.data.jpa.repository.config.EnableJpaRepositories
-
Configures the location of where to find the Spring Data named queries properties file.
- nameGenerator() - Element in annotation interface org.springframework.data.envers.repository.config.EnableEnversRepositories
-
Configure a specific
BeanNameGeneratorto be used when creating the repositoy beans. - nameGenerator() - Element in annotation interface org.springframework.data.jpa.repository.config.EnableJpaRepositories
-
Configure a specific
BeanNameGeneratorto be used when creating the repository beans. - nativeQuery() - Element in annotation interface org.springframework.data.jpa.repository.Query
-
Configures whether the given query is a native one.
- nativeQuery(String) - Static method in interface org.springframework.data.jpa.repository.query.DeclaredQuery
-
Creates a DeclaredQuery for a native query.
- NativeQuery - Annotation Interface in org.springframework.data.jpa.repository
-
Annotation to declare native queries directly on repository query methods.
- neq(JpqlQueryBuilder.Expression) - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.WhereStep
-
Create a
<>(not equals) predicate. - nest() - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.Predicate
-
Wrap this predicate with parenthesis
(…)to nest it without affecting AND/OR concatenation precedence. - nested(JpqlQueryBuilder.Predicate) - Static method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder
-
Nest the given
JpqlQueryBuilder.Predicate. - next(Part) - Method in class org.springframework.data.jpa.repository.query.ParameterMetadataProvider
- next(Part, Class<T>) - Method in class org.springframework.data.jpa.repository.query.ParameterMetadataProvider
-
Builds a new
ParameterBinding.PartTreeParameterBindingof the givenPartand type. - nextSynthetic(Object, Object) - Method in class org.springframework.data.jpa.repository.query.ParameterMetadataProvider
-
Builds a new synthetic
ParameterBindingfor the given value. - not(DeleteSpecification<T>) - Static method in interface org.springframework.data.jpa.domain.DeleteSpecification
-
Negates the given
DeleteSpecification. - not(PredicateSpecification<T>) - Static method in interface org.springframework.data.jpa.domain.PredicateSpecification
-
Negates the given
PredicateSpecification. - not(Specification<T>) - Static method in interface org.springframework.data.jpa.domain.Specification
-
Negates the given
Specification. - not(UpdateSpecification<T>) - Static method in interface org.springframework.data.jpa.domain.UpdateSpecification
-
Negates the given
UpdateSpecification. - notIn(JpqlQueryBuilder.Expression) - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.WhereStep
-
Create a
NOT INpredicate. - notLike(JpqlQueryBuilder.Expression, String) - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.WhereStep
-
Create a
NOT LIKE … ESCAPEpredicate. - notMemberOf(JpqlQueryBuilder.Expression) - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.WhereStep
-
Create a
NOT MEMBER OF <collection>predicate.
O
- of(char) - Static method in class org.springframework.data.jpa.repository.query.EscapeCharacter
- of(int) - Static method in interface org.springframework.data.jpa.repository.query.ParameterBinding.BindingIdentifier
-
Creates an identifier for the given
position. - of(Attribute<?, ?>...) - Static method in class org.springframework.data.jpa.domain.JpaSort
-
Creates a new
JpaSortfor the given attributes with the default sort direction. - of(Metamodel) - Static method in class org.springframework.data.jpa.util.JpaMetamodel
- of(String) - Static method in interface org.springframework.data.jpa.repository.query.ParameterBinding.BindingIdentifier
-
Creates an identifier for the given
name. - of(String, int) - Static method in interface org.springframework.data.jpa.repository.query.ParameterBinding.BindingIdentifier
-
Creates an identifier for the given
nameandposition. - of(String, Function<String, String>) - Static method in class org.springframework.data.jpa.repository.support.JpqlQueryTemplates
- of(ScrollPosition.Direction) - Static method in class org.springframework.data.jpa.repository.query.KeysetScrollDelegate
-
Factory method to obtain the right
KeysetScrollDelegate. - of(Sort.Direction, Attribute<?, ?>...) - Static method in class org.springframework.data.jpa.domain.JpaSort
-
Creates a new
JpaSortfor the given direction and attributes. - of(Sort.Direction, JpaSort.Path<?, ?>...) - Static method in class org.springframework.data.jpa.domain.JpaSort
-
Creates a new
JpaSortfor the given direction andJpaSort.Paths. - of(JpaSort.Path<?, ?>...) - Static method in class org.springframework.data.jpa.domain.JpaSort
-
Creates a new
JpaSortinstance with the givenJpaSort.Paths. - of(EscapeCharacter) - Static method in class org.springframework.data.jpa.repository.support.JpaEvaluationContextExtension.JpaRootObject
- ofExpression(ValueExpression) - Static method in interface org.springframework.data.jpa.repository.query.ParameterBinding.ParameterOrigin
-
Creates a
ParameterBinding.Expressionfor the givenexpression. - ofParameter(int) - Static method in interface org.springframework.data.jpa.repository.query.ParameterBinding.ParameterOrigin
-
Creates a
ParameterBinding.MethodInvocationArgumentobject forposition. - ofParameter(String, Integer) - Static method in interface org.springframework.data.jpa.repository.query.ParameterBinding.ParameterOrigin
- ofParameter(String) - Static method in interface org.springframework.data.jpa.repository.query.ParameterBinding.ParameterOrigin
-
Creates a
ParameterBinding.MethodInvocationArgumentobject forname - ofParameter(ParameterBinding.BindingIdentifier) - Static method in interface org.springframework.data.jpa.repository.query.ParameterBinding.ParameterOrigin
- ofParameter(Parameter) - Static method in interface org.springframework.data.jpa.repository.query.ParameterBinding.ParameterOrigin
-
Creates a
ParameterBinding.MethodInvocationArgumentobject forposition. - or(List<JpqlQueryBuilder.Predicate>) - Static method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder
- or(List<P>) - Method in interface org.springframework.data.jpa.repository.query.KeysetScrollDelegate.QueryStrategy
-
OR-combine the
intermediatepredicates. - or(DeleteSpecification<T>) - Method in interface org.springframework.data.jpa.domain.DeleteSpecification
-
ORs the given specification to the current one.
- or(PredicateSpecification<T>) - Method in interface org.springframework.data.jpa.domain.DeleteSpecification
-
ORs the given specification to the current one.
- or(PredicateSpecification<T>) - Method in interface org.springframework.data.jpa.domain.PredicateSpecification
-
ORs the given specification to the current one.
- or(PredicateSpecification<T>) - Method in interface org.springframework.data.jpa.domain.Specification
-
ORs the given specification to the current one.
- or(PredicateSpecification<T>) - Method in interface org.springframework.data.jpa.domain.UpdateSpecification
-
ORs the given specification to the current one.
- or(Specification<T>) - Method in interface org.springframework.data.jpa.domain.Specification
-
ORs the given specification to the current one.
- or(UpdateSpecification<T>) - Method in interface org.springframework.data.jpa.domain.UpdateSpecification
-
ORs the given specification to the current one.
- or(JpqlQueryBuilder.Predicate) - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.Predicate
-
OR-concatenate this predicate withother. - or(JpqlQueryBuilder.Predicate, JpqlQueryBuilder.Predicate) - Method in class org.springframework.data.jpa.repository.query.JpaQueryCreator
- orderBy(JpqlQueryBuilder.Expression) - Method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder.Select
-
Append an order-by expression to this select.
- orderBy(JpqlQueryBuilder.Expression, Sort.Order) - Static method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder
-
Create a new ordering expression.
- org.springframework.data.envers.repository.config - package org.springframework.data.envers.repository.config
-
Classes for Envers Repositories configuration support.
- org.springframework.data.envers.repository.support - package org.springframework.data.envers.repository.support
-
Spring Data JPA specific converter infrastructure.
- org.springframework.data.jpa.convert - package org.springframework.data.jpa.convert
-
Spring Data JPA specific converter infrastructure.
- org.springframework.data.jpa.convert.threeten - package org.springframework.data.jpa.convert.threeten
-
Spring Data JPA specific JSR-310 converters.
- org.springframework.data.jpa.domain - package org.springframework.data.jpa.domain
-
JPA specific support classes to implement domain classes.
- org.springframework.data.jpa.domain.support - package org.springframework.data.jpa.domain.support
-
Implementation classes for auditing with JPA.
- org.springframework.data.jpa.mapping - package org.springframework.data.jpa.mapping
-
JPA specific support classes for the Spring Data mapping subsystem.
- org.springframework.data.jpa.projection - package org.springframework.data.jpa.projection
-
JPA specific support projection support.
- org.springframework.data.jpa.provider - package org.springframework.data.jpa.provider
-
JPA provider-specific utilities.
- org.springframework.data.jpa.repository - package org.springframework.data.jpa.repository
-
Interfaces and annotations for JPA specific repositories.
- org.springframework.data.jpa.repository.aot - package org.springframework.data.jpa.repository.aot
-
Ahead-of-Time (AOT) generation for Spring Data JPA repositories.
- org.springframework.data.jpa.repository.cdi - package org.springframework.data.jpa.repository.cdi
-
CDI support for Spring Data JPA Repositories.
- org.springframework.data.jpa.repository.config - package org.springframework.data.jpa.repository.config
-
Classes for JPA namespace configuration.
- org.springframework.data.jpa.repository.query - package org.springframework.data.jpa.repository.query
-
Query implementation to execute queries against JPA.
- org.springframework.data.jpa.repository.support - package org.springframework.data.jpa.repository.support
-
JPA repository implementations.
- org.springframework.data.jpa.support - package org.springframework.data.jpa.support
-
Various helper classes useful when working with JPA.
- org.springframework.data.jpa.util - package org.springframework.data.jpa.util
-
Spring Data JPA utilities.
- outputParameterName() - Element in annotation interface org.springframework.data.jpa.repository.query.Procedure
-
The name of the outputParameter, defaults to
"".
P
- page(Pageable, PredicateSpecification<?>) - Method in interface org.springframework.data.jpa.repository.JpaSpecificationExecutor.SpecificationFluentQuery
-
Get a page of matching elements for
Pageableand provide a customcount specification. - page(Pageable, Specification<?>) - Method in interface org.springframework.data.jpa.repository.JpaSpecificationExecutor.SpecificationFluentQuery
-
Get a page of matching elements for
Pageableand provide a customcount specification. - PageableUtils - Class in org.springframework.data.jpa.support
-
Provide a set of utility methods to support
Pageables. - parameter(String) - Static method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder
-
A parameter placeholder.
- parameter(JpqlQueryBuilder.ParameterPlaceholder) - Static method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder
-
A parameter placeholder.
- ParameterBinding - Class in org.springframework.data.jpa.repository.query
-
A generic parameter binding with name or position information.
- ParameterBinding.BindingIdentifier - Interface in org.springframework.data.jpa.repository.query
-
Identifies a binding parameter by name, position or both.
- ParameterBinding.Expression - Record Class in org.springframework.data.jpa.repository.query
-
Value object capturing the expression of which a binding parameter originates.
- ParameterBinding.MethodInvocationArgument - Record Class in org.springframework.data.jpa.repository.query
-
Value object capturing the method invocation parameter reference.
- ParameterBinding.ParameterOrigin - Interface in org.springframework.data.jpa.repository.query
-
Value type hierarchy to describe where a binding parameter comes from, either method call or an expression.
- ParameterBinding.Synthetic - Record Class in org.springframework.data.jpa.repository.query
-
Value object capturing the expression of which a binding parameter originates.
- ParameterMetadata(Class<?>, Part, Object, EscapeCharacter, int, JpqlQueryTemplates) - Constructor for class org.springframework.data.jpa.repository.query.ParameterMetadataProvider.ParameterMetadata
-
Creates a new
ParameterMetadataProvider.ParameterMetadata. - ParameterMetadataProvider - Class in org.springframework.data.jpa.repository.query
-
Helper class to allow easy creation of
ParameterMetadataProvider.ParameterMetadatas. - ParameterMetadataProvider(JpaParametersParameterAccessor, EscapeCharacter, JpqlQueryTemplates) - Constructor for class org.springframework.data.jpa.repository.query.ParameterMetadataProvider
-
Creates a new
ParameterMetadataProviderfrom the givenCriteriaBuilderandParametersParameterAccessor. - ParameterMetadataProvider(JpaParameters, EscapeCharacter, JpqlQueryTemplates) - Constructor for class org.springframework.data.jpa.repository.query.ParameterMetadataProvider
-
Creates a new
ParameterMetadataProviderfrom the givenCriteriaBuilderandParameterswith support for parameter value customizations viaPersistenceProvider. - ParameterMetadataProvider.ParameterMetadata - Class in org.springframework.data.jpa.repository.query
- ParameterPlaceholder(String) - Constructor for record class org.springframework.data.jpa.repository.query.JpqlQueryBuilder.ParameterPlaceholder
-
Creates an instance of a
ParameterPlaceholderrecord class. - parse(DeclaredQuery) - Static method in class org.springframework.data.jpa.repository.query.PreprocessedQuery
-
Parse a
queryinto its parametrized form by identifying anonymous, named, indexed and SpEL parameters. - parse(Element, ParserContext) - Method in class org.springframework.data.jpa.repository.config.AuditingBeanDefinitionParser
- PartTreeJpaQuery - Class in org.springframework.data.jpa.repository.query
-
A
AbstractJpaQueryimplementation based on aPartTree. - path() - Method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder.Join
- path(A) - Static method in class org.springframework.data.jpa.domain.JpaSort
-
Creates a new
JpaSort.Pathfor the givenAttribute. - path(P) - Static method in class org.springframework.data.jpa.domain.JpaSort
-
Creates a new
JpaSort.Pathfor the givenPluralAttribute. - PersistenceProvider - Enum Class in org.springframework.data.jpa.provider
-
Enumeration representing persistence providers to be used.
- placeholder() - Method in record class org.springframework.data.jpa.repository.query.JpqlQueryBuilder.ParameterPlaceholder
-
Returns the value of the
placeholderrecord component. - position() - Method in record class org.springframework.data.jpa.repository.query.KeysetScrollSpecification
-
Returns the value of the
positionrecord component. - postProcess(BeanDefinitionBuilder, AnnotationRepositoryConfigurationSource) - Method in class org.springframework.data.jpa.repository.config.JpaRepositoryConfigExtension
- postProcess(BeanDefinitionBuilder, RepositoryConfigurationSource) - Method in class org.springframework.data.jpa.repository.config.JpaRepositoryConfigExtension
- postProcess(BeanDefinitionBuilder, XmlRepositoryConfigurationSource) - Method in class org.springframework.data.jpa.repository.config.JpaRepositoryConfigExtension
- postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in class org.springframework.data.jpa.domain.support.AuditingBeanFactoryPostProcessor
- postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in class org.springframework.data.jpa.repository.support.EntityManagerBeanDefinitionRegistrarPostProcessor
- postProcessPersistenceUnitInfo(MutablePersistenceUnitInfo) - Method in class org.springframework.data.jpa.support.ClasspathScanningPersistenceUnitPostProcessor
- postProcessPersistenceUnitInfo(MutablePersistenceUnitInfo) - Method in class org.springframework.data.jpa.support.MergingPersistenceUnitManager
- postProcessResults(List<T>) - Method in class org.springframework.data.jpa.repository.query.KeysetScrollDelegate
- potentiallyUnwrap(Object) - Method in class org.springframework.data.jpa.repository.query.JpaParametersParameterAccessor
-
Apply potential unwrapping to
parameterValue. - PredicateSpecification<T> - Interface in org.springframework.data.jpa.domain
-
Specification in the sense of Domain Driven Design.
- prefixWithAlias(JpqlQueryBuilder.Origin, String) - Method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder.RenderContext
-
Prefix
fragmentwith the alias forJpqlQueryBuilder.Origin. - prepare(Object) - Method in class org.springframework.data.jpa.repository.query.ParameterBinding
- prepare(Object) - Method in class org.springframework.data.jpa.repository.query.ParameterMetadataProvider.ParameterMetadata
-
Prepares the object before it's actually bound to the {@link jakarta.persistence.Query;}.
- PreprocessedQuery - Class in org.springframework.data.jpa.repository.query
-
A pre-parsed query implementing
DeclaredQueryproviding information about parameter bindings. - Procedure - Annotation Interface in org.springframework.data.jpa.repository.query
-
Annotation to declare JPA 2.1 stored procedure mappings directly on repository methods.
- procedureName() - Element in annotation interface org.springframework.data.jpa.repository.query.Procedure
-
The name of the procedure in the database, defaults to
"". - project(String...) - Method in interface org.springframework.data.jpa.repository.JpaSpecificationExecutor.SpecificationFluentQuery
- project(Collection<String>) - Method in interface org.springframework.data.jpa.repository.JpaSpecificationExecutor.SpecificationFluentQuery
- ProxyIdAccessor - Interface in org.springframework.data.jpa.provider
-
Interface for a persistence provider specific accessor of identifiers held in proxies.
- put(String, Object) - Method in class org.springframework.data.jpa.util.TupleBackedMap
- putAll(Map<? extends String, ?>) - Method in class org.springframework.data.jpa.util.TupleBackedMap
Q
- Query - Annotation Interface in org.springframework.data.jpa.repository
-
Annotation to declare finder queries directly on repository query methods.
- QueryByExamplePredicateBuilder - Class in org.springframework.data.jpa.convert
-
QueryByExamplePredicateBuildercreates a singleCriteriaBuilder.and(Predicate...)combinedPredicatefor a givenExample. - QueryByExamplePredicateBuilder() - Constructor for class org.springframework.data.jpa.convert.QueryByExamplePredicateBuilder
- QueryComment - Interface in org.springframework.data.jpa.provider
-
Interface to hide different implementations of query hints that insert comments into a
Query. - Querydsl - Class in org.springframework.data.jpa.repository.support
-
Helper instance to ease access to Querydsl JPA query API.
- Querydsl(EntityManager, PathBuilder<?>) - Constructor for class org.springframework.data.jpa.repository.support.Querydsl
- QuerydslJpaPredicateExecutor<T> - Class in org.springframework.data.jpa.repository.support
-
Querydsl specific fragment for extending
SimpleJpaRepositorywith an implementation ofQuerydslPredicateExecutor. - QuerydslJpaPredicateExecutor(JpaEntityInformation<T, ?>, EntityManager, EntityPathResolver, CrudMethodMetadata) - Constructor for class org.springframework.data.jpa.repository.support.QuerydslJpaPredicateExecutor
-
Creates a new
QuerydslJpaPredicateExecutorfrom the given domain class andEntityManagerand uses the givenEntityPathResolverto translate the domain class into anEntityPath. - QuerydslRepositorySupport - Class in org.springframework.data.jpa.repository.support
-
Base class for implementing repositories using Querydsl library.
- QuerydslRepositorySupport(Class<?>) - Constructor for class org.springframework.data.jpa.repository.support.QuerydslRepositorySupport
-
Creates a new
QuerydslRepositorySupportinstance for the given domain type. - QueryEnhancer - Interface in org.springframework.data.jpa.repository.query
-
This interface describes the API for enhancing a given Query.
- QueryEnhancer.QueryRewriteInformation - Interface in org.springframework.data.jpa.repository.query
-
Interface to describe the information needed to rewrite a query.
- QueryEnhancerFactories - Class in org.springframework.data.jpa.repository.query
-
Pre-defined QueryEnhancerFactories to be used for query enhancement.
- QueryEnhancerFactories() - Constructor for class org.springframework.data.jpa.repository.query.QueryEnhancerFactories
- QueryEnhancerFactory - Interface in org.springframework.data.jpa.repository.query
-
Encapsulates different strategies for the creation of a
QueryEnhancerfrom aParametrizedQuery. - queryEnhancerSelector() - Element in annotation interface org.springframework.data.jpa.repository.config.EnableJpaRepositories
-
Configures the
QueryEnhancerSelectorto select a query enhancer for query introspection and transformation. - QueryEnhancerSelector - Interface in org.springframework.data.jpa.repository.query
-
Interface declaring a strategy to select a
QueryEnhancerfor a givenquery. - QueryEnhancerSelector.DefaultQueryEnhancerSelector - Class in org.springframework.data.jpa.repository.query
-
Default
QueryEnhancerSelectorimplementation using class-path information to determine enhancer availability. - QueryExtractor - Interface in org.springframework.data.jpa.provider
-
Interface to hide different implementations to extract the original JPA query string from a
Query. - QueryHints - Interface in org.springframework.data.jpa.repository.support
-
QueryHints provides access to query hints defined via
CrudMethodMetadata.getQueryHints()QueryHintList()} by default excluding JPAEntityGraph. - QueryHints - Annotation Interface in org.springframework.data.jpa.repository
-
Wrapper annotation to allow
QueryHintannotations to be bound to methods. - QueryHints.NoHints - Enum Class in org.springframework.data.jpa.repository.support
-
Null object implementation of
QueryHints. - QueryHintValue - Class in org.springframework.data.jpa.repository.support
-
Value object carrying a query hint consisting of a name/key and a value.
- QueryHintValue(String, Object) - Constructor for class org.springframework.data.jpa.repository.support.QueryHintValue
- queryLookupStrategy() - Element in annotation interface org.springframework.data.envers.repository.config.EnableEnversRepositories
-
Returns the key of the
QueryLookupStrategyto be used for lookup queries for query methods. - queryLookupStrategy() - Element in annotation interface org.springframework.data.jpa.repository.config.EnableJpaRepositories
-
Returns the key of the
QueryLookupStrategyto be used for lookup queries for query methods. - QueryProvider - Interface in org.springframework.data.jpa.repository.query
-
Interface indicating an object that contains and exposes an
query string. - queryRewriter() - Element in annotation interface org.springframework.data.jpa.repository.NativeQuery
-
Define a
QueryRewriterthat should be applied to the query string after the query is fully assembled. - queryRewriter() - Element in annotation interface org.springframework.data.jpa.repository.Query
-
Define a
QueryRewriterthat should be applied to the query string after the query is fully assembled. - QueryRewriter - Interface in org.springframework.data.jpa.repository
-
Callback to rewrite a query and apply sorting and pagination settings that cannot be applied based on a regularly detectable scheme.
- QueryRewriter.IdentityQueryRewriter - Enum Class in org.springframework.data.jpa.repository
-
A
QueryRewriterthat doesn't change the query. - QueryRewriterProvider - Interface in org.springframework.data.jpa.repository.query
-
Provide a
QueryRewriterbased upon theJpaQueryMethod. - QueryUtils - Class in org.springframework.data.jpa.repository.query
-
Simple utility class to create JPA queries using the default implementation of a custom parser.
R
- readPage(TypedQuery<S>, Class<S>, Pageable, Specification<S>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- readPage(TypedQuery<T>, Pageable, Specification<T>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
-
Deprecated.
- refCursor() - Element in annotation interface org.springframework.data.jpa.repository.query.Procedure
-
Whether the procedure returns a Ref Cursor from the database - defaults to
false. - ReflectionRevisionEntityInformation - Class in org.springframework.data.envers.repository.support
-
RevisionEntityInformationthat uses reflection to inspect a property annotated withRevisionNumberto find out about the revision number type. - ReflectionRevisionEntityInformation(Class<?>) - Constructor for class org.springframework.data.envers.repository.support.ReflectionRevisionEntityInformation
-
Creates a new
ReflectionRevisionEntityInformationinspecting the given revision entity class. - registerBeansForRoot(BeanDefinitionRegistry, RepositoryConfigurationSource) - Method in class org.springframework.data.jpa.repository.config.JpaRepositoryConfigExtension
- registerMethodInvokerFactory(MethodInterceptorFactory) - Method in class org.springframework.data.jpa.projection.CollectionAwareProjectionFactory
- remove(Object) - Method in class org.springframework.data.jpa.util.TupleBackedMap
- render(JpqlQueryBuilder.RenderContext) - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.Expression
-
Render the expression given
JpqlQueryBuilder.RenderContext. - render(JpqlQueryBuilder.RenderContext) - Method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder.Join
- render(JpqlQueryBuilder.RenderContext) - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.Predicate
-
Render the predicate given
JpqlQueryBuilder.RenderContext. - repositoryBaseClass() - Element in annotation interface org.springframework.data.envers.repository.config.EnableEnversRepositories
-
Configure the repository base class to be used to create repository proxies for this particular configuration.
- repositoryBaseClass() - Element in annotation interface org.springframework.data.jpa.repository.config.EnableJpaRepositories
-
Configure the repository base class to be used to create repository proxies for this particular configuration.
- repositoryFactoryBeanClass() - Element in annotation interface org.springframework.data.envers.repository.config.EnableEnversRepositories
-
Returns the
FactoryBeanclass to be used for each repository instance. - repositoryFactoryBeanClass() - Element in annotation interface org.springframework.data.jpa.repository.config.EnableJpaRepositories
-
Returns the
FactoryBeanclass to be used for each repository instance. - repositoryImplementationPostfix() - Element in annotation interface org.springframework.data.envers.repository.config.EnableEnversRepositories
-
Returns the postfix to be used when looking up custom repository implementations.
- repositoryImplementationPostfix() - Element in annotation interface org.springframework.data.jpa.repository.config.EnableJpaRepositories
-
Returns the postfix to be used when looking up custom repository implementations.
- rewrite(String) - Method in interface org.springframework.data.jpa.repository.query.DeclaredQuery
-
Rewrite a query string using a new query string retaining its source and
nativeflag. - rewrite(String) - Method in class org.springframework.data.jpa.repository.query.PreprocessedQuery
-
Derive a query (typically a count query) from the given query string.
- rewrite(String, Pageable) - Method in class org.springframework.data.jpa.repository.query.DelegatingQueryRewriter
- rewrite(String, Pageable) - Method in interface org.springframework.data.jpa.repository.QueryRewriter
-
Rewrite the assembled query with the given
Pageable. - rewrite(String, Sort) - Method in class org.springframework.data.jpa.repository.query.DelegatingQueryRewriter
- rewrite(String, Sort) - Method in enum class org.springframework.data.jpa.repository.QueryRewriter.IdentityQueryRewriter
- rewrite(String, Sort) - Method in interface org.springframework.data.jpa.repository.QueryRewriter
-
Rewrite the assembled query with the given
Sort. - rewrite(QueryEnhancer.QueryRewriteInformation) - Method in interface org.springframework.data.jpa.repository.query.EntityQuery
-
Rewrite the query using the given
QueryEnhancer.QueryRewriteInformationinto a sorted query or using a different projection. - rewrite(QueryEnhancer.QueryRewriteInformation) - Method in class org.springframework.data.jpa.repository.query.JSqlParserQueryEnhancer
- rewrite(QueryEnhancer.QueryRewriteInformation) - Method in interface org.springframework.data.jpa.repository.query.QueryEnhancer
-
Rewrite the query to include sorting and apply
ReturnedTypecustomizations. - rewriteQuery(DeclaredQuery, Sort, Class<?>) - Method in class org.springframework.data.jpa.repository.aot.AotRepositoryFragmentSupport
S
- save(S) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- saveAll(Iterable<S>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- saveAllAndFlush(Iterable<S>) - Method in interface org.springframework.data.jpa.repository.JpaRepository
-
Saves all entities and flushes changes instantly.
- saveAllAndFlush(Iterable<S>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- saveAndFlush(S) - Method in interface org.springframework.data.jpa.repository.JpaRepository
-
Saves an entity and flushes changes instantly.
- saveAndFlush(S) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- scroll(Query, Sort, ScrollPosition) - Method in class org.springframework.data.jpa.repository.query.ScrollDelegate
-
Run the
Queryand return a scrollWindow. - ScrollDelegate<T> - Class in org.springframework.data.jpa.repository.query
-
Delegate to run
scroll queriesand create resultWindow. - ScrollDelegate(JpaEntityInformation<T, ?>) - Constructor for class org.springframework.data.jpa.repository.query.ScrollDelegate
- select(Collection<JpqlQueryBuilder.PathExpression>) - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.SelectStep
-
Specify a multi-select.
- select(DeclaredQuery) - Method in class org.springframework.data.jpa.repository.query.QueryEnhancerSelector.DefaultQueryEnhancerSelector
- select(DeclaredQuery) - Method in interface org.springframework.data.jpa.repository.query.QueryEnhancerSelector
-
Select a
QueryEnhancerfor aquery. - select(JpqlQueryBuilder.PathExpression) - Method in interface org.springframework.data.jpa.repository.query.JpqlQueryBuilder.SelectStep
-
Select a single attribute.
- selectFrom(Class<?>) - Static method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder
-
Start building a
JpqlQueryBuilder.Selectstatement by selectingfrom. - selectFrom(JpqlQueryBuilder.Entity) - Static method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder
-
Start building a
JpqlQueryBuilder.Selectstatement by selectingfrom. - setApplicationContext(ApplicationContext) - Method in class org.springframework.data.jpa.repository.config.JpaMetamodelMappingContextFactoryBean
- setAuditingHandler(ObjectFactory<AuditingHandler>) - Method in class org.springframework.data.jpa.domain.support.AuditingEntityListener
-
Configures the
AuditingHandlerto be used to set the current auditor on the domain types touched. - setBeanClassLoader(ClassLoader) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactory
- setBeanClassLoader(ClassLoader) - Method in class org.springframework.data.jpa.projection.CollectionAwareProjectionFactory
- setBeanFactory(BeanFactory) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactory
-
If a
BeanFactoryis being set, this is clearly in a Spring context, and so we can capture theQueryRewriterProviderbeing aBeanFactoryQueryRewriterProvider. - setBeanFactory(BeanFactory) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean
- setComment(String) - Method in class org.springframework.data.jpa.repository.query.Meta
-
Add a comment to the query that is propagated to the profile log.
- setCreatedBy(U) - Method in class org.springframework.data.jpa.domain.AbstractAuditable
- setCreatedDate(LocalDateTime) - Method in class org.springframework.data.jpa.domain.AbstractAuditable
- setDates() - Element in annotation interface org.springframework.data.jpa.repository.config.EnableJpaAuditing
-
Configures whether the creation and modification dates are set.
- setEntityManager(EntityManager) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean
-
The
EntityManagerto be used. - setEntityManager(EntityManager) - Method in class org.springframework.data.jpa.repository.support.QuerydslRepositorySupport
-
Setter to inject
EntityManager. - setEntityPathResolver(ObjectProvider<EntityPathResolver>) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean
-
Configures the
EntityPathResolverto be used. - setEntityPathResolver(EntityPathResolver) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactory
-
Configures the
EntityPathResolverto be used. - setEnvironment(Environment) - Method in class org.springframework.data.jpa.support.ClasspathScanningPersistenceUnitPostProcessor
- setEscapeCharacter(char) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean
- setEscapeCharacter(EscapeCharacter) - Method in interface org.springframework.data.jpa.repository.support.JpaRepositoryConfigurationAware
-
Configures the
EscapeCharacterto be used with the repository. - setEscapeCharacter(EscapeCharacter) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactory
-
Configures the escape character to be used for like-expressions created for derived queries.
- setEscapeCharacter(EscapeCharacter) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- setId(PK) - Method in class org.springframework.data.jpa.domain.AbstractPersistable
-
Sets the id of the entity.
- setLastModifiedBy(U) - Method in class org.springframework.data.jpa.domain.AbstractAuditable
- setLastModifiedDate(LocalDateTime) - Method in class org.springframework.data.jpa.domain.AbstractAuditable
- setMappingContext(MappingContext<?, ?>) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean
- setMappingFileNamePattern(String) - Method in class org.springframework.data.jpa.support.ClasspathScanningPersistenceUnitPostProcessor
-
Configures the file name pattern JPA entity mapping files shall scanned from the classpath.
- setProjectionFactory(ProjectionFactory) - Method in interface org.springframework.data.jpa.repository.support.JpaRepositoryConfigurationAware
-
Configures the
ProjectionFactoryto be used with the repository. - setProjectionFactory(ProjectionFactory) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaPredicateExecutor
- setProjectionFactory(ProjectionFactory) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- setQueryEnhancerSelector(Class<? extends QueryEnhancerSelector>) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean
-
Configures the
QueryEnhancerSelectorto be used. - setQueryEnhancerSelector(QueryEnhancerSelector) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactory
-
Configures the
QueryEnhancerSelectorto be used. - setQueryEnhancerSelectorSource(QueryEnhancerSelector) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean
-
Configures the
QueryEnhancerSelectorto be used. - setQueryMethodFactory(ObjectProvider<JpaQueryMethodFactory>) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean
-
Configures the
JpaQueryMethodFactoryto be used. - setQueryMethodFactory(JpaQueryMethodFactory) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactory
-
Configures the
JpaQueryMethodFactoryto be used. - setQueryRewriterProvider(QueryRewriterProvider) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactory
-
Configures the
QueryRewriterProviderto be used. - setRepositoryMethodMetadata(CrudMethodMetadata) - Method in interface org.springframework.data.jpa.repository.support.JpaRepositoryConfigurationAware
-
Configures the
CrudMethodMetadatato be used with the repository. - setRepositoryMethodMetadata(CrudMethodMetadata) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaPredicateExecutor
- setRepositoryMethodMetadata(CrudMethodMetadata) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
-
Configures a custom
CrudMethodMetadatato be used to detectLockModeTypes and query hints to be applied to queries. - setResourceLoader(ResourceLoader) - Method in class org.springframework.data.jpa.support.ClasspathScanningPersistenceUnitPostProcessor
- setRevisionEntityClass(Class<?>) - Method in class org.springframework.data.envers.repository.support.EnversRevisionRepositoryFactoryBean
-
Configures the revision entity class.
- shouldCreatePersistentEntityFor(TypeInformation<?>) - Method in class org.springframework.data.jpa.mapping.JpaMetamodelMappingContext
- shouldUseAccessorFor(Object) - Method in interface org.springframework.data.jpa.provider.ProxyIdAccessor
-
Returns whether the
ProxyIdAccessorshould be used for the given entity. - simple() - Static method in interface org.springframework.data.jpa.repository.query.QueryRewriterProvider
-
Return a simple
QueryRewriterProviderthat usesBeanUtils.instantiateClass(Class)to obtain aQueryRewriterinstance. - SimpleJpaRepository<T,
ID> - Class in org.springframework.data.jpa.repository.support -
Default implementation of the
CrudRepositoryinterface. - SimpleJpaRepository(Class<T>, EntityManager) - Constructor for class org.springframework.data.jpa.repository.support.SimpleJpaRepository
-
Creates a new
SimpleJpaRepositoryto manage objects of the given domain type. - SimpleJpaRepository(JpaEntityInformation<T, ?>, EntityManager) - Constructor for class org.springframework.data.jpa.repository.support.SimpleJpaRepository
-
Creates a new
SimpleJpaRepositoryto manage objects of the givenJpaEntityInformation. - size() - Method in class org.springframework.data.jpa.util.TupleBackedMap
- sort() - Method in record class org.springframework.data.jpa.repository.query.KeysetScrollSpecification
-
Returns the value of the
sortrecord component. - sortBy(Sort) - Method in interface org.springframework.data.jpa.repository.JpaSpecificationExecutor.SpecificationFluentQuery
- source() - Method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder.Join
- source() - Method in record class org.springframework.data.jpa.repository.query.ParameterBinding.Synthetic
-
Returns the value of the
sourcerecord component. - Specification<T> - Interface in org.springframework.data.jpa.domain
-
Specification in the sense of Domain Driven Design.
- sqlResultSetMapping() - Element in annotation interface org.springframework.data.jpa.repository.NativeQuery
-
Name of the
@SqlResultSetMapping(name)to apply for this query. - supports(DeclaredQuery) - Method in interface org.springframework.data.jpa.repository.query.QueryEnhancerFactory
-
Returns whether this QueryEnhancerFactory supports the given
DeclaredQuery. - synthetic(Object, Object) - Static method in interface org.springframework.data.jpa.repository.query.ParameterBinding.ParameterOrigin
-
Creates a
ParameterBinding.Expressionfor the givenexpressionstring. - Synthetic(Object, Object) - Constructor for record class org.springframework.data.jpa.repository.query.ParameterBinding.Synthetic
-
Creates an instance of a
Syntheticrecord class.
T
- Temporal - Annotation Interface in org.springframework.data.jpa.repository
-
Deprecated, for removal: This API element is subject to removal in a future version.since 4.0. Please use java.time types instead.
- toExpressionRecursively(From<?, ?>, PropertyPath, boolean) - Static method in class org.springframework.data.jpa.repository.query.QueryUtils
- toOrders(Sort, From<?, ?>, CriteriaBuilder) - Static method in class org.springframework.data.jpa.repository.query.QueryUtils
-
Turns the given
SortintoOrders. - toPredicate(Root<T>, CriteriaQuery<?>, CriteriaBuilder) - Method in record class org.springframework.data.jpa.repository.query.KeysetScrollSpecification
- toPredicate(Root<T>, CriteriaBuilder) - Method in interface org.springframework.data.jpa.domain.PredicateSpecification
-
Creates a WHERE clause for a query of the referenced entity in form of a
Predicatefor the givenRootandCriteriaBuilder. - toPredicate(Root<T>, CriteriaDelete<T>, CriteriaBuilder) - Method in interface org.springframework.data.jpa.domain.DeleteSpecification
-
Creates a WHERE clause for a query of the referenced entity in form of a
Predicatefor the givenRootandCriteriaDelete. - toPredicate(Root<T>, CriteriaQuery<?>, CriteriaBuilder) - Method in interface org.springframework.data.jpa.domain.Specification
-
Creates a WHERE clause for a query of the referenced entity in form of a
Predicatefor the givenRootandCriteriaUpdate. - toPredicate(Root<T>, CriteriaUpdate<T>, CriteriaBuilder) - Method in interface org.springframework.data.jpa.domain.UpdateSpecification
-
Creates a WHERE clause for a query of the referenced entity in form of a
Predicatefor the givenRootandCriteriaUpdate. - toString() - Method in class org.springframework.data.envers.repository.support.DefaultRevisionMetadata
- toString() - Method in class org.springframework.data.jpa.domain.AbstractPersistable
- toString() - Method in class org.springframework.data.jpa.domain.JpaSort.Path
- toString() - Method in class org.springframework.data.jpa.repository.query.EscapeCharacter
- toString() - Method in class org.springframework.data.jpa.repository.query.JpaEntityGraph
- toString() - Method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder.AbstractJpqlQuery
- toString() - Method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder.Entity
- toString() - Method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder.Join
- toString() - Method in record class org.springframework.data.jpa.repository.query.JpqlQueryBuilder.ParameterPlaceholder
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.data.jpa.repository.query.KeysetScrollSpecification
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.data.jpa.repository.query.ParameterBinding.Expression
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.data.jpa.repository.query.ParameterBinding.MethodInvocationArgument
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.data.jpa.repository.query.ParameterBinding.Synthetic
-
Returns a string representation of this record class.
- toString() - Method in class org.springframework.data.jpa.repository.query.ParameterBinding
- toString() - Method in class org.springframework.data.jpa.repository.query.PreprocessedQuery
- toString() - Method in class org.springframework.data.jpa.repository.support.QueryHintValue
- touchForCreate(Object) - Method in class org.springframework.data.jpa.domain.support.AuditingEntityListener
-
Sets modification and creation date and auditor on the target object in case it implements
Auditableon persist events. - touchForUpdate(Object) - Method in class org.springframework.data.jpa.domain.support.AuditingEntityListener
-
Sets modification and creation date and auditor on the target object in case it implements
Auditableon update events. - transactionManagerRef() - Element in annotation interface org.springframework.data.envers.repository.config.EnableEnversRepositories
-
Configures the name of the
PlatformTransactionManagerbean definition to be used to create repositories discovered through this annotation. - transactionManagerRef() - Element in annotation interface org.springframework.data.jpa.repository.config.EnableJpaRepositories
-
Configures the name of the
PlatformTransactionManagerbean definition to be used to create repositories discovered through this annotation. - TupleBackedMap - Class in org.springframework.data.jpa.util
-
A
Mapimplementation which delegates all calls to aTuple. - TupleBackedMap(Tuple) - Constructor for class org.springframework.data.jpa.util.TupleBackedMap
- TupleConverter(ReturnedType) - Constructor for class org.springframework.data.jpa.repository.query.AbstractJpaQuery.TupleConverter
-
Creates a new
AbstractJpaQuery.TupleConverterfor the givenReturnedType. - TupleConverter(ReturnedType, boolean) - Constructor for class org.springframework.data.jpa.repository.query.AbstractJpaQuery.TupleConverter
-
Creates a new
AbstractJpaQuery.TupleConverterfor the givenReturnedType. - type() - Element in annotation interface org.springframework.data.jpa.repository.EntityGraph
-
The
EntityGraph.EntityGraphTypeof the EntityGraph to use, defaults toEntityGraph.EntityGraphType.FETCH.
U
- underscoreAware(Tuple) - Static method in class org.springframework.data.jpa.util.TupleBackedMap
-
Creates a underscore-aware
Tuplewrapper applyingJdbcUtils.convertPropertyNameToUnderscoreName(java.lang.String)conversion to leniently look up properties from query results whose columns follow snake-case syntax. - unrestricted() - Static method in interface org.springframework.data.jpa.domain.DeleteSpecification
-
Simple static factory method to create a specification deleting all objects.
- unrestricted() - Static method in interface org.springframework.data.jpa.domain.PredicateSpecification
-
Simple static factory method to create a specification matching all objects.
- unrestricted() - Static method in interface org.springframework.data.jpa.domain.Specification
-
Simple static factory method to create a specification matching all objects.
- unrestricted() - Static method in interface org.springframework.data.jpa.domain.UpdateSpecification
-
Simple static factory method to create a specification updating all objects.
- unsafe(String...) - Static method in class org.springframework.data.jpa.domain.JpaSort
-
Creates new unsafe
JpaSortbased on given properties. - unsafe(Sort.Direction, String...) - Static method in class org.springframework.data.jpa.domain.JpaSort
-
Creates new unsafe
JpaSortbased on givenSort.Directionand properties. - unsafe(Sort.Direction, List<String>) - Static method in class org.springframework.data.jpa.domain.JpaSort
-
Creates new unsafe
JpaSortbased on givenSort.Directionand properties. - unwrapTypedParameterValue(Object) - Static method in enum class org.springframework.data.jpa.provider.PersistenceProvider
-
Because Hibernate's TypedParameterValue is only used to wrap a null, swap it out with
nullfor query creation. - update(EntityPath<?>) - Method in class org.springframework.data.jpa.repository.support.QuerydslRepositorySupport
-
Returns a fresh
UpdateClause. - update(UpdateSpecification.UpdateOperation<T>) - Static method in interface org.springframework.data.jpa.domain.UpdateSpecification
-
Simple static factory method to add some syntactic sugar around a UpdateOperation.
- update(UpdateSpecification<T>) - Method in interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
-
Updates entities by the
UpdateSpecificationand returns the number of rows updated. - update(UpdateSpecification<T>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- UpdateSpecification<T> - Interface in org.springframework.data.jpa.domain
-
Specification in the sense of Domain Driven Design to handle Criteria Updates.
- UpdateSpecification.UpdateOperation<T> - Interface in org.springframework.data.jpa.domain
-
Simplified extension to
UpdateSpecificationthat only considers theUPDATEpart without specifying a predicate. - UPPER - Static variable in class org.springframework.data.jpa.repository.support.JpqlQueryTemplates
- usesJdbcStyleParameters() - Method in interface org.springframework.data.jpa.repository.query.EntityQuery
-
Returns whether the query uses JDBC style parameters, i.e. parameters denoted by a simple ?
- usesPaging() - Method in interface org.springframework.data.jpa.repository.query.EntityQuery
- useTupleQuery() - Method in class org.springframework.data.jpa.repository.query.JpaQueryCreator
V
- validate() - Method in class org.springframework.data.jpa.repository.support.QuerydslRepositorySupport
-
Callback to verify configuration.
- value - Variable in class org.springframework.data.jpa.repository.support.QueryHintValue
- value() - Element in annotation interface org.springframework.data.envers.repository.config.EnableEnversRepositories
-
Alias for the
EnableEnversRepositories.basePackages()attribute. - value() - Element in annotation interface org.springframework.data.jpa.repository.config.EnableJpaRepositories
-
Alias for the
EnableJpaRepositories.basePackages()attribute. - value() - Element in annotation interface org.springframework.data.jpa.repository.EntityGraph
-
The name of the EntityGraph to use.
- value() - Element in annotation interface org.springframework.data.jpa.repository.Lock
-
The
LockModeTypeto be used when executing the annotated query or CRUD method. - value() - Element in annotation interface org.springframework.data.jpa.repository.NativeQuery
-
Defines the native query to be executed when the annotated method is called.
- value() - Method in record class org.springframework.data.jpa.repository.query.ParameterBinding.Synthetic
-
Returns the value of the
valuerecord component. - value() - Element in annotation interface org.springframework.data.jpa.repository.query.Procedure
-
The name of the procedure in the database, defaults to
"". - value() - Element in annotation interface org.springframework.data.jpa.repository.Query
-
Defines the JPA query to be executed when the annotated method is called.
- value() - Element in annotation interface org.springframework.data.jpa.repository.QueryHints
-
The
QueryHints to apply when the query will be executed. - value() - Element in annotation interface org.springframework.data.jpa.repository.Temporal
-
Deprecated.Defines the
TemporalTypeto use for the annotated parameter. - valueOf(String) - Static method in enum class org.springframework.data.jpa.provider.PersistenceProvider
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.jpa.repository.EntityGraph.EntityGraphType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.jpa.repository.QueryRewriter.IdentityQueryRewriter
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.jpa.repository.support.QueryHints.NoHints
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.springframework.data.jpa.provider.PersistenceProvider
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.jpa.repository.EntityGraph.EntityGraphType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Method in class org.springframework.data.jpa.repository.query.Meta
-
Get
Iterableof set meta values. - values() - Static method in enum class org.springframework.data.jpa.repository.QueryRewriter.IdentityQueryRewriter
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.jpa.repository.support.QueryHints.NoHints
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Method in class org.springframework.data.jpa.util.TupleBackedMap
W
- where(DeleteSpecification<T>) - Static method in interface org.springframework.data.jpa.domain.DeleteSpecification
-
Simple static factory method to add some syntactic sugar around a DeleteSpecification.
- where(PredicateSpecification<T>) - Static method in interface org.springframework.data.jpa.domain.DeleteSpecification
-
Simple static factory method to add some syntactic sugar translating
PredicateSpecificationtoDeleteSpecification. - where(PredicateSpecification<T>) - Static method in interface org.springframework.data.jpa.domain.PredicateSpecification
-
Simple static factory method to add some syntactic sugar around a PredicateSpecification.
- where(PredicateSpecification<T>) - Static method in interface org.springframework.data.jpa.domain.Specification
-
Simple static factory method to add some syntactic sugar translating
PredicateSpecificationtoSpecification. - where(PredicateSpecification<T>) - Method in interface org.springframework.data.jpa.domain.UpdateSpecification.UpdateOperation
-
Creates a
UpdateSpecificationfrom this and the givenUpdateSpecification. - where(PredicateSpecification<T>) - Static method in interface org.springframework.data.jpa.domain.UpdateSpecification
-
Simple static factory method to add some syntactic sugar translating
PredicateSpecificationtoUpdateSpecification. - where(UpdateSpecification<T>) - Method in interface org.springframework.data.jpa.domain.UpdateSpecification.UpdateOperation
-
Creates a
UpdateSpecificationfrom this and the givenUpdateSpecification. - where(UpdateSpecification<T>) - Static method in interface org.springframework.data.jpa.domain.UpdateSpecification
-
Simple static factory method to add some syntactic sugar around a UpdateSpecification.
- where(JpqlQueryBuilder.Expression) - Static method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder
-
Start building a
WHERE predicateby providing the right-hand side. - where(JpqlQueryBuilder.Origin, PropertyPath) - Static method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder
-
Start building a
WHERE predicateby providing the right-hand side. - where(JpqlQueryBuilder.Predicate) - Method in class org.springframework.data.jpa.repository.query.JpqlQueryBuilder.AbstractJpqlQuery
- with(Sort.Direction) - Method in class org.springframework.data.jpa.domain.JpaSort.JpaOrder
- with(Sort.NullHandling) - Method in class org.springframework.data.jpa.domain.JpaSort.JpaOrder
- withFetchGraphs(EntityManager) - Method in class org.springframework.data.jpa.repository.support.MutableQueryHints
- withFetchGraphs(EntityManager) - Method in enum class org.springframework.data.jpa.repository.support.QueryHints.NoHints
- withFetchGraphs(EntityManager) - Method in interface org.springframework.data.jpa.repository.support.QueryHints
-
Creates and returns a new
QueryHintsinstance includingEntityGraph. - withUnsafe(String...) - Method in class org.springframework.data.jpa.domain.JpaSort.JpaOrder
-
Creates new
Sortwith potentially unsafeSort.Orderinstances.
Z
- ZoneIdConverter() - Constructor for class org.springframework.data.jpa.convert.threeten.Jsr310JpaConverters.ZoneIdConverter
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
JpaRepository.deleteAllInBatch(Iterable)instead.