@Repository(value="serverImageRepo") public interface DuracloudServerImageRepo extends org.springframework.data.jpa.repository.JpaRepository<ServerImage,Long>
| Modifier and Type | Method and Description |
|---|---|
ServerImage |
findLatest()
Discovers and returns the Server Image which is considered the latest,
indicating that it is the preferred image to use when starting a new
instance.
|
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, flush, getOne, save, saveAndFlush@Query(value="SELECT si FROM ServerImage si WHERE si.latest = true") ServerImage findLatest()
Copyright © 2015 DuraSpace. All rights reserved.