title: Symfony not updating a column in Command ORM
body: <p>I am using <code>php-mqtt</code>, and its working great. The below subscribe has no issues. It has a &quot;loop forever&quot; for the MQTT and it runs forever as it should. As devices connect, the <code>setMqttLastConnectedAt()</code> always works. But, the <code>setMqttConnectedServer()</code> only works for first few connections then stops updating. I thought it was the params, so that why I tried hardcoding the IP</p>
  <pre><code>$client-&gt;subscribe('/brokers/clients/#', function ($topic, $message) use ($io) {
      //        $message=json_decode($message);
                  $device-&gt;setMqttConnectedServer('10.11.0.6');
  //                $device-&gt;setMqttConnectedServer($this-&gt;params-&gt;get('mqttip'));
                  $device-&gt;setMqttLastConnectedAt(new \DateTime());
                  $this-&gt;em-&gt;persist($device);
                  $this-&gt;em-&gt;flush();
              }
  </code></pre>
  <p>But, its quite odd that it works several times, then stops just that one set method. I removed some code for simplicity, for example the selecting of the device, because it clearly always gets it, for it to update the connected time.</p>
  <p>So, why just this one column? And why does it work a few times, then stop?</p>
  <p>If you can point me in where to debug, I'd be happy to try to solve myself.</p>