For my previous message, the solution is : "master objects must be separatly
updated !!! "
The exception was not really self explained for me ;-)

* first update the complex attribute :

aCommune=site.getCommune();
db.update(aCommune);

* last, update the owner object
db.update(site);

This kind of subject is not clearly explained in castor doc (yes, I know
that is mentionned !).
It's my main bad thinking about Castor :
This Framework is powerfull but I spend a lot of time in scanning messages
in mailing list due to lack of doc. Increase FAQ with good samples will be
very efficient.

So long !
Arnaud

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to