public class BaseRepositoryImpl<T,ID extends Serializable> extends org.springframework.data.jpa.repository.support.SimpleJpaRepository<T,ID> implements BaseRepository<T,ID>
| 构造器和说明 |
|---|
BaseRepositoryImpl(Class<T> domainClass,
javax.persistence.EntityManager em) |
| 限定符和类型 | 方法和说明 |
|---|---|
Class<T> |
getDomainClass()
返回领域实体类
|
boolean |
support(String resourceName)
是否支持该资源
|
count, count, count, delete, deleteAll, deleteAll, deleteAllInBatch, deleteById, deleteInBatch, exists, existsById, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAllById, findById, findOne, findOne, flush, getCountQuery, getCountQuery, getOne, getQuery, getQuery, getQuery, getQuery, getQueryHints, getRepositoryMethodMetadata, readPage, readPage, save, saveAll, saveAndFlush, setRepositoryMethodMetadataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlushpublic boolean support(String resourceName)
BaseRepositorysupport 在接口中 BaseRepository<T,ID extends Serializable>resourceName - 资源名称public Class<T> getDomainClass()
BaseRepositorygetDomainClass 在接口中 BaseRepository<T,ID extends Serializable>getDomainClass 在类中 org.springframework.data.jpa.repository.support.SimpleJpaRepository<T,ID extends Serializable>Copyright © 2018. All rights reserved.