title: Symfony 2.3 Updating the data like 6.000
body: <p>I have table with 2 col datatype double. my entity class is </p>
  
  <pre><code>/**
   * @var float
   */
  private $lat;
  
  /**
   * @var float
   */
  private $long;
  
  /**
   * @var \DateTime
   */
  private $dateAdded;
  /**
   * Set lat
   *
   * @param float $lat
   * @return LocationMst
   */
  public function setLat($lat)
  {
      $this-&gt;lat = $lat;
  
      return $this;
  }
  
  /**
   * Get lat
   *
   * @return float 
   */
  public function getLat()
  {
      return $this-&gt;lat;
  }
  
  /**
   * Set long
   *
   * @param float $long
   * @return LocationMst
   */
  public function setLong($long)
  {
      $this-&gt;long = $long;
  
      return $this;
  }
  
  /**
   * Get long
   *
   * @return float 
   */
  public function getLong()
  {
      return $this-&gt;long;
  }
  </code></pre>
  
  <p>when i am trying to update the data it is showing err
  SQLSTATE[42000]: Syntax error or access violation: 1064
  i am expeting it is object mapping issue ...</p>