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 void
setEscapeCharacter
(EscapeCharacter escapeCharacter) Configures theEscapeCharacter
to be used with the repository.default void
setProjectionFactory
(ProjectionFactory projectionFactory) Configures theProjectionFactory
to be used with the repository.default void
Configures theCrudMethodMetadata
to be used with the repository.
-
Method Details
-
setEscapeCharacter
Configures theEscapeCharacter
to be used with the repository.- Parameters:
escapeCharacter
- must not be null.
-
setProjectionFactory
Configures theProjectionFactory
to be used with the repository.- Parameters:
projectionFactory
- must not be null.
-
setRepositoryMethodMetadata
Configures theCrudMethodMetadata
to be used with the repository.- Parameters:
metadata
- must not be null.
-