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
)
Method to execute the query to start an existing Update
Parameters
updateId
The update identifier
startDate
The start date of the update
startedBy
Who start the update