Prova detta
namespace MyB\Entity;
/**
* MyB\Entity\Brand
*
* @orm:Table(name="""Main"".""Brand""")
* @orm:Entity
*/
class Brand
{
/**
* @var integer $brandid
*
* @orm:Column(name="""BrandId""", type="integer", nullable=false)
* @orm:Id
* @orm:GeneratedValue(strategy="SEQUENCE")
* @orm:SequenceGenerator(sequenceName="""Main"".""Brand_BrandId_seq""", allocationSize="1", initialValue="1")
*/
private $brandid;
/**
* @var string $brandname
*
* @orm:Column(name="""BrandName""", type="string", length=32, nullable=false)
*/
private $brandname;
/**
* Set name.
*
* @param string $name
*/
public function setName($name) {
$this->brandname = $name;
}
}
I postgres måste varje ord vara skiftlägeskänsligt.