public class JdbcRepositoryFactory extends RepositoryFactorySupport
RepositoryFactorySupport.ImplementationMethodExecutionInterceptor, RepositoryFactorySupport.QueryExecutorMethodInterceptor| Constructor and Description |
|---|
JdbcRepositoryFactory(DataAccessStrategy dataAccessStrategy,
RelationalMappingContext context,
RelationalConverter converter,
ApplicationEventPublisher publisher,
NamedParameterJdbcOperations operations)
Creates a new
JdbcRepositoryFactory for the given DataAccessStrategy,
RelationalMappingContext and ApplicationEventPublisher. |
| Modifier and Type | Method and Description |
|---|---|
<T,ID> EntityInformation<T,ID> |
getEntityInformation(Class<T> aClass) |
protected Optional<QueryLookupStrategy> |
getQueryLookupStrategy(QueryLookupStrategy.Key key,
QueryMethodEvaluationContextProvider evaluationContextProvider) |
protected Class<?> |
getRepositoryBaseClass(RepositoryMetadata repositoryMetadata) |
protected Object |
getTargetRepository(RepositoryInformation repositoryInformation) |
void |
setRowMapperMap(RowMapperMap rowMapperMap) |
addQueryCreationListener, addRepositoryProxyPostProcessor, getProjectionFactory, getQueryMethods, getRepository, getRepository, getRepository, getRepositoryFragments, getRepositoryInformation, getRepositoryMetadata, getTargetRepositoryViaReflection, getTargetRepositoryViaReflection, setBeanClassLoader, setBeanFactory, setEvaluationContextProvider, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, validatepublic JdbcRepositoryFactory(DataAccessStrategy dataAccessStrategy, RelationalMappingContext context, RelationalConverter converter, ApplicationEventPublisher publisher, NamedParameterJdbcOperations operations)
JdbcRepositoryFactory for the given DataAccessStrategy,
RelationalMappingContext and ApplicationEventPublisher.dataAccessStrategy - must not be null.context - must not be null.converter - must not be null.publisher - must not be null.operations - must not be null.public void setRowMapperMap(RowMapperMap rowMapperMap)
rowMapperMap - must not be null consider RowMapperMap.EMPTY instead.public <T,ID> EntityInformation<T,ID> getEntityInformation(Class<T> aClass)
getEntityInformation in class RepositoryFactorySupportprotected Object getTargetRepository(RepositoryInformation repositoryInformation)
getTargetRepository in class RepositoryFactorySupportprotected Class<?> getRepositoryBaseClass(RepositoryMetadata repositoryMetadata)
getRepositoryBaseClass in class RepositoryFactorySupportprotected Optional<QueryLookupStrategy> getQueryLookupStrategy(@Nullable QueryLookupStrategy.Key key, QueryMethodEvaluationContextProvider evaluationContextProvider)
getQueryLookupStrategy in class RepositoryFactorySupportCopyright © 2017–2019 Pivotal Software, Inc.. All rights reserved.