Spring Data Jpa
A B C D E F G H I J 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
 
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
 
AbstractStringBasedJpaQuery - Class in org.springframework.data.jpa.repository.query
Base class for String based JPA queries.
AbstractStringBasedJpaQuery(JpaQueryMethod, EntityManager) - Constructor for class org.springframework.data.jpa.repository.query.AbstractStringBasedJpaQuery
Creates a new AbstractStringBasedJpaQuery.
afterPropertiesSet() - Method in class org.springframework.data.jpa.domain.support.AuditingEntityListener
 
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.
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.
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 to add a depends-on from a LocalEntityManagerFactoryBean or LocalContainerEntityManagerFactoryBean towards the aspect bean configured via &lt;context:spring-configured&gt;.
AuditingBeanFactoryPostProcessor() - Constructor for class org.springframework.data.jpa.domain.support.AuditingBeanFactoryPostProcessor
 
AuditingEntityListener<T> - 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

bind(Query) - Method in class org.springframework.data.jpa.repository.query.ParameterBinder
Binds the parameters to the given Query.
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.
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() - Method in interface org.springframework.data.jpa.repository.JpaRepository
 
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 interface org.springframework.data.jpa.repository.QueryDslPredicateExecutor
Returns the number of instances that the given Predicate 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.
createCountQuery(ParameterBinder) - Method in class org.springframework.data.jpa.repository.query.AbstractStringBasedJpaQuery
Create a count Query with the given ParameterBinder.
createCountQuery(Object[]) - Method in class org.springframework.data.jpa.repository.query.PartTreeJpaQuery
 
createCountQueryFor(String) - Static method in class org.springframework.data.jpa.repository.query.QueryUtils
Creates a count projected query from the given orginal query.
createPath(Class<T>) - Method in interface org.springframework.data.jpa.repository.support.QueryDslJpaRepository.EntityPathResolver
 
createQuery(ParameterBinder) - Method in class org.springframework.data.jpa.repository.query.AbstractStringBasedJpaQuery
Create a Query with the given ParameterBinder.
createQuery(Object[]) - Method in class org.springframework.data.jpa.repository.query.PartTreeJpaQuery
 
createRepositoryFactory(EntityManager) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean
Returns a RepositoryFactorySupport.
createSingleRepositoryConfigInformationFor(Element) - Method in class org.springframework.data.jpa.repository.config.SimpleJpaRepositoryConfiguration
 

D

delete(T) - Method in interface org.springframework.data.jpa.repository.JpaRepository
 
