Mapping "Ordered" association to ERD

Hi!
I choose Association Specification>Association End Specification (click on “…” in Role) and checkbox
"Ordered". In this case my aggregation must have order of attribute list. But it’s invisible on ERD (new column?). What are you thinking about it? May I use “Ordered” property?

Hi Eugeny,

Thanks for your post. I’m sorry that “Ordered” in General tab of Association End Specification dialog (the dialog when you press “…” in Role) will not be handled during synchronization between class diagram and ERD.
Please right-click on the association between classes, then specify ordered collection (Array, List, Map) in Collection Type field in ORM Association Details tab (as shown as image below). After that, please synchronize your class diagram to ERD. Although it will not show ordered collection in ERD, it will have this implemented in your database when you generate database from ERD.

Hope this helps. Please let me know if there is anything else we can do to help.

Best regards,
Lilian Wong
specify_ordered_collection.png

It’s work. Thanks!

Hi Eugeny,

That’s good! :slight_smile:

Best regards,
Lilian Wong

I try to export in doctrine but do not generate the appropriate relationship.

in the doctrine model does not generate the “orderby” in hasMany / hasOne.

help me…