I found the solution :D

You have to declare an orm.xml file for this Value object and use the 
attribute-overwrites tags, like this:

<embeddable name="Component\Deal\Domain\Model\FullNameLeadVO" >
        <attribute-overrides>
            <attribute-override name="firstName">
                <field type="string" column="first_name" nullable="false"/>
            </attribute-override>
            <attribute-override name="lastName">
                <field type="string" column="last_name" nullable="false"/>
            </attribute-override>
        </attribute-overrides>
    </embeddable>

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to