@Repository public interface UpgradeHistoryRepository extends RootRepository<UpgradeHistory>
| Modifier and Type | Method and Description |
|---|---|
UpgradeHistory |
getLastVersion() |
findByName, findByNameContainingIgnoreCase, findByNaturalIddeleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlushfindAll@Query(value="select lastVersion from UpgradeHistory lastVersion where lastVersion.upgradeDatetime = (select max(lastVersion.upgradeDatetime) from UpgradeHistory lastVersion)") UpgradeHistory getLastVersion()
Copyright © 2025. All rights reserved.