insertRejectedReleaseEvent
@Modifying(clearAutomatically = true)
@Query(value = "INSERT INTO " + REJECTED_RELEASE_EVENTS_KEY +
" ("
+ IDENTIFIER_KEY + ","
+ RELEASE_EVENT_DATE_KEY + ","
+ RELEASE_IDENTIFIER_KEY + ","
+ RELEASE_EVENT_STATUS_KEY + ","
+ REASONS_KEY
+ " )"
+ " VALUES ("
+ ":" + IDENTIFIER_KEY + ","
+ ":" + RELEASE_EVENT_DATE_KEY + ","
+ ":" + RELEASE_IDENTIFIER_KEY + ","
+ ":" + RELEASE_EVENT_STATUS_KEY + ","
+ ":" + REASONS_KEY
+ ")", nativeQuery = true)
Method to execute the query to insert a new rejected release event (RejectedReleaseEvent)
Parameters
eventId
: the identifier of the event
releaseEventDate
: date when the event occurred
releaseId
: the identifier of the release when the event occurred
status
: the status of the event (Rejected)