insertRejectedTag
@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
Parameters
rejectedTagId
: the identifier of the rejected tag
tag
: the value of the tag to insert
eventId
: the identifier of the event