mirror of
https://github.com/doctrine/orm.git
synced 2026-04-29 09:23:20 +02:00
DDC-3892: [GH-1502] Support association mapping in Embeddable #4763
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 (Sep 4, 2015).
Originally assigned to: @Ocramius on GitHub.
Jira issue originally created by user @doctrinebot:
This issue is created automatically through a Github pull request on behalf of dimarick:
Url: https://github.com/doctrine/doctrine2/pull/1502
Message:
Allow
@ManyToOne,@OneToManyand other associations within@Embeddable@doctrinebot commented on GitHub (Sep 4, 2015):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-1502] was closed:
https://github.com/doctrine/doctrine2/pull/1502
@doctrinebot commented on GitHub (Sep 4, 2015):
Issue was closed with resolution "Invalid"
@doctrinebot commented on GitHub (Sep 4, 2015):
Comment created by dimarick:
Hibernate and JPA 2.0 supports this behavior:
http://docs.jboss.org/hibernate/orm/5.0/userGuide/en-US/html_single/#criteria-join-singular
https://en.wikibooks.org/wiki/Java_Persistence/Embeddables#Relationships
If you want serialize Embeddable, you can use \Serializable interface.