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