mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-2826: Add support for mapping collections of embeddable objects #3530
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Nov 28, 2013).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user songoko20000:
In Hibernate we can do something like this:
Basically a collection of value objects is mapped to a new table. Currently Doctrine2 is on its way to support value objects
However, this implementation won't support mapping a collection of objects to a new table and the only way to circumvent this issue is to treat the address an an entity and use an one-to-many unidirectional relationship through a many-to-many join table
@doctrinebot commented on GitHub (Feb 8, 2014):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-835] was closed:
https://github.com/doctrine/doctrine2/pull/835