I would go with the DBAL type (if a single column is sufficient). The reason is not performance, but the fact that it will work also outside the context of the ORM.
Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 22 January 2016 at 18:29, Alex <[email protected]> wrote: > Assuming that I want to model a value object that has a single member > inside doctrine 2, I can choose between an Embeddable with a single member > or a DBAL Type. Which one of the two approaches would be the most > performant one? > > -- > 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. > -- 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.
