public class CommonMongodbRepository<E> extends MongodbRepository<E,Object>
mongoTemplate| 构造器和说明 |
|---|
CommonMongodbRepository(org.springframework.data.mongodb.core.MongoTemplate mongoTemplate,
Class<E> cls) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Class<E> |
getEntityClass() |
protected Object |
getId(E entity) |
findAllByField, findByIdForUpdateImpl, findByIdImpl, findMaxId, removeBatchImpl, removeImpl, saveBatchImpl, saveIfAbsentImpl, saveImpl, unlock, unlockBatchImpl, unlockImpl, updateBatchImpl, updateImplfindByIdForUpdateFromStore, findByIdFromStore, removeAllToStore, saveAllToStore, saveIfAbsentToStore, unlockAllToStore, updateAllToStoreprotected Class<E> getEntityClass()
getEntityClass 在类中 MongodbRepository<E,Object>Copyright © 2021. All rights reserved.