delete(Iterable<? extends T>) - Method in interface org.springframework.data.jpa.repository.JpaRepository
 
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(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 interface org.springframework.data.jpa.repository.JpaRepository
 
deleteAll() - 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.
doCreateRepositoryFactory() - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean
 
doExecute(JpaQueryExecution, Object[]) - Method in class org.springframework.data.jpa.repository.query.AbstractJpaQuery
 
doExecute(JpaQueryExecution, Object[]) - Method in class org.springframework.data.jpa.repository.query.AbstractStringBasedJpaQuery
 
doExecute(AbstractStringBasedJpaQuery, ParameterBinder) - Method in class org.springframework.data.jpa.repository.query.JpaQueryExecution
Method to implement AbstractStringBasedJpaQuery executions by single enum values.
doExecute(PartTreeJpaQuery, Object[]) - Method in class org.springframework.data.jpa.repository.query.JpaQueryExecution
 
doExecute(JpaQueryExecution, Object[]) - Method in class org.springframework.data.jpa.repository.query.PartTreeJpaQuery
 

E

equals(Object) - Method in class org.springframework.data.jpa.domain.AbstractPersistable
 
execute(Object[]) - Method in class org.springframework.data.jpa.repository.query.AbstractJpaQuery
 
execute(AbstractStringBasedJpaQuery, ParameterBinder) - Method in class org.springframework.data.jpa.repository.query.JpaQueryExecution
Executes the given AbstractStringBasedJpaQuery with the given ParameterBinder.
execute(PartTreeJpaQuery, Object[]) - Method in class org.springframework.data.jpa.repository.query.JpaQueryExecution
 
exists(ID) - Method in interface org.springframework.data.jpa.repository.JpaRepository
 
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(Pageable) - 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(Predicate) - Method in interface org.springframework.data.jpa.repository.QueryDslPredicateExecutor
Returns all entities matching the given Predicate.
findAll(Predicate, OrderSpecifier<?>...) - Method in interface org.springframework.data.jpa.repository.QueryDslPredicateExecutor
Returns all entities matching the given Predicate applying the given OrderSpecifiers.
findAll(Predicate, Pageable) - Method in interface org.springframework.data.jpa.repository.QueryDslPredicateExecutor
Returns a Page of entities matching the given Predicate.
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(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
 
findOne(ID) - Method in interface org.springframework.data.jpa.repository.JpaRepository
 
findOne(Specification<T>) - Method in interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
Returns a single entity matching the given Specification.
findOne(Predicate) - Method in interface org.springframework.data.jpa.repository.QueryDslPredicateExecutor
Returns a single entity matching the given Predicate.
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.

G

getAutoconfigRepositoryInformation(String) - Method in class org.springframework.data.jpa.repository.config.SimpleJpaRepositoryConfiguration
 
getBuilder(Class<T>) - Method in class org.springframework.data.jpa.repository.support.QueryDslRepositorySupport
Returns a PathBuilder for the given type.
getCreatedBy() - Method in class org.springframework.data.jpa.domain.AbstractAuditable
 
getCreatedDate() - Method in class org.springframework.data.jpa.domain.AbstractAuditable
 
getEntityInformation(Class<T>) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactory
 
getEntityManager() - Method in class org.springframework.data.jpa.repository.query.AbstractJpaQuery
 
getEntityManagerFactoryRef() - Method in class org.springframework.data.jpa.repository.config.SimpleJpaRepositoryConfiguration
Returns the name of the entity manager factory bean.
getEntityName(Class<?>) - Static method in class org.springframework.data.jpa.repository.utils.JpaClassUtils
Returns the name ot the entity represented by this class.
getExecution() - Method in class org.springframework.data.jpa.repository.query.AbstractJpaQuery
 
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
 
getIdType() - Method in class org.springframework.data.jpa.repository.support.JpaMetamodelEntityInformation
 
getLastModifiedBy() - Method in class org.springframework.data.jpa.domain.AbstractAuditable
 
getLastModifiedDate() - Method in class org.springframework.data.jpa.domain.AbstractAuditable
 
getMetadata(Class<T>, EntityManager) - Static method in class org.springframework.data.jpa.repository.utils.JpaClassUtils
Creates a JpaEntityInformation for the given domain class and EntityManager.
getPageable() - Method in class org.springframework.data.jpa.repository.query.ParameterBinder
Returns the Pageable of the parameters, if available.
getParameters() - Method in class org.springframework.data.jpa.repository.query.AbstractJpaQuery
 
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, Class<?>) - Static method in class org.springframework.data.jpa.repository.query.QueryUtils
Returns the query string for the given class.
getRepositoryBaseClass(Class<?>) - Method in class org.springframework.data.jpa.repository.support.JpaRepositoryFactory
 
getRepositoryBaseInterface() - Method in class org.springframework.data.jpa.repository.config.SimpleJpaRepositoryConfiguration
 
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 RepositorySupport instance with the given EntityManager

H

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

init() - Method in class org.springframework.data.jpa.repository.config.JpaRepositoryNameSpaceHandler
 
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
 

J

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, ParameterAccessor, Class<?>, EntityManager) - Constructor for class org.springframework.data.jpa.repository.query.JpaCountQueryCreator
Creates a new JpaCountQueryCreator.
JpaEntityInformation<T,ID extends Serializable> - Interface in org.springframework.data.jpa.repository.support
Extension of EntityInformation to capture aditional JPA specific information about entities.
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.
JpaPersistableEntityInformation<T extends org.springframework.data.domain.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.
JpaQueryCreator - Class in org.springframework.data.jpa.repository.query
Query creator to create a CriteriaQuery from a PartTree.
JpaQueryCreator(PartTree, ParameterAccessor, Class<?>, EntityManager) - 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, 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.
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 JpaRepository<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
 
