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
RepositoryQuery
s. - AbstractJpaQuery(JpaQueryMethod, EntityManager) - Constructor for class org.springframework.data.jpa.repository.query.AbstractJpaQuery
-
Creates a new
AbstractJpaQuery
from the givenJpaQueryMethod
. - 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<Specification<T>>) - Static method in interface org.springframework.data.jpa.domain.Specification
-
Applies an AND operation to all the given
Specification
s. - allOf(Specification<T>...) - Static method in interface org.springframework.data.jpa.domain.Specification
- and(Sort.Direction, Attribute<?, ?>...) - Method in class org.springframework.data.jpa.domain.JpaSort
-
Returns a new
JpaSort
with 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
JpaSort
with the given sorting criteria added to the current one. - and(Specification<T>) - Method in interface org.springframework.data.jpa.domain.Specification
-
ANDs the given
Specification
to the current one. - and(Part, 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
JpaSort
with the given sorting criteria added to the current one. - anyOf(Iterable<Specification<T>>) - Static method in interface org.springframework.data.jpa.domain.Specification
-
Applies an OR operation to all the given
Specification
s. - anyOf(Specification<T>...) - Static method in interface org.springframework.data.jpa.domain.Specification
- 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
Pageable
to 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) - Method in interface org.springframework.data.jpa.repository.query.QueryEnhancer
-
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
. - applySorting(Sort, String) - Method in class org.springframework.data.jpa.repository.query.DefaultQueryEnhancer
- applySorting(Sort, String) - Method in class org.springframework.data.jpa.repository.query.JSqlParserQueryEnhancer
- applySorting(Sort, String) - Method in interface org.springframework.data.jpa.repository.query.QueryEnhancer
-
Adds order by clause to the JPQL query.
- attributePaths() - Element in annotation interface org.springframework.data.jpa.repository.EntityGraph
-
The paths of attributes of this
EntityGraph
to use, empty by default. - AuditingBeanDefinitionParser - Class in org.springframework.data.jpa.repository.config
-
BeanDefinitionParser
for theauditing
element. - AuditingBeanDefinitionParser() - Constructor for class org.springframework.data.jpa.repository.config.AuditingBeanDefinitionParser
- AuditingBeanFactoryPostProcessor - Class in org.springframework.data.jpa.domain.support
-
BeanFactoryPostProcessor
that ensures that theAnnotationBeanConfigurerAspect
aspect is up and running before theEntityManagerFactory
gets created as this already instantiates entity listeners and we need to get injection intoConfigurable
to 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
AuditorAware
bean to be used to lookup the current principal.
B
- 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
BeanDefinition
instances fromBeanFactoryPostProcessor
s. - BeanDefinitionUtils.EntityManagerFactoryBeanDefinition - Class in org.springframework.data.jpa.util
-
Value object to represent a
BeanDefinition
for anEntityManagerFactory
with 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
- bind(QueryParameterSetter.BindableQuery, JpaParametersParameterAccessor, QueryParameterSetter.ErrorHandling) - Method in class org.springframework.data.jpa.repository.query.ParameterBinder
- bind(T, QueryParameterSetter.QueryMetadata, JpaParametersParameterAccessor) - Method in class org.springframework.data.jpa.repository.query.ParameterBinder
- 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
.
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
. - ClasspathScanningPersistenceUnitPostProcessor - Class in org.springframework.data.jpa.support
-
PersistenceUnitPostProcessor
that will scan for classes annotated withEntity
orMappedSuperclass
and add them to thePersistenceUnit
post processed. - ClasspathScanningPersistenceUnitPostProcessor(String) - Constructor for class org.springframework.data.jpa.support.ClasspathScanningPersistenceUnitPostProcessor
-
Creates a new
ClasspathScanningPersistenceUnitPostProcessor
using the given base package as scan base. - 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
ProjectionFactory
considering 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.
- complete(Predicate, Sort) - Method in class org.springframework.data.jpa.repository.query.JpaQueryCreator
-
Finalizes the given
Predicate
and applies the given sort. - complete(Predicate, Sort, CriteriaQuery<? extends Object>, CriteriaBuilder, Root<?>) - Method in class org.springframework.data.jpa.repository.query.JpaCountQueryCreator
- complete(Predicate, Sort, CriteriaQuery<? extends Object>, CriteriaBuilder, Root<?>) - Method in class org.springframework.data.jpa.repository.query.JpaQueryCreator
-
Template method to finalize the given
Predicate
using the givenCriteriaQuery
andCriteriaBuilder
. - 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 repositories infrastructure.
- contribute(AotRepositoryContext, GenerationContext) - Method in class org.springframework.data.jpa.repository.config.JpaRepositoryConfigExtension.JpaRepositoryRegistrationAotProcessor
- 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 class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- count(Predicate) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaPredicateExecutor
- count(Predicate) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaRepository
-
Deprecated.
- count(Example<S>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- count(Specification<T>) - Method in interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
-
Returns the number of instances that the given
Specification
will 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.Query
-
Returns the name of the
NamedQuery
to be used to execute count queries when pagination is used. - 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.Query
-
Defines a special count query that shall be used for pagination queries to lookup the total number of elements for a page.
- create(EntityManager, JpaQueryMethodFactory, QueryLookupStrategy.Key, QueryMethodEvaluationContextProvider, QueryRewriterProvider, EscapeCharacter) - Static method in class org.springframework.data.jpa.repository.query.JpaQueryLookupStrategy
- create(Part, Iterator<Object>) - Method in class org.springframework.data.jpa.repository.query.JpaQueryCreator
- createBinder() - Method in class org.springframework.data.jpa.repository.query.AbstractJpaQuery
- createCountQuery(Predicate...) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaPredicateExecutor
-
Creates a new
JPQLQuery
count query for the givenPredicate
. - createCountQuery(Predicate...) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaRepository
-
Deprecated.Creates a new
JPQLQuery
count query for the givenPredicate
. - createCountQuery(JpaParametersParameterAccessor) - Method in class org.springframework.data.jpa.repository.query.AbstractJpaQuery
- createCountQueryFor() - Method in interface org.springframework.data.jpa.repository.query.QueryEnhancer
-
Creates a count projected query from the given original query.
- createCountQueryFor(String) - Method in class org.springframework.data.jpa.repository.query.DefaultQueryEnhancer
- 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) - Static method in class org.springframework.data.jpa.repository.query.QueryUtils
-
Deprecated.
- createCountQueryFor(String, String) - Static method in class org.springframework.data.jpa.repository.query.QueryUtils
-
Deprecated.use
DeclaredQuery.deriveCountQuery(String, String)
instead. - createCriteriaQuery(CriteriaBuilder, ReturnedType) - Method in class org.springframework.data.jpa.repository.query.JpaCountQueryCreator
- createCriteriaQuery(CriteriaBuilder, ReturnedType) - Method in class org.springframework.data.jpa.repository.query.JpaQueryCreator
-
Creates the
CriteriaQuery
to apply predicates on. - 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
- createParameter(MethodParameter) - Method in class org.springframework.data.jpa.repository.query.JpaParameters
- createParameters(Method) - Method in class org.springframework.data.jpa.repository.query.JpaQueryMethod
- 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
- 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
JPQLQuery
instance based on the configuredEntityManager
. - createQuery(EntityPath<?>...) - Method in class org.springframework.data.jpa.repository.support.Querydsl
-
Creates the
JPQLQuery
instance based on the configuredEntityManager
. - createQuery(Predicate...) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaPredicateExecutor
-
Creates a new
JPQLQuery
for the givenPredicate
. - createQuery(Predicate...) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaRepository
-
Deprecated.Creates a new
JPQLQuery
for the givenPredicate
. - 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
. - CrudMethodMetadata - Interface in org.springframework.data.jpa.repository.support
-
Interface to abstract
CrudMethodMetadata
that provide theLockModeType
to be used for query execution.
D
- dateTimeProviderRef() - Element in annotation interface org.springframework.data.jpa.repository.config.EnableJpaAuditing
-
Configures a
DateTimeProvider
bean name that allows customizing theTemporalAccessor
to be used for setting creation and modification dates. - DEFAULT - Static variable in class org.springframework.data.jpa.repository.query.EscapeCharacter
- 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
DefaultJpaEntityMetadata
for the given domain type. - DefaultJpaQueryMethodFactory - Class in org.springframework.data.jpa.repository.query
-
A factory for creating
JpaQueryMethod
instances. - DefaultJpaQueryMethodFactory(QueryExtractor) - Constructor for class org.springframework.data.jpa.repository.query.DefaultJpaQueryMethodFactory
- DefaultQueryEnhancer - Class in org.springframework.data.jpa.repository.query
-
The implementation of
QueryEnhancer
usingQueryUtils
. - DefaultQueryEnhancer(DeclaredQuery) - Constructor for class org.springframework.data.jpa.repository.query.DefaultQueryEnhancer
- DefaultRevisionMetadata - Class in org.springframework.data.envers.repository.support
-
RevisionMetadata
working 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(Specification<T>) - Method in interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
-
Deletes by the
Specification
and returns the number of rows deleted. - delete(Specification<T>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- 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.Use
JpaRepository.deleteAllInBatch(Iterable)
instead. - detectAlias() - Method in class org.springframework.data.jpa.repository.query.DefaultQueryEnhancer
- detectAlias() - Method in class org.springframework.data.jpa.repository.query.JSqlParserQueryEnhancer
- detectAlias() - Method in interface org.springframework.data.jpa.repository.query.QueryEnhancer
-
Resolves the alias for the entity to be retrieved from the given JPA query.
- detectAlias(String) - Static method in class org.springframework.data.jpa.repository.query.QueryUtils
-
Deprecated.use
DeclaredQuery.getAlias()
instead. - doCreateCountQuery(JpaParametersParameterAccessor) - Method in class org.springframework.data.jpa.repository.query.AbstractJpaQuery
-
Creates a
TypedQuery
for 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
Query
instance 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
AbstractStringBasedJpaQuery
executions by single enum values. - dot(A) - Method in class org.springframework.data.jpa.domain.JpaSort.Path
-
Collects the given
Attribute
and returning a newJpaSort.Path
pointing to the attribute type. - dot(P) - Method in class org.springframework.data.jpa.domain.JpaSort.Path
-
Collects the given
PluralAttribute
and returning a newJpaSort.Path
pointing to the attribute type.
E
- ECLIPSELINK - Enum constant in enum class org.springframework.data.jpa.provider.PersistenceProvider
-
EclipseLink persistence provider.
- 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.
- EntityGraph - Annotation Interface in org.springframework.data.jpa.repository
-
Annotation to configure the JPA 2.1
EntityGraph
s that should be used on repository methods. - EntityGraph.EntityGraphType - Enum Class in org.springframework.data.jpa.repository
-
Enum for JPA 2.1
EntityGraph
types. - EntityManagerBeanDefinitionRegistrarPostProcessor - Class in org.springframework.data.jpa.repository.support
-
BeanFactoryPostProcessor
to register aSharedEntityManagerCreator
for everyEntityManagerFactory
bean definition found in the application context to enable autowiringEntityManager
instances 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
EntityManagerFactory
bean 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
EntityManagerFactory
bean definition to be used to create repositories discovered through this annotation. - 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 -
FactoryBean
creatingRevisionRepository
instances. - EnversRevisionRepositoryFactoryBean(Class<? extends T>) - Constructor for class org.springframework.data.envers.repository.support.EnversRevisionRepositoryFactoryBean
-
Creates a new
EnversRevisionRepositoryFactoryBean
for 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
EnversRevisionRepositoryImpl
using the givenJpaEntityInformation
,RevisionEntityInformation
andEntityManager
. - equals(Object) - Method in class org.springframework.data.envers.repository.support.DefaultRevisionMetadata
- equals(Object) - Method in class org.springframework.data.jpa.domain.AbstractPersistable
- equals(Object) - Method in class org.springframework.data.jpa.repository.query.EscapeCharacter
- 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
String
for 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
String
s. - 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
AbstractStringBasedJpaQuery
with 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(Predicate) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaRepository
-
Deprecated.
- exists(Example<S>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- 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
- extractQueryString(Query) - Method in interface org.springframework.data.jpa.provider.QueryExtractor
-
Reverse engineers the query string from the
Query
object.
F
- 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(OrderSpecifier<?>...) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaPredicateExecutor
- findAll(OrderSpecifier<?>...) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaRepository
-
Deprecated.
- findAll(Predicate) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaPredicateExecutor
- findAll(Predicate) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaRepository
-
Deprecated.
- findAll(Predicate, OrderSpecifier<?>...) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaPredicateExecutor
- findAll(Predicate, OrderSpecifier<?>...) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaRepository
-
Deprecated.
- findAll(Predicate, Pageable) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaPredicateExecutor
- findAll(Predicate, Pageable) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaRepository
-
Deprecated.
- findAll(Predicate, Sort) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaPredicateExecutor
- findAll(Predicate, Sort) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaRepository
-
Deprecated.
- 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(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
Page
of 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
Specification
andSort
. - 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(Predicate, Function<FluentQuery.FetchableFluentQuery<S>, R>) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaRepository
-
Deprecated.
- findBy(Example<S>, Function<FluentQuery.FetchableFluentQuery<S>, R>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- findBy(Specification<T>, Function<FluentQuery.FetchableFluentQuery<S>, R>) - Method in interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
-
Returns entities matching the given
Specification
applying thequeryFunction
that defines the query and its result type. - findBy(Specification<T>, Function<FluentQuery.FetchableFluentQuery<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(Predicate) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaRepository
-
Deprecated.
- findOne(Example<S>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- findOne(Specification<T>) - Method in interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
-
Returns a single entity matching the given
Specification
orOptional.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
PersistentPropertyPaths
by 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
QueryHint
s 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
QueryHints
instance 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 class org.springframework.data.jpa.repository.query.QueryEnhancerFactory
-
Creates a new
QueryEnhancer
for 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
JPQLQuery
for the givenEntityPath
. - from(QueryHints...) - Static method in interface org.springframework.data.jpa.repository.support.QueryHints
-
Create a new
QueryHints
object from the givensources
. - fromEntityManager(EntityManager) - Static method in enum class org.springframework.data.jpa.provider.PersistenceProvider
-
Determines the
PersistenceProvider
from the givenEntityManager
. - fromMetamodel(Metamodel) - Static method in enum class org.springframework.data.jpa.provider.PersistenceProvider
-
Determines the
PersistenceProvider
from the givenMetamodel
.
G
- GENERIC_JPA - Enum constant in enum class org.springframework.data.jpa.provider.PersistenceProvider
-
Unknown special provider.
- getAnnotatedQuery() - Method in class org.springframework.data.jpa.repository.query.JpaQueryMethod
-
Returns the query string declared in a
Query
annotation 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
BeanDefinition
for theEntityManagerFactory
. - getBeanDefinition(String, ConfigurableListableBeanFactory) - Static method in class org.springframework.data.jpa.util.BeanDefinitionUtils
-
Returns the
BeanDefinition
with the given name, obtained from the givenBeanFactory
or 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
BeanDefinition
for theEntityManagerFactory
. - getBuilder() - Method in class org.springframework.data.jpa.repository.support.QuerydslRepositorySupport
-
Returns a
PathBuilder
for 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
Query
annotation 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
- getDelegate() - Method in class org.springframework.data.envers.repository.support.DefaultRevisionMetadata
- getDomainClass() - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
- getEntityGraph() - Method in interface org.springframework.data.jpa.repository.support.CrudMethodMetadata
-
Returns the
EntityGraph
to 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
JpaEntityInformation
for 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
EntityManager
managing 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.EntityManagerFactoryBeanDefinition
instances for allBeanDefinition
registered in the givenConfigurableListableBeanFactory
hierarchy. - getEntityManagerFactoryBeanNames(ListableBeanFactory) - Static method in class org.springframework.data.jpa.util.BeanDefinitionUtils
-
Return all bean names for bean definitions that will result in an
EntityManagerFactory
eventually. - 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
- 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
- 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
- getJavaType() - Method in class org.springframework.data.jpa.repository.query.DefaultJpaEntityMetadata
- getJoinAliases() - Method in class org.springframework.data.jpa.repository.query.DefaultQueryEnhancer
- getJoinAliases() - Method in class org.springframework.data.jpa.repository.query.JSqlParserQueryEnhancer
- getJoinAliases() - Method in interface org.springframework.data.jpa.repository.query.QueryEnhancer
- getJSqlCount(List<String>, boolean) - Static method in class org.springframework.data.jpa.repository.query.JSqlParserUtils
-
Generates a count function call, based on the
countFields
. - getJSqlLower(String) - Static method in class org.springframework.data.jpa.repository.query.JSqlParserUtils
-
Generates a lower function call, based on the
column
. - getKey() - Method in enum class org.springframework.data.jpa.repository.EntityGraph.EntityGraphType
- 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
LockModeType
to 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
Method
to 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
EntityGraph
configuration to use. - 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
- getParameterAccessor(JpaParameters, Object[], EntityManager) - Method in enum class org.springframework.data.jpa.provider.PersistenceProvider
- getParameterExpressions() - Method in class org.springframework.data.jpa.repository.query.JpaQueryCreator
-
Returns all
ParameterExpression
created when creating the query. - getParameters() - Method in class org.springframework.data.jpa.repository.query.JpaQueryMethod
- getPredicate(Root<T>, CriteriaBuilder, Example<T>) - Static method in class org.springframework.data.jpa.convert.QueryByExamplePredicateBuilder
-
Extract the
Predicate
representing theExample
. - getPredicate(Root<T>, CriteriaBuilder, Example<T>, EscapeCharacter) - Static method in class org.springframework.data.jpa.convert.QueryByExamplePredicateBuilder
-
Extract the
Predicate
representing theExample
. - getProjection() - Method in class org.springframework.data.jpa.repository.query.DefaultQueryEnhancer
- 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
select
andfrom
. - getProjection(String) - Static method in class org.springframework.data.jpa.repository.query.QueryUtils
-
Returns the projection part of the query, i.e. everything between
select
andfrom
. - getProjectionFactory(ClassLoader, BeanFactory) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactory
- getProjectionInformation(Class<?>) - Method in class org.springframework.data.jpa.projection.CollectionAwareProjectionFactory
- getQuery() - Method in class org.springframework.data.jpa.repository.query.DefaultQueryEnhancer
- 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>, Pageable) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
-
Creates a new
TypedQuery
from the givenSpecification
. - 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
TypedQuery
from 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.
- 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
QueryHints
with the query hints based on the currentCrudMethodMetadata
and potentialEntityGraph
information. - 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
QueryHints
with the query hints on the currentCrudMethodMetadata
for count queries. - getQueryLookupStrategy(QueryLookupStrategy.Key, QueryMethodEvaluationContextProvider) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactory
- getQueryMetaAttributes() - Method in class org.springframework.data.jpa.repository.query.JpaQueryMethod
-
Returns the
Meta
attributes 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
QueryRewriter
type. - 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 interface org.springframework.data.jpa.repository.query.QueryRewriterProvider
-
Obtain an instance of
QueryRewriter
for aJpaQueryMethod
. - 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.RepositoryFragments
based onRepositoryMetadata
to add JPA-specific extensions. - 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
Query
annotation or throwsIllegalStateException
if 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.
- 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
- 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
JpaRepository
instance with the givenEntityManager
- getType() - Method in class org.springframework.data.jpa.repository.query.JpaEntityGraph
-
Returns the
EntityGraph.EntityGraphType
of theEntityGraph
to use. - getTypeToRead(ReturnedType) - Method in class org.springframework.data.jpa.repository.query.AbstractJpaQuery
-
Returns the type to be used when creating the JPA query.
- getValue(Parameter) - Method in class org.springframework.data.jpa.repository.query.JpaParametersParameterAccessor
- getValues() - Method in class org.springframework.data.jpa.repository.query.JpaParametersParameterAccessor
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.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.support.QueryHintValue
- hashCode() - Method in class org.springframework.data.jpa.util.BeanDefinitionUtils.EntityManagerFactoryBeanDefinition
- hasNamedParameter(Query) - Static method in class org.springframework.data.jpa.repository.query.QueryUtils
-
Returns whether the given
Query
contains named parameters. - hasPersistentEntityFor(Class<?>) - Method in class org.springframework.data.jpa.mapping.JpaMetamodelMappingContext
- 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.
I
- ignoreCase() - Method in class org.springframework.data.jpa.domain.JpaSort.JpaOrder
- 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.
- init() - Method in class org.springframework.data.jpa.repository.config.JpaRepositoryNameSpaceHandler
- 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
- 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
InvalidJpaQueryMethodException
with the given message. - isAdHocEntityGraph() - Method in class org.springframework.data.jpa.repository.query.JpaEntityGraph
-
Return true if this
JpaEntityGraph
needs to be generated on-the-fly. - isBindable() - Method in class org.springframework.data.jpa.repository.query.JpaParameters.JpaParameter
- isCollectionQuery() - Method in class org.springframework.data.jpa.repository.query.JpaQueryMethod
- 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.
- isIgnoreCase() - Method in class org.springframework.data.jpa.domain.JpaSort.JpaOrder
- isJpaManaged(Class<?>) - Method in class org.springframework.data.jpa.util.JpaMetamodel
-
Returns whether the given type is managed by the backing JPA
Metamodel
. - 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.
- isModifyingQuery() - Method in class org.springframework.data.jpa.repository.query.JpaQueryMethod
-
Returns whether the finder is a modifying one.
- isNew() - Method in class org.springframework.data.jpa.domain.AbstractPersistable
-
Must be
Transient
in 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
- isPersistenceUnitOverrideAllowed() - Method in class org.springframework.data.jpa.support.MergingPersistenceUnitManager
- isProcedureQuery() - Method in class org.springframework.data.jpa.repository.query.JpaQueryMethod
-
Return true if the method contains a
Procedure
annotation. - 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.
- isUnsafe() - Method in class org.springframework.data.jpa.domain.JpaSort.JpaOrder
J
- 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
JpaQueryCreator
that creates a count projecting query. - JpaCountQueryCreator(PartTree, ReturnedType, CriteriaBuilder, ParameterMetadataProvider) - 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
EntityGraph
s. - JpaEntityGraph(String, EntityGraph.EntityGraphType, String[]) - Constructor for class org.springframework.data.jpa.repository.query.JpaEntityGraph
-
Creates an
JpaEntityGraph
with the given name,EntityGraph.EntityGraphType
and 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
EntityInformation
to capture additional JPA specific information about entities. - JpaEntityInformationSupport<T,
ID> - Class in org.springframework.data.jpa.repository.support -
Base class for
JpaEntityInformation
implementations to share common method implementations. - JpaEntityInformationSupport(Class<T>) - Constructor for class org.springframework.data.jpa.repository.support.JpaEntityInformationSupport
-
Creates a new
JpaEntityInformationSupport
with 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
-
EvaluationContextExtension
to registerEscapeCharacter
as root object to essentially expose anexpose(…)
function to SpEL. - JpaEvaluationContextExtension(char) - Constructor for class org.springframework.data.jpa.repository.support.JpaEvaluationContextExtension
-
Creates a new
JpaEvaluationContextExtension
for 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
Metamodel
to be able to apply some fixes against bugs in provider implementations. - JpaMetamodelEntityInformation<T,
ID> - Class in org.springframework.data.jpa.repository.support -
Implementation of
EntityInformation
that uses JPAMetamodel
to find the domain class' id field. - JpaMetamodelEntityInformation(Class<T>, Metamodel, PersistenceUnitUtil) - Constructor for class org.springframework.data.jpa.repository.support.JpaMetamodelEntityInformation
-
Creates a new
JpaMetamodelEntityInformation
for the given domain class andMetamodel
. - JpaMetamodelMappingContext - Class in org.springframework.data.jpa.mapping
-
MappingContext
implementation based on a JpaMetamodel
. - JpaMetamodelMappingContext(Set<Metamodel>) - Constructor for class org.springframework.data.jpa.mapping.JpaMetamodelMappingContext
-
Creates a new JPA
Metamodel
basedMappingContext
. - JpaMetamodelMappingContextFactoryBean - Class in org.springframework.data.jpa.repository.config
-
FactoryBean
to setupJpaMetamodelMappingContext
instances from Spring configuration. - JpaMetamodelMappingContextFactoryBean() - Constructor for class org.springframework.data.jpa.repository.config.JpaMetamodelMappingContextFactoryBean
- JpaParameter(MethodParameter) - 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
Parameters
discovering additional query parameter annotations. - JpaParameters(Method) - Constructor for class org.springframework.data.jpa.repository.query.JpaParameters
-
Creates a new
JpaParameters
instance from the givenMethod
. - JpaParameters.JpaParameter - Class in org.springframework.data.jpa.repository.query
- JpaParametersParameterAccessor - Class in org.springframework.data.jpa.repository.query
-
ParameterAccessor
based on anParameters
instance. - JpaParametersParameterAccessor(Parameters<?, ?>, 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
JpaMetamodelEntityInformation
that consideres methods ofPersistable
to lookup the id. - JpaPersistableEntityInformation(Class<T>, Metamodel, PersistenceUnitUtil) - Constructor for class org.springframework.data.jpa.repository.support.JpaPersistableEntityInformation
-
Creates a new
JpaPersistableEntityInformation
for 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
. - JpaQueryCreator - Class in org.springframework.data.jpa.repository.query
-
Query creator to create a
CriteriaQuery
from aPartTree
. - JpaQueryCreator(PartTree, ReturnedType, CriteriaBuilder, ParameterMetadataProvider) - Constructor for class org.springframework.data.jpa.repository.query.JpaQueryCreator
-
Create a new
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
. - JpaQueryMethodFactory - Interface in org.springframework.data.jpa.repository.query
-
A factory interface for creating
JpaQueryMethodFactory
instances. - 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
EnableJpaRepositories
annotation. - JpaRepositoryConfigExtension() - Constructor for class org.springframework.data.jpa.repository.config.JpaRepositoryConfigExtension
- JpaRepositoryConfigExtension.JpaRepositoryRegistrationAotProcessor - Class in org.springframework.data.jpa.repository.config
-
A
RepositoryRegistrationAotProcessor
implementation that maintains aot repository setup but skips domain type inspection which is handled by the core framework support forPersistenceManagedTypes
. - 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
FactoryBean
interface 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
JpaRepositoryFactoryBean
for the given repository interface. - JpaRepositoryImplementation<T,
ID> - Interface in org.springframework.data.jpa.repository.support -
SPI interface to be implemented by
JpaRepository
implementations. - 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 meta-model
Attribute
s for sorting. - JpaSort(Attribute<?, ?>...) - Constructor for class org.springframework.data.jpa.domain.JpaSort
-
Deprecated.since 2.3, use
JpaSort.of(Attribute...)
instead. - JpaSort(Sort.Direction, Attribute<?, ?>...) - Constructor for class org.springframework.data.jpa.domain.JpaSort
-
Deprecated.since 2.3, use
JpaSort.of(Direction, Attribute...)
instead. - JpaSort(Sort.Direction, JpaSort.Path<?, ?>...) - Constructor for class org.springframework.data.jpa.domain.JpaSort
-
Deprecated.since 2.3, use
JpaSort.of(Direction, Path...)
instead. - JpaSort(JpaSort.Path<?, ?>...) - Constructor for class org.springframework.data.jpa.domain.JpaSort
-
Deprecated.since 2.3, use {@link JpaSort#of(Path...))} instead.
- JpaSort.JpaOrder - Class in org.springframework.data.jpa.domain
-
Custom
Sort.Order
that 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
Attribute
s. - JpaSpecificationExecutor<T> - Interface in org.springframework.data.jpa.repository
-
Interface to allow execution of
Specification
s based on the JPA criteria API. - JSqlParserQueryEnhancer - Class in org.springframework.data.jpa.repository.query
-
The implementation of
QueryEnhancer
using JSqlParser. - JSqlParserQueryEnhancer(DeclaredQuery) - Constructor for class org.springframework.data.jpa.repository.query.JSqlParserQueryEnhancer
- JSqlParserUtils - Class in org.springframework.data.jpa.repository.query
-
A utility class for JSqlParser.
- Jsr310JpaConverters - Class in org.springframework.data.jpa.convert.threeten
-
JPA 2.1 converters to turn JSR-310 types into legacy
Date
s. - 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
L
- 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
LockModeType
to be used when executing the query.
M
- MergingPersistenceUnitManager - Class in org.springframework.data.jpa.support
-
Extends
DefaultPersistenceUnitManager
to merge configurations of one persistence unit residing in multiplepersistence.xml
files 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
- 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.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
""
. - 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.
- nativeQuery() - Element in annotation interface org.springframework.data.jpa.repository.Query
-
Configures whether the given query is a native one.
- not(Specification<T>) - Static method in interface org.springframework.data.jpa.domain.Specification
-
Negates the given
Specification
.
O
- of(char) - Static method in class org.springframework.data.jpa.repository.query.EscapeCharacter
- of(Attribute<?, ?>...) - Static method in class org.springframework.data.jpa.domain.JpaSort
-
Creates a new
JpaSort
for the given attributes with the default sort direction. - of(Metamodel) - Static method in class org.springframework.data.jpa.util.JpaMetamodel
- of(Sort.Direction, Attribute<?, ?>...) - Static method in class org.springframework.data.jpa.domain.JpaSort
-
Creates a new
JpaSort
for the given direction and attributes. - of(Sort.Direction, JpaSort.Path<?, ?>...) - Static method in class org.springframework.data.jpa.domain.JpaSort
-
Creates a new
JpaSort
for the given direction andJpaSort.Path
s. - of(JpaSort.Path<?, ?>...) - Static method in class org.springframework.data.jpa.domain.JpaSort
-
Creates a new
JpaSort
instance with the givenJpaSort.Path
s. - of(EscapeCharacter) - Static method in class org.springframework.data.jpa.repository.support.JpaEvaluationContextExtension.JpaRootObject
- or(Predicate, Predicate) - Method in class org.springframework.data.jpa.repository.query.JpaQueryCreator
- or(Specification<T>) - Method in interface org.springframework.data.jpa.domain.Specification
-
ORs the given specification to the current one.
- 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
- 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
- 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
- PageableUtils - Class in org.springframework.data.jpa.support
-
Provide a set of utility methods to support
Pageable
s. - ParameterBinder - Class in org.springframework.data.jpa.repository.query
-
ParameterBinder
is used to bind method parameters to aQuery
. - ParameterBinder(JpaParameters, Iterable<QueryParameterSetter>, boolean) - Constructor for class org.springframework.data.jpa.repository.query.ParameterBinder
- parse(Element, ParserContext) - Method in class org.springframework.data.jpa.repository.config.AuditingBeanDefinitionParser
- PartTreeJpaQuery - Class in org.springframework.data.jpa.repository.query
-
A
AbstractJpaQuery
implementation based on aPartTree
. - path(A) - Static method in class org.springframework.data.jpa.domain.JpaSort
-
Creates a new
JpaSort.Path
for the givenAttribute
. - path(P) - Static method in class org.springframework.data.jpa.domain.JpaSort
-
Creates a new
JpaSort.Path
for the givenPluralAttribute
. - PersistenceProvider - Enum Class in org.springframework.data.jpa.provider
-
Enumeration representing persistence providers to be used.
- 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
- potentiallyRemoveOptionalConverter(ConfigurableConversionService) - Static method in class org.springframework.data.jpa.repository.query.JpaQueryExecution
-
Removes the converter being able to convert any object into an
Optional
from the givenConversionService
in case we're running on Java 8. - potentiallyUnwrap(Object) - Method in class org.springframework.data.jpa.repository.query.JpaParametersParameterAccessor
-
Apply potential unwrapping to
parameterValue
. - 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
""
. - ProxyIdAccessor - Interface in org.springframework.data.jpa.provider
-
Interface for a persistence provider specific accessor of identifiers held in proxies.
Q
- Query - Annotation Interface in org.springframework.data.jpa.repository
-
Annotation to declare finder queries directly on repository methods.
- QueryByExamplePredicateBuilder - Class in org.springframework.data.jpa.convert
-
QueryByExamplePredicateBuilder
creates a singleCriteriaBuilder.and(Predicate...)
combinedPredicate
for 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
SimpleJpaRepository
with an implementation ofQuerydslPredicateExecutor
. - QuerydslJpaPredicateExecutor(JpaEntityInformation<T, ?>, EntityManager, EntityPathResolver, CrudMethodMetadata) - Constructor for class org.springframework.data.jpa.repository.support.QuerydslJpaPredicateExecutor
-
Creates a new
QuerydslJpaPredicateExecutor
from the given domain class andEntityManager
and uses the givenEntityPathResolver
to translate the domain class into anEntityPath
. - QuerydslJpaRepository<T,
ID extends Serializable> - Class in org.springframework.data.jpa.repository.support -
Deprecated.Instead of this class use
QuerydslJpaPredicateExecutor
- QuerydslJpaRepository(JpaEntityInformation<T, ID>, EntityManager) - Constructor for class org.springframework.data.jpa.repository.support.QuerydslJpaRepository
-
Deprecated.Creates a new
QuerydslJpaRepository
from the given domain class andEntityManager
. - QuerydslJpaRepository(JpaEntityInformation<T, ID>, EntityManager, EntityPathResolver) - Constructor for class org.springframework.data.jpa.repository.support.QuerydslJpaRepository
-
Deprecated.Creates a new
QuerydslJpaRepository
from the given domain class andEntityManager
and uses the givenEntityPathResolver
to 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
QuerydslRepositorySupport
instance for the given domain type. - QueryEnhancer - Interface in org.springframework.data.jpa.repository.query
-
This interface describes the API for enhancing a given Query.
- QueryEnhancerFactory - Class in org.springframework.data.jpa.repository.query
-
Encapsulates different strategies for the creation of a
QueryEnhancer
from aDeclaredQuery
. - 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
QueryHint
annotations 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
QueryLookupStrategy
to 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
QueryLookupStrategy
to be used for lookup queries for query methods. - queryRewriter() - Element in annotation interface org.springframework.data.jpa.repository.Query
-
Define a
QueryRewriter
that 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
QueryRewriter
that doesn't change the query. - QueryRewriterProvider - Interface in org.springframework.data.jpa.repository.query
-
Provide a
QueryRewriter
based 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
-
RevisionEntityInformation
that uses reflection to inspect a property annotated withRevisionNumber
to find out about the revision number type. - ReflectionRevisionEntityInformation(Class<?>) - Constructor for class org.springframework.data.envers.repository.support.ReflectionRevisionEntityInformation
-
Creates a new
ReflectionRevisionEntityInformation
inspecting 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
- 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
FactoryBean
class to be used for each repository instance. - repositoryFactoryBeanClass() - Element in annotation interface org.springframework.data.jpa.repository.config.EnableJpaRepositories
-
Returns the
FactoryBean
class 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, 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
.
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
- serialVersionUID - Static variable in interface org.springframework.data.jpa.domain.Specification
- 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
AuditingHandler
to 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
BeanFactory
is being set, this is clearly in a Spring context, and so we can capture theQueryRewriterProvider
being aBeanFactoryQueryRewriterProvider
. - 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
EntityManager
to 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
EntityPathResolver
to be used. - setEntityPathResolver(EntityPathResolver) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactory
-
Configures the
EntityPathResolver
to 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 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 interface org.springframework.data.jpa.repository.support.JpaRepositoryImplementation
-
Configures the
EscapeCharacter
to be used with the repository. - 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.
- setQueryMethodFactory(JpaQueryMethodFactory) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactory
-
Configures the
JpaQueryMethodFactory
to be used. - setQueryMethodFactory(JpaQueryMethodFactory) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean
-
Configures the
JpaQueryMethodFactory
to be used. - setQueryRewriterProvider(QueryRewriterProvider) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactory
-
Configures the
QueryRewriterProvider
to be used. - setRepositoryMethodMetadata(CrudMethodMetadata) - Method in interface org.springframework.data.jpa.repository.support.JpaRepositoryImplementation
-
Configures the
CrudMethodMetadata
to be used with the repository. - setRepositoryMethodMetadata(CrudMethodMetadata) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
-
Configures a custom
CrudMethodMetadata
to be used to detectLockModeType
s 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
ProxyIdAccessor
should be used for the given entity. - simple() - Static method in interface org.springframework.data.jpa.repository.query.QueryRewriterProvider
-
Return a simple
QueryRewriterProvider
that usesBeanUtils.instantiateClass(Class)
to obtain aQueryRewriter
instance. - SimpleJpaRepository<T,
ID> - Class in org.springframework.data.jpa.repository.support -
Default implementation of the
CrudRepository
interface. - SimpleJpaRepository(Class<T>, EntityManager) - Constructor for class org.springframework.data.jpa.repository.support.SimpleJpaRepository
-
Creates a new
SimpleJpaRepository
to manage objects of the given domain type. - SimpleJpaRepository(JpaEntityInformation<T, ?>, EntityManager) - Constructor for class org.springframework.data.jpa.repository.support.SimpleJpaRepository
-
Creates a new
SimpleJpaRepository
to manage objects of the givenJpaEntityInformation
. - Specification<T> - Interface in org.springframework.data.jpa.domain
-
Specification in the sense of Domain Driven Design.
T
- Temporal - Annotation Interface in org.springframework.data.jpa.repository
-
Annotation to declare an appropriate
TemporalType
on query method parameters. - toOrders(Sort, From<?, ?>, CriteriaBuilder) - Static method in class org.springframework.data.jpa.repository.query.QueryUtils
-
Turns the given
Sort
intoOrder
s. - 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
Predicate
for the givenRoot
andCriteriaQuery
. - 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.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
Auditable
on 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
Auditable
on update events. - transactionManagerRef() - Element in annotation interface org.springframework.data.envers.repository.config.EnableEnversRepositories
-
Configures the name of the
PlatformTransactionManager
bean 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
PlatformTransactionManager
bean definition to be used to create repositories discovered through this annotation. - type() - Element in annotation interface org.springframework.data.jpa.repository.EntityGraph
-
The
EntityGraph.EntityGraphType
of the EntityGraph to use, defaults toEntityGraph.EntityGraphType.FETCH
.
U
- unsafe(String...) - Static method in class org.springframework.data.jpa.domain.JpaSort
-
Creates new unsafe
JpaSort
based on given properties. - unsafe(Sort.Direction, String...) - Static method in class org.springframework.data.jpa.domain.JpaSort
-
Creates new unsafe
JpaSort
based on givenSort.Direction
and properties. - unsafe(Sort.Direction, List<String>) - Static method in class org.springframework.data.jpa.domain.JpaSort
-
Creates new unsafe
JpaSort
based on givenSort.Direction
and 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 an empty string for query creation.
- update(EntityPath<?>) - Method in class org.springframework.data.jpa.repository.support.QuerydslRepositorySupport
-
Returns a fresh
UpdateClause
.
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
LockModeType
to be used when executing the annotated query or CRUD method. - 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
QueryHint
s to apply when the query will be executed. - value() - Element in annotation interface org.springframework.data.jpa.repository.Temporal
-
Defines the
TemporalType
to 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
Iterable
of 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.
W
- where(Specification<T>) - Static method in interface org.springframework.data.jpa.domain.Specification
-
Simple static factory method to add some syntactic sugar around a
Specification
. - 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
QueryHints
instance includingEntityGraph
. - withUnsafe(String...) - Method in class org.springframework.data.jpa.domain.JpaSort.JpaOrder
-
Creates new
Sort
with potentially unsafeSort.Order
instances.
Z
- ZoneIdConverter() - Constructor for class org.springframework.data.jpa.convert.threeten.Jsr310JpaConverters.ZoneIdConverter
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
DeclaredQuery.deriveCountQuery(String, String)
instead.