public class MybatisRepositoryFactory
extends org.springframework.data.repository.core.support.RepositoryFactorySupport
| 构造器和说明 |
|---|
MybatisRepositoryFactory(org.springframework.data.relational.core.mapping.RelationalMappingContext mappingContext,
org.springframework.data.relational.core.dialect.Dialect dialect,
org.mybatis.spring.SqlSessionTemplate sqlSessionTemplate)
|
| 限定符和类型 | 方法和说明 |
|---|---|
<T,ID> org.springframework.data.repository.core.EntityInformation<T,ID> |
getEntityInformation(Class<T> aClass) |
protected Optional<org.springframework.data.repository.query.QueryLookupStrategy> |
getQueryLookupStrategy(org.springframework.data.repository.query.QueryLookupStrategy.Key key,
org.springframework.data.repository.query.QueryMethodEvaluationContextProvider evaluationContextProvider) |
protected Class<?> |
getRepositoryBaseClass(org.springframework.data.repository.core.RepositoryMetadata repositoryMetadata) |
protected Object |
getTargetRepository(org.springframework.data.repository.core.RepositoryInformation repositoryInformation) |
addInvocationListener, addQueryCreationListener, addRepositoryProxyPostProcessor, getProjectionFactory, getProjectionFactory, getQueryMethods, getRepository, getRepository, getRepository, getRepositoryFragments, getRepositoryInformation, getRepositoryMetadata, getTargetRepositoryViaReflection, getTargetRepositoryViaReflection, instantiateClass, setBeanClassLoader, setBeanFactory, setEvaluationContextProvider, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, validatepublic MybatisRepositoryFactory(org.springframework.data.relational.core.mapping.RelationalMappingContext mappingContext,
org.springframework.data.relational.core.dialect.Dialect dialect,
org.mybatis.spring.SqlSessionTemplate sqlSessionTemplate)
mappingContext - must not be null.dialect - must not be null.sqlSessionTemplate - must not be null.public <T,ID> org.springframework.data.repository.core.EntityInformation<T,ID> getEntityInformation(Class<T> aClass)
getEntityInformation 在类中 org.springframework.data.repository.core.support.RepositoryFactorySupportprotected Object getTargetRepository(org.springframework.data.repository.core.RepositoryInformation repositoryInformation)
getTargetRepository 在类中 org.springframework.data.repository.core.support.RepositoryFactorySupportprotected Class<?> getRepositoryBaseClass(org.springframework.data.repository.core.RepositoryMetadata repositoryMetadata)
getRepositoryBaseClass 在类中 org.springframework.data.repository.core.support.RepositoryFactorySupportprotected Optional<org.springframework.data.repository.query.QueryLookupStrategy> getQueryLookupStrategy(@Nullable org.springframework.data.repository.query.QueryLookupStrategy.Key key, org.springframework.data.repository.query.QueryMethodEvaluationContextProvider evaluationContextProvider)
getQueryLookupStrategy 在类中 org.springframework.data.repository.core.support.RepositoryFactorySupportCopyright © 2022. All rights reserved.