I have an object which has an CPersistentCollection as attribute. When I invoke the save method, the framework tries to save the principal class first and after saves the collection. This returns an foreign Key error. When the framework stacks the object it puts in the incorrect order. When the framework dequeues it gets the wrong order.
Thank you,
Andr Ribeiro
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This framework doesn't support foreing key.
Delete foreing key or save first the parent object and after the collection, but in the attribute saveautomatic="false"
Saludos
Victor (Madrid - Spain)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have an object which has an CPersistentCollection as attribute. When I invoke the save method, the framework tries to save the principal class first and after saves the collection. This returns an foreign Key error. When the framework stacks the object it puts in the incorrect order. When the framework dequeues it gets the wrong order.
Thank you,
Andr Ribeiro
Hi,
This framework doesn't support foreing key.
Delete foreing key or save first the parent object and after the collection, but in the attribute saveautomatic="false"
Saludos
Victor (Madrid - Spain)