Skip to content

Loading…

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

Closed
doctrinebot opened this Issue · 4 comments

2 participants

@doctrinebot

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.

http://wiki.eclipse.org/EclipseLink/Examples/JPA/2.0/ElementCollections#Example*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).

@doctrinebot

Comment created by @beberlei:

Duplicate of DDC-298

@doctrinebot

Issue was closed with resolution "Duplicate"

@doctrinebot

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.