public interface ResourceRepository extends SearchRepository<ResourceImpl,Integer>
Modifier and Type | Method and Description |
---|---|
ResourceImpl |
findByNameAndApplicationId(String name,
Integer applicationId) |
createSearchQuery, detach, getHistory, getRevision, getRevisionNumber, isUnique, isUnique, search, search, search, search
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAll, flush, getOne, save, saveAndFlush
findAll
count, delete, delete, delete, deleteAll, exists, findOne, save
@Query(value="select r from ResourceImpl r where r.name = ?1 and r.application.id = ?2") ResourceImpl findByNameAndApplicationId(String name, Integer applicationId)
Copyright © 2011–2019 aiticon GmbH. All rights reserved.