On 26 August 2014 17:12, <[email protected]> wrote: > Suppose there's a User entity and it is composed of the following fields > (mapped to value objects in my app): username, email, password. > > From what you said, I'd have to change this to username_value (or > username_username if your config so), email_value, password_value. Is that > correct? >
Correct. The other way around is to define a column prefix: https://github.com/doctrine/doctrine2/blob/65f8357b46cf247405ca4bb5bf348e0ffc67854b/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php#L3221-L3231 Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ -- 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 http://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