JpaSpecificationExecutor<T> - Interface in org.springframework.data.jpa.repository
Interface to allow execution of Specifications based on the JPA criteria API.

M

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.repository - package org.springframework.data.jpa.repository
Interfaces and annotations for JPA specific 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 utitlity functions.

P

ParameterBinder - Class in org.springframework.data.jpa.repository.query
ParameterBinder is used to bind method parameters to a Query.
ParameterBinder(Parameters, 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.
postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in class org.springframework.data.jpa.domain.support.AuditingBeanFactoryPostProcessor
 

Q

Query - Annotation Type in org.springframework.data.jpa.repository
Annotation to declare finder queries directly on repository methods.
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, QueryDslJpaRepository.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 QueryDslJpaRepository.EntityPathResolver to translate the domain class into an EntityPath.
QueryDslJpaRepository.EntityPathResolver - Interface in org.springframework.data.jpa.repository.support
Strategy interface to abstract the ways to translate an plain domain class into a EntityPath.
QueryDslPredicateExecutor<T> - Interface in org.springframework.data.jpa.repository
Interface to allow execution of QueryDsl Predicate instances.
QueryDslRepositorySupport - Class in org.springframework.data.jpa.repository.support
Base class for implementing repositories using QueryDsl library.
QueryDslRepositorySupport() - Constructor for class org.springframework.data.jpa.repository.support.QueryDslRepositorySupport
 
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

READ_ALL_QUERY - Static variable in class org.springframework.data.jpa.repository.query.QueryUtils
 

S

save(T) - Method in interface org.springframework.data.jpa.repository.JpaRepository
 
save(Iterable<? extends T>) - Method in interface org.springframework.data.jpa.repository.JpaRepository
 
save(T) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
 
save(Iterable<? extends T>) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
 
saveAndFlush(T) - Method in interface org.springframework.data.jpa.repository.JpaRepository
Saves an entity and flushes changes instantly.
saveAndFlush(T) - Method in class org.springframework.data.jpa.repository.support.SimpleJpaRepository
 
setAuditorAware(AuditorAware<T>) - Method in class org.springframework.data.jpa.domain.support.AuditingEntityListener
Setter to inject a AuditorAware component to retrieve the current auditor.
setCreatedBy(U) - Method in class org.springframework.data.jpa.domain.AbstractAuditable
 
setCreatedDate(DateTime) - Method in class org.springframework.data.jpa.domain.AbstractAuditable
 
setDateTimeForNow(boolean) - Method in class org.springframework.data.jpa.domain.support.AuditingEntityListener
Setter do determine if Auditable.setCreatedDate(DateTime) and Auditable.setLastModifiedDate(DateTime) shall be filled with the current Java time.
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
 
setModifyOnCreation(boolean) - Method in class org.springframework.data.jpa.domain.support.AuditingEntityListener
Set this to false if you want to treat entity creation as modification and thus set the current date as modification date, too.
SimpleJpaRepository<T,ID extends Serializable> - Class in org.springframework.data.jpa.repository.support
Default implementation of the Repository interface.
SimpleJpaRepository(JpaEntityInformation<T, ID>, EntityManager) - Constructor for class org.springframework.data.jpa.repository.support.SimpleJpaRepository
Creates a new SimpleJpaRepository to manage objects of the given domain type.
SimpleJpaRepositoryConfiguration - Class in org.springframework.data.jpa.repository.config
 
SimpleJpaRepositoryConfiguration(Element) - Constructor for class org.springframework.data.jpa.repository.config.SimpleJpaRepositoryConfiguration
 
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.

T

toJpaDirection(Sort.Order) - Static method in class org.springframework.data.jpa.repository.query.QueryUtils
 
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
 
touch(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.

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.

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.

A B C D E F G H I J M N O P Q R S T U V W
Spring Data Jpa

Copyright © 2011 SpringSource. All Rights Reserved.