Skip to content


DDC-2806: @ElementCollection does work as expected #3557

doctrinebot opened this Issue · 4 comments

2 participants


Jira issue originally created by user hantsy:

I notice there is there is a @ElementCollection($tableName), but it does not work as expected.

I used doctrine-module orm:schema-tool:create, the table defined in @ElementCollection($tableName) was not generated.

Have a look at @ElementCollection support in JPA 2.0.*of_an_ElementCollection_relationship*annotations

Doctrine could design an @Embedable annotation firstly, @ElementColleciton can be used with a Collection of @Embedable objects, or use a Collections of primate type directly(with @CollectionTable and @Column annotations).


Comment created by @beberlei:

Duplicate of DDC-298


Issue was closed with resolution "Duplicate"


Comment created by @beberlei:

This was never finished, the code is left over.

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.