start Update

@Modifying(clearAutomatically = true )
@Query(value = ""UPDATE " + UPDATES_KEY + " SET " + UPDATE_START_DATE_KEY + "=:" + UPDATE_START_DATE_KEY + "," + UPDATE_STARTED_BY_KEY + "=:" + UPDATE_STARTED_BY_KEY + "," + UPDATE_STATUS_KEY + "= 'IN_DEVELOPMENT'" + " WHERE " + IDENTIFIER_KEY + "=:" + IDENTIFIER_KEY", nativeQuery = true )
abstract fun startUpdate(@Param(value = "id") updateId: String, @Param(value = "start_date") startDate: Long, @Param(value = "started_by") startedBy: String)

Method to execute the query to start an existing ProjectUpdate

Parameters

updateId

: the update identifier

startDate

: the start date of the update

startedBy

: who start the update