Hi,

If I have the following mapping

<class name="myapp.user">
        <field name="rootFolder" type"=myapp.folder">
                <sql many-key="user_id"/>
        </field>
</class>
<class name="myapp.folder">
        <field name="user" type="myapp.user">
                <sql name="user_id"/>
        </field>
</class>

and trying to update an object of myapp.user with
database.update(userObject) I'm getting the error message, that the
userObject I'm trying to update points to an object ( the rootFolder )
that is not in this transaction.

Any ideas or suggestions?

Thanks in advance,

Silvio

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

Reply via email to