DDC-3892: [GH-1502] Support association mapping in Embeddable #4763

Closed
opened 2026-01-22 14:48:52 +01:00 by admin · 3 comments
Owner

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, @OneToMany and other associations within @Embeddable

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`, `@OneToMany` and other associations within `@Embeddable`
admin added the New Feature label 2026-01-22 14:48:52 +01:00
admin closed this issue 2026-01-22 14:48:53 +01:00
Author
Owner

@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): Comment created by @doctrinebot: A related Github Pull-Request [GH-1502] was closed: https://github.com/doctrine/doctrine2/pull/1502
Author
Owner

@doctrinebot commented on GitHub (Sep 4, 2015):

Issue was closed with resolution "Invalid"

@doctrinebot commented on GitHub (Sep 4, 2015): Issue was closed with resolution "Invalid"
Author
Owner

@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.

@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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#4763