Hi Danny,
from the files and attached description we understand following:
For example in the Thread.orm.xml file you want to save entity definitions and its fields, and you want associations of this entity separately stored in the thread.php file.
Unfortunatelly this solution is not possible. ORM Designer does not support import/export of one entity from more than one file because:
- Splitting definitions between more locations is not safe way do store data and it may negativelly affect integrity of the model and cause errors.
- We have not met this way of storing definitions before and I'm not sure if this solution is supported by Doctrine2 at all.
We also checked the thread.php and there are no @ORM annotations to define the associations.
We would strongly recommend choosing single format for storing complete definitions of entities.
If you need to change the format of definitions, you can simply change the type of modules from XML to annotations and vice-versa and the data will be generated automatically.
Martin