I try to configure entities for existing table in PostgreSQL database. Sequences in this database have names other than default doctrine names, so i have to account that in entity.
Webclient\db\LoginBundle\Entity\WebclientUsers:
type: entity
table: webclient.t_webclientusers
fields:
id:
type: integer
generator:
strategy: AUTO
sequenceGenerator:
sequenceName: webclient.s_webclientusers_id
email:
type: text
lifecycleCallbacks: { }
I tried also other strategy configurations, but i still having error:
Notice: Undefined variable: className in ****\Symfony\vendor\doctrine\lib\Doctrine\ORM\Mapping\ClassMetadataFactory.php line 343
What can I do with that?