edit
Service
@Modifying(clearAutomatically = true
)
@Query(value = ""UPDATE " + SERVICES_KEY + " SET " +
NAME_KEY + "=:" + NAME_KEY + "," +
SERVICE_PATH_KEY + "=:" + SERVICE_PATH_KEY +
_WHERE_ + IDENTIFIER_KEY + "=:" + IDENTIFIER_KEY",
nativeQuery = true
)
Query used to edit an existing service
Parameters
serviceId
The identifier of the service
serviceName
The name of the service
servicePath
The path of the service inside the filesystem of the host