ReleaseTagRepository
The ReleaseTagRepository
interface is useful to manage the queries for the tag assigned when the releases are rejected
Author
N7ghtm4r3 - Tecknobit
See also
JpaRepository
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Modifying(clearAutomatically = true)
@Query(value = ""UPDATE " + REJECTED_TAGS_KEY + " SET "
+ COMMENT_KEY + "=:" + COMMENT_KEY
+ " WHERE " + IDENTIFIER_KEY + "=:" + IDENTIFIER_KEY", nativeQuery = true)
Method to execute the query to comment an existing RejectedTag
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Modifying(clearAutomatically = true)
@Query(value = "INSERT INTO " + REJECTED_TAGS_KEY +
" ("
+ IDENTIFIER_KEY + ","
+ TAG_KEY + ","
+ RELEASE_EVENT_KEY
+ " )"
+ " VALUES ("
+ ":" + IDENTIFIER_KEY + ","
+ ":" + TAG_KEY + ","
+ ":" + RELEASE_EVENT_KEY +
")", nativeQuery = true)
Method to execute the query to insert a new RejectedTag
Link copied to clipboard
Link copied to clipboard