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 _ 

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
 
abstractAuditable - Static variable in class org.springframework.data.jpa.domain.QAbstractAuditable
 
AbstractAuditable_ - Class in org.springframework.data.jpa.domain
 
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
 
abstractPersistable - Static variable in class org.springframework.data.jpa.domain.QAbstractPersistable
 
AbstractPersistable_ - Class in org.springframework.data.jpa.domain
 
AbstractPersistable_() - Constructor for class org.springframework.data.jpa.domain.AbstractPersistable_
 
afterPropertiesSet() - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean
 
and(Specification<T>) - Method in class org.springframework.data.jpa.domain.Specifications
ANDs the given Specification to the current one.
and(Part, Predicate, Iterator<Object>) - Method in class org.springframework.data.jpa.repository.query.JpaQueryCreator
 
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) - 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) - 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
 
beanDefinition - Variable in class org.springframework.data.jpa.util.BeanDefinitionUtils.EntityManagerFactoryBeanDefinition
 
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
 
BeanDefinitionUtils.EntityManagerFactoryBeanDefinition() - Constructor for class org.springframework.data.jpa.util.BeanDefinitionUtils.EntityManagerFactoryBeanDefinition
 
beanFactory - Variable in class org.springframework.data.jpa.util.BeanDefinitionUtils.EntityManagerFactoryBeanDefinition
 
beanName - Variable in class org.springframework.data.jpa.util.BeanDefinitionUtils.EntityManagerFactoryBeanDefinition
 
bind(T) - Method in class org.springframework.data.jpa.repository.query.ParameterBinder
Binds the parameters to the given Query.
bind(Query, JpaParameters.JpaParameter, Object, int) - Method in class org.springframework.data.jpa.repository.query.ParameterBinder
 
bind(Query, JpaParameters.JpaParameter, Object, int) - Method in class org.springframework.data.jpa.repository.query.StringQueryParameterBinder
 
bindAndPrepare(Query) - Method in class org.springframework.data.jpa.repository.query.ParameterBinder
Binds the parameters to the given query and applies special parameter types (e.g. pagination).

C

canExtractQuery() - Method in interface org.springframework.data.jpa.repository.query.QueryExtractor
Returns whether the extractor is able to extract the original query string from a given Query.
canExtractQuery() - Method in enum org.springframework.data.jpa.repository.support.PersistenceProvider
 
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 prcessed.
ClasspathScanningPersistenceUnitPostProcessor(String) - Constructor for class org.springframework.data.jpa.support.ClasspathScanningPersistenceUnitPostProcessor
Creates a new ClasspathScanningPersistenceUnitPostProcessor using the given base package as scan base.
complete(Predicate, Sort, CriteriaQuery<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<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.
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.QueryDslJpaRepository
 
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) - Static method in class org.springframework.data.jpa.repository.query.JpaQueryLookupStrategy
Creates a QueryLookupStrategy for the given EntityManager and QueryLookupStrategy.Key.
createBinder(Object[]) - Method in class org.springframework.data.jpa.repository.query.AbstractJpaQuery
 
createCountQuery(Object[]) - Method in class org.springframework.data.jpa.repository.query.AbstractJpaQuery
 
createCountQueryFor(String) - Static method in class org.springframework.data.jpa.repository.query.QueryUtils
Creates a count projected query from the given original query.
createCountQueryFor(String, String) - Static method in class org.springframework.data.jpa.repository.query.QueryUtils
Creates a count projected query from the given original query.
createdBy - Static variable in class org.springframework.data.jpa.domain.AbstractAuditable_
 
createdBy - Variable in class org.springframework.data.jpa.domain.QAbstractAuditable
 
createdDate - Static variable in class org.springframework.data.jpa.domain.AbstractAuditable_
 
createdDate - Variable in class org.springframework.data.jpa.domain.QAbstractAuditable
 
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(Field, PropertyDescriptor, JpaPersistentEntityImpl<?>, SimpleTypeHolder) - Method in class org.springframework.data.jpa.mapping.JpaMetamodelMappingContext
 
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.QueryDslJpaRepository
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

