db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matteo Barbieri <m.barbi...@ste-energy.com>
Subject Re: Saving two related objects
Date Fri, 17 Feb 2006 16:42:33 GMT
Matteo Barbieri ha scritto:

>Thomas Fischer ha scritto:
>>I had just a 5 seconds glance on this, so maybe I'm completely wrong. Have
>>you tried  to set the attribute javaType="object" in the foreign key's
>>column definition in the schema.xml ?
>>  Thomas
>>Matteo Barbieri <m.barbieri@ste-energy.com> schrieb am 17.02.2006 15:29:22:

Now I found!!!
The error occurs because the foreign key was also the primary key of the
I tried to remove the primary key constraint and now all works.

I don't know if it's a feature or a bug of Torque.

Matteo Barbieri

To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org

View raw message