handle
Host
Status
@Modifying(clearAutomatically = true
)
@Query(value = ""UPDATE " + HOSTS_KEY + " SET " +
STATUS_KEY + "=:" + STATUS_KEY +
_WHERE_ + IDENTIFIER_KEY + "=:" + IDENTIFIER_KEY",
nativeQuery = true
)
Query used to handle the current status of the host
Parameters
hostId
The identifier of the host
status
The current status of the host