DefaultJpaEntityMetadata<T> - Class in org.springframework.data.jpa.repository.support
Default implementation for JpaEntityMetadata.
DefaultJpaEntityMetadata(Class<T>) - Constructor for class org.springframework.data.jpa.repository.support.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(ID) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
 
delete(T) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
 
delete(Iterable<? extends 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() - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
 
deleteAllInBatch() - Method in interface org.springframework.data.jpa.repository.JpaRepository
Deletes all entites in a batch call.
deleteAllInBatch() - 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
Resolves the alias for the entity to be retrieved from the given JPA query.
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(Attribute<S, U>) - 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(PluralAttribute<S, ?, U>) - 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.

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
 
equals(Object) - Method in class org.springframework.data.jpa.domain.AbstractPersistable
 
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.
executeCountQuery(TypedQuery<Long>) - Static method in class org.springframework.data.jpa.repository.query.QueryUtils
Executes a count query and transparently sums up all values returned.
exists(ID) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
 
extractQueryString(Query) - Method in interface org.springframework.data.jpa.repository.query.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(Iterable<ID>) - 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.QueryDslJpaRepository
 
findAll(Predicate, OrderSpecifier<?>...) - Method in class org.springframework.data.jpa.repository.support.QueryDslJpaRepository
 
findAll(Predicate, Pageable) - Method in class org.springframework.data.jpa.repository.support.QueryDslJpaRepository
 
findAll() - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
 
findAll(Iterable<ID>) - 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
 
findOne(Specification<T>) - Method in interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
Returns a single entity matching the given Specification.
findOne(Predicate) - Method in class org.springframework.data.jpa.repository.support.QueryDslJpaRepository
 
findOne(ID) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
 
findOne(Specification<T>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
 
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.
fromEntityManager(EntityManager) - Static method in enum org.springframework.data.jpa.repository.support.PersistenceProvider
Determines the PersistenceProvider from the given EntityManager.

G

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.
getBuilder() - Method in class org.springframework.data.jpa.repository.support.QueryDslRepositorySupport
Returns a PathBuilder for the configured domain type.
getCompositeIdAttributeValue(Serializable, String) - Method in interface org.springframework.data.jpa.repository.support.JpaEntityInformation
Extracts the value for the given id attribute from a composite id
getCompositeIdAttributeValue(Serializable, String) - Method in class org.springframework.data.jpa.repository.support.JpaMetamodelEntityInformation
 
getCountQuery(Specification<T>) - 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.repository.support.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
 
getEntityInformation() - Method in class org.springframework.data.jpa.repository.query.JpaQueryMethod
 
getEntityInformation(Class<T>) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactory
 
getEntityManager() - Method in class org.springframework.data.jpa.repository.query.AbstractJpaQuery
 
getEntityManager() - Method in class org.springframework.data.jpa.repository.support.QueryDslRepositorySupport
Returns the EntityManager.
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.support.DefaultJpaEntityMetadata
 
getEntityName() - Method in class org.springframework.data.jpa.repository.support.JpaEntityInformationSupport
 
getEntityName() - Method in interface org.springframework.data.jpa.repository.support.JpaEntityMetadata
Returns the name of the entity.
getEntityName() - Method in class org.springframework.data.jpa.repository.support.JpaMetamodelEntityInformation
 
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.
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
 
getIdType() - Method in class org.springframework.data.jpa.repository.support.JpaMetamodelEntityInformation
 
getJavaType() - Method in class org.springframework.data.jpa.repository.support.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.
getMetadata(Class<T>, EntityManager) - Static method in class org.springframework.data.jpa.repository.support.JpaEntityInformationSupport
Creates a JpaEntityInformation for the given domain class and EntityManager.
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
 
getPageable() - Method in class org.springframework.data.jpa.repository.query.ParameterBinder
Returns the Pageable of the parameters, if available.
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
 
getQuery(Specification<T>, 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.
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.
getQueryLookupStrategy(QueryLookupStrategy.Key) - 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
 
getRepositoryFactoryClassName() - Method in class org.springframework.data.jpa.repository.config.JpaRepositoryConfigExtension
 
getSort() - Method in class org.springframework.data.jpa.repository.query.ParameterBinder
Returns the sort instance to be used for query creation.
getTargetRepository(RepositoryMetadata) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactory
 
getTargetRepository(RepositoryMetadata, 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.

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
 
hashCode() - Method in class org.springframework.data.jpa.domain.AbstractPersistable
 
hasNamedParameter(Query) - Static method in class org.springframework.data.jpa.repository.query.QueryUtils
Returns whether the given Query contains named parameters.

I

id - Static variable in class org.springframework.data.jpa.domain.AbstractPersistable_
 
id - Variable in class org.springframework.data.jpa.domain.QAbstractAuditable
 
id - Variable in class org.springframework.data.jpa.domain.QAbstractPersistable
 
init() - Method in class org.springframework.data.jpa.repository.config.JpaRepositoryNameSpaceHandler
 
isCollectionQuery() - Method in class org.springframework.data.jpa.repository.query.JpaQueryMethod
 
isEntityManagerOfType(EntityManager, String) - Static method in class org.springframework.data.jpa.repository.utils.JpaClassUtils
Returns whether the given EntityManager is of the given type.
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
 
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.

J

JPA_MAPPING_CONTEXT_BEAN_NAME - Static variable in class org.springframework.data.jpa.repository.config.JpaRepositoryConfigExtension
 
JpaClassUtils - Class in org.springframework.data.jpa.repository.utils
Utility class to work with classes.
JpaCountQueryCreator - Class in org.springframework.data.jpa.repository.query
Special JpaQueryCreator that creates a count projecting query.
JpaCountQueryCreator(PartTree, Class<?>, 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(String, EntityGraph.EntityGraphType) - Constructor for class org.springframework.data.jpa.repository.query.JpaEntityGraph
Creates an JpaEntityGraph.
JpaEntityInformation<T,ID extends Serializable> - Interface in org.springframework.data.jpa.repository.support
Extension of EntityInformation to capture aditional JPA specific information about entities.
JpaEntityInformationSupport<T,ID extends Serializable> - 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.support
JPA specific extension of EntityMetadata.
JpaMetamodelEntityInformation<T,ID extends Serializable> - 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(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.
JpaPersistableEntityInformation<T extends Persistable<ID>,ID extends Serializable> - 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, Class<?>, 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, QueryExtractor) - Constructor for class org.springframework.data.jpa.repository.query.JpaQueryMethod
Creates a JpaQueryMethod.
JpaRepository<T,ID extends Serializable> - 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 extends Serializable> - 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() - Constructor for class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean
 
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.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.

L

lastModifiedBy - Static variable in class org.springframework.data.jpa.domain.AbstractAuditable_
 
lastModifiedBy - Variable in class org.springframework.data.jpa.domain.QAbstractAuditable
 
lastModifiedDate - Static variable in class org.springframework.data.jpa.domain.AbstractAuditable_
 
lastModifiedDate - Variable in class org.springframework.data.jpa.domain.QAbstractAuditable
 
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 method should be regarded as modifying query.

N

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

O

or(Specification<T>) - Method in class org.springframework.data.jpa.domain.Specifications
ORs the given specification to the current one.
or(Predicate, Predicate) - Method in class org.springframework.data.jpa.repository.query.JpaQueryCreator
 
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.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 exectue queries against JPA.
org.springframework.data.jpa.repository.support - package org.springframework.data.jpa.repository.support
JPA repository implementations.
org.springframework.data.jpa.repository.utils - package org.springframework.data.jpa.repository.utils
JPA specific utility functions.
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
 

P

ParameterBinder - Class in org.springframework.data.jpa.repository.query
ParameterBinder is used to bind method parameters to a Query.
ParameterBinder(JpaParameters, Object[]) - Constructor for class org.springframework.data.jpa.repository.query.ParameterBinder
Creates a new 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 a PartTree.
PartTreeJpaQuery(JpaQueryMethod, EntityManager) - Constructor for class org.springframework.data.jpa.repository.query.PartTreeJpaQuery
Creates a new PartTreeJpaQuery.
path(Attribute<T, S>) - Static method in class org.springframework.data.jpa.domain.JpaSort
Creates a new JpaSort.Path for the given Attribute.
path(PluralAttribute<T, ?, S>) - 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.repository.support
Enumeration representing persistence providers to be used.
postProcess(BeanDefinitionBuilder, RepositoryConfigurationSource) - 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
 
Procedure - Annotation Type in org.springframework.data.jpa.repository.query
Annotation to declare JPA 2.1 stored procedure mappings directly on repository methods.

Q

QAbstractAuditable - Class in org.springframework.data.jpa.domain
QAbstractAuditable is a Querydsl query type for AbstractAuditable
QAbstractAuditable(String) - Constructor for class org.springframework.data.jpa.domain.QAbstractAuditable
 
QAbstractAuditable(Path<? extends AbstractAuditable>) - Constructor for class org.springframework.data.jpa.domain.QAbstractAuditable
 
QAbstractAuditable(PathMetadata<?>) - Constructor for class org.springframework.data.jpa.domain.QAbstractAuditable
 
QAbstractPersistable - Class in org.springframework.data.jpa.domain
QAbstractPersistable is a Querydsl query type for AbstractPersistable
QAbstractPersistable(String) - Constructor for class org.springframework.data.jpa.domain.QAbstractPersistable
 
QAbstractPersistable(Path<? extends AbstractPersistable>) - Constructor for class org.springframework.data.jpa.domain.QAbstractPersistable
 
QAbstractPersistable(PathMetadata<?>) - Constructor for class org.springframework.data.jpa.domain.QAbstractPersistable
 
Query - Annotation Type in org.springframework.data.jpa.repository
Annotation to declare finder queries directly on repository methods.
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.
QueryDslJpaRepository<T,ID extends Serializable> - Class in org.springframework.data.jpa.repository.support
QueryDsl specific extension of SimpleJpaRepository which adds implementation for QueryDslPredicateExecutor.
QueryDslJpaRepository(JpaEntityInformation<T, ID>, EntityManager) - Constructor for class org.springframework.data.jpa.repository.support.QueryDslJpaRepository
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
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.repository.query
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
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(Iterable<S>) - Method in interface org.springframework.data.jpa.repository.JpaRepository
 
save(S) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
 
save(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
 
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.
setCreatedBy(U) - Method in class org.springframework.data.jpa.domain.AbstractAuditable
 
setCreatedDate(DateTime) - 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.
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(DateTime) - 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 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
 
SimpleJpaRepository<T,ID extends Serializable> - 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
Helper class to easily combine Specification instances.
StringQueryParameterBinder - Class in org.springframework.data.jpa.repository.query
ParameterBinder that takes StringQuery.LikeParameterBindings encapsulated in a StringQuery into account.
StringQueryParameterBinder(JpaParameters, Object[], StringQuery) - Constructor for class org.springframework.data.jpa.repository.query.StringQueryParameterBinder
Creates a new StringQueryParameterBinder from the given Parameters, method arguments and StringQuery.

T

Temporal - Annotation Type in org.springframework.data.jpa.repository
Annotation to declare an appropriate TemporalType on query method parameters.
toOrders(Sort, Root<?>, 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
 
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.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.

U

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.repository.EntityGraph.EntityGraphType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.springframework.data.jpa.repository.support.PersistenceProvider
Returns the enum constant of this type with the specified name.
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.
values() - Static method in enum org.springframework.data.jpa.repository.support.PersistenceProvider
Returns an array containing the constants of this enum type, in the order they are declared.

W

where(Specification<T>) - Static method in class org.springframework.data.jpa.domain.Specifications
Simple static factory method to add some syntactic sugar around a Specification.

_

_super - Variable in class org.springframework.data.jpa.domain.QAbstractAuditable
 
A B C D E F G H I J L M N O P Q R S T U V W _ 
Spring Data JPA

Copyright © 2011-2014-2014 Pivotal Software, Inc.. All Rights Reserved.