Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple discrimination levels in annotation confuses ORM #9

Closed
xphere opened this issue Oct 21, 2010 · 3 comments
Closed

Multiple discrimination levels in annotation confuses ORM #9

xphere opened this issue Oct 21, 2010 · 3 comments

Comments

@xphere
Copy link

xphere commented Oct 21, 2010

Suppose an inheritance tree like the above:

Content
    Gallery
    Media
        Video
        Image

I want the Gallery/Media discrimination to be on a separated table, so I annotate it in Content.
Likewise, the Video/Image discrimination is annotated in Media to be in the same table.
On updating the schema, the Media table includes every field of Content.

Don't know, maybe I made some mistake and this is not a bug.
Correct me if I'm wrong, please.

More info in:
http://stackoverflow.com/questions/3932505/multiple-discrimination-levels-while-using-doctrine2

@romanb
Copy link
Contributor

romanb commented Oct 21, 2010

That is because this is not supported.

@xphere
Copy link
Author

xphere commented Oct 22, 2010

Thank you for your answer.
Is this an edge case so unusual as to not support it?
Or it will complicate the base code too much?
Is there a workaround?

@beberlei
Copy link
Member

Please move this feature request to www.doctrine-project.org/jira this issue tracker here will be disabled (we dont use it)

aldisanta pushed a commit to aldisanta/doctrine2 that referenced this issue Oct 31, 2016
Kern046 pushed a commit to Kern046/doctrine-orm that referenced this issue Apr 15, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants