Module spring.data.jpa
Interface JpaRepositoryConfigurationAware
- All Known Subinterfaces:
JpaRepositoryImplementation<T,ID>
- All Known Implementing Classes:
QuerydslJpaPredicateExecutor,QuerydslJpaRepository,SimpleJpaRepository
public interface JpaRepositoryConfigurationAware
Interface to be implemented by classes that want to be aware of their configuration in a JPA repository context.
- Since:
- 3.3
- Author:
- Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidsetEscapeCharacter(EscapeCharacter escapeCharacter) Configures theEscapeCharacterto be used with the repository.default voidsetProjectionFactory(ProjectionFactory projectionFactory) Configures theProjectionFactoryto be used with the repository.default voidConfigures theCrudMethodMetadatato be used with the repository.
-
Method Details
-
setEscapeCharacter
Configures theEscapeCharacterto be used with the repository.- Parameters:
escapeCharacter- must not be null.
-
setProjectionFactory
Configures theProjectionFactoryto be used with the repository.- Parameters:
projectionFactory- must not be null.
-
setRepositoryMethodMetadata
Configures theCrudMethodMetadatato be used with the repository.- Parameters:
metadata- must not be null.
-