setAsFinished
@Modifying(clearAutomatically = true)
@Query(value = ""UPDATE " + RELEASES_KEY + " SET "
+ RELEASE_STATUS_KEY + "='Finished'"
+ " WHERE " + RELEASE_STATUS_KEY + "='Latest' AND "
+ PROJECT_KEY + "=:" + PROJECT_KEY", nativeQuery = true)
Method to execute the query to set as finished the existing latest releases in a project