Skip navigation links
Spring Data JPA
A B C D E F G H I J L M N O P Q R S T U V W Z 

A

AbstractAuditable<U,PK extends Serializable> - Class in org.springframework.data.jpa.domain
Abstract base class for auditable entities.
AbstractAuditable() - Constructor for class org.springframework.data.jpa.domain.AbstractAuditable
 
AbstractJpaQuery - Class in org.springframework.data.jpa.repository.query
Abstract base class to implement RepositoryQuerys.
AbstractJpaQuery(JpaQueryMethod, EntityManager) - Constructor for class org.springframework.data.jpa.repository.query.AbstractJpaQuery
Creates a new AbstractJpaQuery from the given JpaQueryMethod.
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
 
afterPropertiesSet() - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean
 
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(Specification<T>) - Method in class org.springframework.data.jpa.domain.Specifications
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.
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 given JPQLQuery.
applyQueryHint(T, QueryHint) - Method in class org.springframework.data.jpa.repository.query.AbstractJpaQuery
Protected to be able to customize in sub-classes.
applySorting(String, Sort) - Static method in class org.springframework.data.jpa.repository.query.QueryUtils
Adds order by clause to the JPQL query.
applySorting(String, Sort, String) - Static method in class org.springframework.data.jpa.repository.query.QueryUtils
Adds order by clause to the JPQL query.
applySorting(Sort, JPQLQuery<T>) - Method in class org.springframework.data.jpa.repository.support.Querydsl
Applies sorting to the given JPQLQuery.
AuditingBeanDefinitionParser - Class in org.springframework.data.jpa.repository.config
BeanDefinitionParser for the auditing 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 the AnnotationBeanConfigurerAspect aspect is up and running before the EntityManagerFactory gets created as this already instantiates entity listeners and we need to get injection into Configurable 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 persiting and updating entities.
AuditingEntityListener() - Constructor for class org.springframework.data.jpa.domain.support.AuditingEntityListener
 

B

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 from BeanFactoryPostProcessors.
BeanDefinitionUtils() - Constructor for class org.springframework.data.jpa.util.BeanDefinitionUtils
 
BeanDefinitionUtils.EntityManagerFactoryBeanDefinition - Class in org.springframework.data.jpa.util
Value object to represent a BeanDefinition for an EntityManagerFactory with a dedicated bean name.
bind(T, Object[]) - Method in class org.springframework.data.jpa.repository.query.ParameterBinder
 
bind(T, Object[], QueryParameterSetter.ErrorHandling) - Method in class org.springframework.data.jpa.repository.query.ParameterBinder
 

C

canEqual(Object) - Method in class org.springframework.data.jpa.util.BeanDefinitionUtils.EntityManagerFactoryBeanDefinition
 
canExtractQuery() - Method in enum 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 with Entity or MappedSuperclass and add them to the PersistenceUnit 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.
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
 
complete(Predicate, Sort, CriteriaQuery<? extends Object>, CriteriaBuilder, Root<?>) - Method in class org.springframework.data.jpa.repository.query.JpaCountQueryCreator
 
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.JpaQueryCreator
Template method to finalize the given Predicate using the given CriteriaQuery and CriteriaBuilder.
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
 
convertToDatabaseColumn(Instant) - Method in class org.springframework.data.jpa.convert.threetenbp.ThreeTenBackPortJpaConverters.InstantConverter
 
convertToDatabaseColumn(LocalDate) - Method in class org.springframework.data.jpa.convert.threetenbp.ThreeTenBackPortJpaConverters.LocalDateConverter
 
convertToDatabaseColumn(LocalDateTime) - Method in class org.springframework.data.jpa.convert.threetenbp.ThreeTenBackPortJpaConverters.LocalDateTimeConverter
 
convertToDatabaseColumn(LocalTime) - Method in class org.springframework.data.jpa.convert.threetenbp.ThreeTenBackPortJpaConverters.LocalTimeConverter
 
convertToDatabaseColumn(ZoneId) - Method in class org.springframework.data.jpa.convert.threetenbp.ThreeTenBackPortJpaConverters.ZoneIdConverter
 
convertToEntityAttribute(Date) - 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
 
convertToEntityAttribute(String) - Method in class org.springframework.data.jpa.convert.threeten.Jsr310JpaConverters.ZoneIdConverter
 
