editRelease
@Modifying(clearAutomatically = true)
@Query(value = ""UPDATE " + RELEASES_KEY +
" SET " +
RELEASE_NOTES_KEY + "=:" + RELEASE_NOTES_KEY +
" WHERE " + IDENTIFIER_KEY + "=:" + IDENTIFIER_KEY", nativeQuery = true)
Method to execute the query to edit an existing Release
Parameters
releaseId
: the identifier of the release
releaseNotes
: the notes attached to the release
@Modifying(clearAutomatically = true)
@Query(value = ""UPDATE " + RELEASES_KEY +
" SET " +
RELEASE_VERSION_KEY + "=:" + RELEASE_VERSION_KEY + "," +
RELEASE_NOTES_KEY + "=:" + RELEASE_NOTES_KEY +
" WHERE " + IDENTIFIER_KEY + "=:" + IDENTIFIER_KEY", nativeQuery = true)
Method to execute the query to edit an existing Release
Parameters
releaseId
: the identifier of the release
releaseVersion
: the version of the release
releaseNotes
: the notes attached to the release