我有兩個col數據類型的表。我的實體類是Symfony 2.3更新數據像6.000
/**
* @var float
*/
private $lat;
/**
* @var float
*/
private $long;
/**
* @var \DateTime
*/
private $dateAdded;
/**
* Set lat
*
* @param float $lat
* @return LocationMst
*/
public function setLat($lat)
{
$this->lat = $lat;
return $this;
}
/**
* Get lat
*
* @return float
*/
public function getLat()
{
return $this->lat;
}
/**
* Set long
*
* @param float $long
* @return LocationMst
*/
public function setLong($long)
{
$this->long = $long;
return $this;
}
/**
* Get long
*
* @return float
*/
public function getLong()
{
return $this->long;
}
,當我嘗試更新的數據則顯示ERR SQLSTATE [42000]:語法錯誤或訪問衝突:1064 我正在expeting它是對象映射問題...