convertToEntityAttribute(Date) - Method in class org.springframework.data.jpa.convert.threetenbp.ThreeTenBackPortJpaConverters.InstantConverter
 
convertToEntityAttribute(Date) - Method in class org.springframework.data.jpa.convert.threetenbp.ThreeTenBackPortJpaConverters.LocalDateConverter
 
convertToEntityAttribute(Date) - Method in class org.springframework.data.jpa.convert.threetenbp.ThreeTenBackPortJpaConverters.LocalDateTimeConverter
 
convertToEntityAttribute(Date) - Method in class org.springframework.data.jpa.convert.threetenbp.ThreeTenBackPortJpaConverters.LocalTimeConverter
 
convertToEntityAttribute(String) - Method in class org.springframework.data.jpa.convert.threetenbp.ThreeTenBackPortJpaConverters.ZoneIdConverter
 
count(Specification<T>) - Method in interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
Returns the number of instances that the given Specification will return.
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() - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
 
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
 
create(Part, Iterator<Object>) - Method in class org.springframework.data.jpa.repository.query.JpaQueryCreator
 
create(EntityManager, QueryLookupStrategy.Key, QueryExtractor, QueryMethodEvaluationContextProvider, EscapeCharacter) - Static method in class org.springframework.data.jpa.repository.query.JpaQueryLookupStrategy
Creates a QueryLookupStrategy for the given EntityManager and QueryLookupStrategy.Key.
createBinder() - Method in class org.springframework.data.jpa.repository.query.AbstractJpaQuery
 
createCountQuery(Object[]) - 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 given Predicate.
createCountQuery(Predicate...) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaRepository
Deprecated.
Creates a new JPQLQuery count query for the given Predicate.
createCountQueryFor(String) - Static method in class org.springframework.data.jpa.repository.query.QueryUtils
Deprecated.
use DeclaredQuery.deriveCountQuery(String, String) instead.
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
 
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
 
createProjectionInformation(Class<?>) - Method in class org.springframework.data.jpa.projection.CollectionAwareProjectionFactory
 
createQuery(Object[]) - Method in class org.springframework.data.jpa.repository.query.AbstractJpaQuery
 
createQuery() - Method in class org.springframework.data.jpa.repository.support.Querydsl
Creates the JPQLQuery instance based on the configured EntityManager.
createQuery(EntityPath<?>...) - Method in class org.springframework.data.jpa.repository.support.Querydsl
Creates the JPQLQuery instance based on the configured EntityManager.
createQuery(Predicate...) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaPredicateExecutor
Creates a new JPQLQuery for the given Predicate.
createQuery(Predicate...) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaRepository
Deprecated.
Creates a new JPQLQuery for the given Predicate.
createRepositoryFactory(EntityManager) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean
CrudMethodMetadata - Interface in org.springframework.data.jpa.repository.support
Interface to abstract CrudMethodMetadata that provide the LockModeType to be used for query execution.

D

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
Creates a new DefaultJpaContext for the given Set of EntityManagers.
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.
delete(EntityPath<?>) - Method in class org.springframework.data.jpa.repository.support.QuerydslRepositorySupport
Returns a fresh DeleteClause.
delete(T) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
 
DELETE_ALL_QUERY_STRING - Static variable in class org.springframework.data.jpa.repository.query.QueryUtils
 
