Interface FederationUploadKeyRepository
-
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<FederationUploadKey,Long>
,org.springframework.data.repository.PagingAndSortingRepository<FederationUploadKey,Long>
,org.springframework.data.repository.Repository<FederationUploadKey,Long>
@Repository public interface FederationUploadKeyRepository extends org.springframework.data.repository.PagingAndSortingRepository<FederationUploadKey,Long>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<FederationUploadKey>
findAllUploadableKeys()
void
updateBatchTag(byte[] keyData, String batchTag)
-
-
-
Method Detail
-
findAllUploadableKeys
@Query("SELECT * FROM federation_upload_key WHERE (batch_tag is null or batch_tag = \'\')") List<FederationUploadKey> findAllUploadableKeys()
-
updateBatchTag
@Modifying @Query("update federation_upload_key set batch_tag = :batchTag where key_data = :keyData") void updateBatchTag(@Param("keyData") byte[] keyData, @Param("batchTag") String batchTag)
-
-