@Repository public interface ImageHistoryRepository extends org.springframework.data.jpa.repository.JpaRepository<ImageHistoryJPA,java.lang.Integer>
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ImageHistoryJPA> |
findImageHistoryInLoop(int docId,
LanguageJPA language,
LoopEntryRefJPA loopEntryRef,
int no) |
java.util.List<ImageHistoryJPA> |
findImageHistoryNotInLoop(int docId,
LanguageJPA language,
int no) |
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAll, flush, getOne, save, saveAndFlushfindAll@Query(value="select ih from ImageHistoryJPA ih where ih.version.docId = ?1 and ih.loopEntryRef is null and ih.language = ?2 and ih.index = ?3") java.util.List<ImageHistoryJPA> findImageHistoryNotInLoop(int docId, LanguageJPA language, int no)
@Query(value="select ih from ImageHistoryJPA ih where ih.version.docId = ?1 and ih.language = ?2 and ih.loopEntryRef = ?3 and ih.index = ?4") java.util.List<ImageHistoryJPA> findImageHistoryInLoop(int docId, LanguageJPA language, LoopEntryRefJPA loopEntryRef, int no)