deleteAll(Iterable<? extends T>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
 
deleteAll() - 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
 
deleteById(ID) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
 
deleteInBatch(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.
deleteInBatch(Iterable<T>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
 
detectAlias(String) - Static method in class org.springframework.data.jpa.repository.query.QueryUtils
Deprecated.
use DeclaredQuery.getAlias() instead.
doCreateCountQuery(Object[]) - Method in class org.springframework.data.jpa.repository.query.AbstractJpaQuery
Creates a TypedQuery for counting using the given values.
doCreateCountQuery(Object[]) - Method in class org.springframework.data.jpa.repository.query.PartTreeJpaQuery
 
doCreateQuery(Object[]) - Method in class org.springframework.data.jpa.repository.query.AbstractJpaQuery
Creates a Query instance for the given values.
doCreateQuery(Object[]) - Method in class org.springframework.data.jpa.repository.query.PartTreeJpaQuery
 
doCreateRepositoryFactory() - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean
 
doExecute(AbstractJpaQuery, Object[]) - 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 new JpaSort.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 new JpaSort.Path pointing to the attribute type.

E

EnableJpaAuditing - Annotation Type in org.springframework.data.jpa.repository.config
Annotation to enable auditing in JPA via annotation configuration.
EnableJpaRepositories - Annotation Type in org.springframework.data.jpa.repository.config
Annotation to enable JPA repositories.
EntityGraph - Annotation Type in org.springframework.data.jpa.repository
Annotation to configure the JPA 2.1 EntityGraphs that should be used on repository methods.
EntityGraph.EntityGraphType - Enum 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 a SharedEntityManagerCreator for every EntityManagerFactory bean definition found in the application context to enable autowiring EntityManager 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
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.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 - Class in org.springframework.data.jpa.repository.query
A value type encapsulating an escape character for LIKE queries and the actually usage of it in escaping Strings.
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.
execute(Object[]) - Method in class org.springframework.data.jpa.repository.query.AbstractJpaQuery
 
execute(AbstractJpaQuery, Object[]) - Method in class org.springframework.data.jpa.repository.query.JpaQueryExecution
Executes the given AbstractStringBasedJpaQuery with the given ParameterBinder.
executeQueryWithResultStream(Query) - Method in enum 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
 
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

findAll() - Method in interface org.springframework.data.jpa.repository.JpaRepository
 
findAll(Sort) - Method in interface org.springframework.data.jpa.repository.JpaRepository
 
findAll(Example<S>) - Method in interface org.springframework.data.jpa.repository.JpaRepository
 
findAll(Example<S>, Sort) - Method in interface org.springframework.data.jpa.repository.JpaRepository
 
findAll(Specification<T>) - Method in interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
Returns all entities matching the given Specification.
findAll(Specification<T>, Pageable) - Method in interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
Returns a Page of entities matching the given Specification.
findAll(Specification<T>, Sort) - Method in interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
Returns all entities matching the given Specification and Sort.
findAll(Predicate) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaPredicateExecutor
 
findAll(Predicate, OrderSpecifier<?>...) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaPredicateExecutor
 
findAll(Predicate, Sort) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaPredicateExecutor
 
findAll(OrderSpecifier<?>...) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaPredicateExecutor
 
findAll(Predicate, Pageable) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaPredicateExecutor
 
findAll(Predicate) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaRepository
Deprecated.
 
findAll(Predicate, OrderSpecifier<?>...) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaRepository
Deprecated.
 
findAll(Predicate, Sort) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaRepository
Deprecated.
 
findAll(OrderSpecifier<?>...) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaRepository
Deprecated.
 
findAll(Predicate, Pageable) - Method in class org.springframework.data.jpa.repository.support.QuerydslJpaRepository
Deprecated.
 
findAll() - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
 
findAll(Sort) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
 
findAll(Pageable) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
 
findAll(Specification<T>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
 
findAll(Specification<T>, Pageable) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
 
findAll(Specification<T>, Sort) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
 
findAll(Example<S>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
 
findAll(Example<S>, Sort) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
 
findAll(Example<S>, Pageable) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
 
findAllById(Iterable<ID>) - Method in interface org.springframework.data.jpa.repository.JpaRepository
 
findAllById(Iterable<ID>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
 
findById(ID) - 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 or Optional.empty() if none found.
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(Specification<T>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
 
findOne(Example<S>) - 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.
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
 
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 given EntityPath.
fromEntityManager(EntityManager) - Static method in enum org.springframework.data.jpa.provider.PersistenceProvider
Determines the PersistenceProvider from the given EntityManager.
fromMetamodel(Metamodel) - Static method in enum org.springframework.data.jpa.provider.PersistenceProvider
Determines the PersistenceProvider from the given Metamodel.

G

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 the EntityManagerFactory.
getBeanDefinition(String, ConfigurableListableBeanFactory) - Static method in class org.springframework.data.jpa.util.BeanDefinitionUtils
Returns the BeanDefinition with the given name, obtained from the given BeanFactory 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 the EntityManagerFactory.
getBuilder() - Method in class org.springframework.data.jpa.repository.support.QuerydslRepositorySupport
Returns a PathBuilder for the configured domain type.
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(Specification<T>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
getCountQuery(Specification<S>, Class<S>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
Creates a new count query for the given Specification.
getCountQueryPlaceholder() - Method in enum 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
 
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>, EntityManager) - Static method in class org.springframework.data.jpa.repository.support.JpaEntityInformationSupport
Creates a JpaEntityInformation for the given domain class and EntityManager.
getEntityInformation(Class<T>) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactory
 
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
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
 
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
 
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
 
getKey() - Method in enum 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
 
getOne(ID) - Method in interface org.springframework.data.jpa.repository.JpaRepository
Returns a reference to the entity with the given identifier.
getOne(ID) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
 
getOrder() - Method in class org.springframework.data.jpa.repository.support.EntityManagerBeanDefinitionRegistrarPostProcessor
 
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 the Example.
getPredicate(Root<T>, CriteriaBuilder, Example<T>, EscapeCharacter) - Static method in class org.springframework.data.jpa.convert.QueryByExamplePredicateBuilder
Extract the Predicate representing the Example.
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 and from.
getProjectionFactory(ClassLoader, BeanFactory) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactory
 
getQuery(Specification<T>, Pageable) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
Creates a new TypedQuery from the given Specification.
getQuery(Specification<S>, Class<S>, Pageable) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
Creates a new TypedQuery from the given Specification.
getQuery(Specification<T>, Sort) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
Creates a TypedQuery for the given Specification and Sort.
getQuery(Specification<S>, Class<S>, Sort) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
Creates a TypedQuery for the given Specification and Sort.
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 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 current CrudMethodMetadata and potential EntityGraph information.
getQueryHintsForCount() - Method in interface org.springframework.data.jpa.repository.support.CrudMethodMetadata
Returns all query hints to be applied to count queries executed for the CRUD method.
getQueryLookupStrategy(QueryLookupStrategy.Key, QueryMethodEvaluationContextProvider) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactory
 
getQueryMethod() - Method in class org.springframework.data.jpa.repository.query.AbstractJpaQuery
 
getQueryString(String, String) - Static method in class org.springframework.data.jpa.repository.query.QueryUtils
Returns the query string for the given class name.
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
 
getRepositoryMethodMetadata() - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
 
getRequiredIdAttribute() - Method in interface org.springframework.data.jpa.repository.support.JpaEntityInformation
Returns the required identifier type.
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 given EntityManager
getType() - Method in class org.springframework.data.jpa.repository.query.JpaEntityGraph
Returns the EntityGraph.EntityGraphType of the EntityGraph 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
 

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(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.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
 
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
 
init() - Method in class org.springframework.data.jpa.repository.config.JpaRepositoryNameSpaceHandler
 
InstantConverter() - Constructor for class org.springframework.data.jpa.convert.threeten.Jsr310JpaConverters.InstantConverter
 
InstantConverter() - Constructor for class org.springframework.data.jpa.convert.threetenbp.ThreeTenBackPortJpaConverters.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.
isCollectionQuery() - Method in class org.springframework.data.jpa.repository.query.JpaQueryMethod
 
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.
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 EntityGraphs.
JpaEntityGraph(EntityGraph, String) - Constructor for class org.springframework.data.jpa.repository.query.JpaEntityGraph
Creates an JpaEntityGraph.
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.
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 register EscapeCharacter as root object to essentially expose an expose(…) 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 JPA Metamodel to find the domain class' id field.
JpaMetamodelEntityInformation(Class<T>, Metamodel) - Constructor for class org.springframework.data.jpa.repository.support.JpaMetamodelEntityInformation
Creates a new JpaMetamodelEntityInformation for the given domain class and Metamodel.
JpaMetamodelMappingContext - Class in org.springframework.data.jpa.mapping
MappingContext implementation based on a Jpa Metamodel.
JpaMetamodelMappingContext(Set<Metamodel>) - Constructor for class org.springframework.data.jpa.mapping.JpaMetamodelMappingContext
Creates a new JPA Metamodel based MappingContext.
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 given Method.
JpaParametersParameterAccessor - Class in org.springframework.data.jpa.repository.query
ParameterAccessor based on an Parameters instance.
JpaPersistableEntityInformation<T extends Persistable<ID>,ID> - Class in org.springframework.data.jpa.repository.support
Extension of JpaMetamodelEntityInformation that consideres methods of Persistable to lookup the id.
JpaPersistableEntityInformation(Class<T>, Metamodel) - Constructor for class org.springframework.data.jpa.repository.support.JpaPersistableEntityInformation
Creates a new JpaPersistableEntityInformation for the given domain class and Metamodel.
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 a PartTree.
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.
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
 
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
 
JpaSort - Class in org.springframework.data.jpa.domain
Sort option for queries that wraps JPA meta-model Attributes for sorting.
JpaSort(Attribute<?, ?>...) - Constructor for class org.springframework.data.jpa.domain.JpaSort
Creates a new JpaSort for the given attributes with the default sort direction.
JpaSort(JpaSort.Path<?, ?>...) - Constructor for class org.springframework.data.jpa.domain.JpaSort
Creates a new JpaSort instance with the given JpaSort.Paths.
JpaSort(Sort.Direction, Attribute<?, ?>...) - Constructor for class org.springframework.data.jpa.domain.JpaSort
Creates a new JpaSort for the given direction and attributes.
JpaSort(Sort.Direction, JpaSort.Path<?, ?>...) - Constructor for class org.springframework.data.jpa.domain.JpaSort
Creates a new JpaSort for the given direction and JpaSort.Paths.
JpaSort.JpaOrder - Class in org.springframework.data.jpa.domain
Custom 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 Attributes.
JpaSpecificationExecutor<T> - Interface in org.springframework.data.jpa.repository
Interface to allow execution of Specifications based on the JPA criteria API.
Jsr310JpaConverters - Class in org.springframework.data.jpa.convert.threeten
JPA 2.1 converters to turn JSR-310 types into legacy Dates.
Jsr310JpaConverters() - Constructor for class org.springframework.data.jpa.convert.threeten.Jsr310JpaConverters
 
Jsr310JpaConverters.InstantConverter - Class in org.springframework.data.jpa.convert.threeten
 
Jsr310JpaConverters.LocalDateConverter - Class in org.springframework.data.jpa.convert.threeten
 
Jsr310JpaConverters.LocalDateTimeConverter - Class in org.springframework.data.jpa.convert.threeten
 
Jsr310JpaConverters.LocalTimeConverter - Class in org.springframework.data.jpa.convert.threeten
 
Jsr310JpaConverters.ZoneIdConverter - Class in org.springframework.data.jpa.convert.threeten
 

L

LocalDateConverter() - Constructor for class org.springframework.data.jpa.convert.threeten.Jsr310JpaConverters.LocalDateConverter
 
LocalDateConverter() - Constructor for class org.springframework.data.jpa.convert.threetenbp.ThreeTenBackPortJpaConverters.LocalDateConverter
 
LocalDateTimeConverter() - Constructor for class org.springframework.data.jpa.convert.threeten.Jsr310JpaConverters.LocalDateTimeConverter
 
LocalDateTimeConverter() - Constructor for class org.springframework.data.jpa.convert.threetenbp.ThreeTenBackPortJpaConverters.LocalDateTimeConverter
 
LocalTimeConverter() - Constructor for class org.springframework.data.jpa.convert.threeten.Jsr310JpaConverters.LocalTimeConverter
 
LocalTimeConverter() - Constructor for class org.springframework.data.jpa.convert.threetenbp.ThreeTenBackPortJpaConverters.LocalTimeConverter
 
Lock - Annotation Type 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 multiple persistence.xml files into one.
MergingPersistenceUnitManager() - Constructor for class org.springframework.data.jpa.support.MergingPersistenceUnitManager
 
Modifying - Annotation Type 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.

N

not(Specification<T>) - Static method in interface org.springframework.data.jpa.domain.Specification
Negates the given Specification.
not(Specification<T>) - Static method in class org.springframework.data.jpa.domain.Specifications

O

of(char) - Static method in class org.springframework.data.jpa.repository.query.EscapeCharacter
 
of(EscapeCharacter) - Static method in class org.springframework.data.jpa.repository.support.JpaEvaluationContextExtension.JpaRootObject
 
of(Metamodel) - Static method in class org.springframework.data.jpa.util.JpaMetamodel
 
or(Specification<T>) - Method in interface org.springframework.data.jpa.domain.Specification
ORs the given specification to the current one.
or(Specification<T>) - Method in class org.springframework.data.jpa.domain.Specifications
or(Predicate, Predicate) - Method in class org.springframework.data.jpa.repository.query.JpaQueryCreator
 
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.convert.threetenbp - package org.springframework.data.jpa.convert.threetenbp
Spring Data JPA specific ThreeTenBp 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.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.

P

ParameterBinder - Class in org.springframework.data.jpa.repository.query
ParameterBinder is used to bind method parameters to a Query.
ParameterBinder(JpaParameters, Iterable<QueryParameterSetter>, boolean) - Constructor for class org.springframework.data.jpa.repository.query.ParameterBinder
Creates a new ParameterBinder for the given JpaParameters and QueryParameterSetters.
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 a PartTree.
path(A) - Static method in class org.springframework.data.jpa.domain.JpaSort
Creates a new JpaSort.Path for the given Attribute.
path(P) - Static method in class org.springframework.data.jpa.domain.JpaSort
Creates a new JpaSort.Path for the given PluralAttribute.
PersistenceProvider - Enum in org.springframework.data.jpa.provider
Enumeration representing persistence providers to be used.
postProcess(BeanDefinitionBuilder, RepositoryConfigurationSource) - Method in class org.springframework.data.jpa.repository.config.JpaRepositoryConfigExtension
 
postProcess(BeanDefinitionBuilder, AnnotationRepositoryConfigurationSource) - 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
 
potentiallyConvertEmptyCollection(Collection<T>) - Method in enum org.springframework.data.jpa.provider.PersistenceProvider
Potentially converts an empty collection to the appropriate representation of this PersistenceProvider, since some JPA providers cannot correctly handle empty collections.
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 given ConversionService in case we're running on Java 8.
Procedure - Annotation Type in org.springframework.data.jpa.repository.query
Annotation to declare JPA 2.1 stored procedure mappings directly on repository methods.
ProxyIdAccessor - Interface in org.springframework.data.jpa.provider
Interface for a persistence provider specific accessor of identifiers held in proxies.

Q

Query - Annotation Type 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 single CriteriaBuilder.and(Predicate...) combined Predicate for a given Example.
QueryByExamplePredicateBuilder() - Constructor for class org.springframework.data.jpa.convert.QueryByExamplePredicateBuilder
 
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
Creates a new Querydsl for the given EntityManager and PathBuilder.
QuerydslJpaPredicateExecutor<T> - Class in org.springframework.data.jpa.repository.support
Querydsl specific fragment for extending SimpleJpaRepository with an implementation for implementation for QuerydslPredicateExecutor.
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 and EntityManager and uses the given EntityPathResolver to translate the domain class into an EntityPath.
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 and EntityManager.
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 and EntityManager and uses the given EntityPathResolver to translate the domain class into an EntityPath.
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.
QueryExtractor - Interface in org.springframework.data.jpa.provider
Interface to hide different implementations to extract the original JPA query string from a Query.
QueryHints - Annotation Type in org.springframework.data.jpa.repository
Wrapper annotation to allow QueryHint annotations to be bound to methods.
QueryUtils - Class in org.springframework.data.jpa.repository.query
Simple utility class to create JPA queries.

R

readPage(TypedQuery<T>, Pageable, Specification<T>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
readPage(TypedQuery<S>, Class<S>, Pageable, Specification<S>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
Reads the given TypedQuery into a Page applying the given Pageable and Specification.
registerBeansForRoot(BeanDefinitionRegistry, RepositoryConfigurationSource) - Method in class org.springframework.data.jpa.repository.config.JpaRepositoryConfigExtension
 

S

save(S) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
 
saveAll(Iterable<S>) - Method in interface org.springframework.data.jpa.repository.JpaRepository
 
saveAll(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
 
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
 
setCreatedBy(U) - Method in class org.springframework.data.jpa.domain.AbstractAuditable
 
setCreatedDate(LocalDateTime) - Method in class org.springframework.data.jpa.domain.AbstractAuditable
 
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(EntityPathResolver) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactory
Configures the EntityPathResolver to be used.
setEntityPathResolver(ObjectProvider<EntityPathResolver>) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean
Configures the EntityPathResolver to be used.
setEnvironment(Environment) - Method in class org.springframework.data.jpa.support.ClasspathScanningPersistenceUnitPostProcessor
 
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(char) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean
 
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.
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 detect LockModeTypes and query hints to be applied to queries.
setResourceLoader(ResourceLoader) - Method in class org.springframework.data.jpa.support.ClasspathScanningPersistenceUnitPostProcessor
 
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.
SimpleJpaRepository<T,ID> - Class in org.springframework.data.jpa.repository.support
Default implementation of the CrudRepository interface.
SimpleJpaRepository(JpaEntityInformation<T, ?>, EntityManager) - Constructor for class org.springframework.data.jpa.repository.support.SimpleJpaRepository
Creates a new SimpleJpaRepository to manage objects of the given JpaEntityInformation.
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.
Specification<T> - Interface in org.springframework.data.jpa.domain
Specification in the sense of Domain Driven Design.
Specifications<T> - Class in org.springframework.data.jpa.domain
Deprecated.
since 2.0, use factory methods on Specification instead.

T

Temporal - Annotation Type in org.springframework.data.jpa.repository
Annotation to declare an appropriate TemporalType on query method parameters.
ThreeTenBackPortJpaConverters - Class in org.springframework.data.jpa.convert.threetenbp
JPA 2.1 converters to turn ThreeTen back port types into legacy Dates.
ThreeTenBackPortJpaConverters() - Constructor for class org.springframework.data.jpa.convert.threetenbp.ThreeTenBackPortJpaConverters
 
ThreeTenBackPortJpaConverters.InstantConverter - Class in org.springframework.data.jpa.convert.threetenbp
 
ThreeTenBackPortJpaConverters.LocalDateConverter - Class in org.springframework.data.jpa.convert.threetenbp
 
ThreeTenBackPortJpaConverters.LocalDateTimeConverter - Class in org.springframework.data.jpa.convert.threetenbp
 
ThreeTenBackPortJpaConverters.LocalTimeConverter - Class in org.springframework.data.jpa.convert.threetenbp
 
ThreeTenBackPortJpaConverters.ZoneIdConverter - Class in org.springframework.data.jpa.convert.threetenbp
 
toOrders(Sort, From<?, ?>, CriteriaBuilder) - Static method in class org.springframework.data.jpa.repository.query.QueryUtils
Turns the given Sort into Orders.
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 given Root and CriteriaQuery.
toPredicate(Root<T>, CriteriaQuery<?>, CriteriaBuilder) - Method in class org.springframework.data.jpa.domain.Specifications
Deprecated.
 
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
 
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.
tryGetFetchGraphHints(EntityManager, JpaEntityGraph, Class<?>) - Static method in class org.springframework.data.jpa.repository.query.Jpa21Utils
Returns a Map with hints for a JPA 2.1 fetch-graph or load-graph if running under JPA 2.1.

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 given Direction and properties.
unsafe(Sort.Direction, List<String>) - Static method in class org.springframework.data.jpa.domain.JpaSort
Creates new unsafe JpaSort based on given Direction and properties.
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.
valueOf(String) - Static method in enum org.springframework.data.jpa.provider.PersistenceProvider
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.springframework.data.jpa.repository.EntityGraph.EntityGraphType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.springframework.data.jpa.provider.PersistenceProvider
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.springframework.data.jpa.repository.EntityGraph.EntityGraphType
Returns an array containing the constants of this enum type, 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.
where(Specification<T>) - Static method in class org.springframework.data.jpa.domain.Specifications
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
 
withUnsafe(String...) - Method in class org.springframework.data.jpa.domain.JpaSort.JpaOrder
Creates new Sort with potentially unsafe Order instances.

Z

ZoneIdConverter() - Constructor for class org.springframework.data.jpa.convert.threeten.Jsr310JpaConverters.ZoneIdConverter
 
ZoneIdConverter() - Constructor for class org.springframework.data.jpa.convert.threetenbp.ThreeTenBackPortJpaConverters.ZoneIdConverter
 
A B C D E F G H I J L M N O P Q R S T U V W Z 
Skip navigation links
Spring Data JPA

Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.