You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Guenther Pichler <gu...@aon.at> on 2004/05/07 16:43:56 UTC
Setting auto-update="true" influences the behavior of auto-delete
Hi,
I have a problem and it seems to be a bug (rc6):
I got a SQL Error (column reference constraint violation)if I tried to
DELETE a Main Object (vaSpr) with the following reference descriptor:
...
<reference-descriptor
name="vaSprGrp"
auto-retrieve="true"
auto-delete="false"
auto-update="true"
class-ref="at.cud.g3.va.spr.vo.VaSprGrpVO">
<foreignkey field-ref="sprGrpId"/>
</reference-descriptor>
...
If i change !!!! AUTO-UPDATE !!! from true to false, it works.
So it seems, that setting the auto-update tag interacts the
AUTO-DELETE tag!!!!!!
Guenther Pichler
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org
Re: Setting auto-update="true" influences the behavior of auto-delete
Posted by Guenther Pichler <gu...@aon.at>.
Hi,
Thanks it works now.
regards,
Guenther
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org
Re: Setting auto-update="true" influences the behavior of auto-delete
Posted by Armin Waibel <ar...@apache.org>.
Hi Günther,
this should be fixed in latest from CVS.
regards,
Armin
Guenther Pichler wrote:
> Hi,
>
> I have a problem and it seems to be a bug (rc6):
>
> I got a SQL Error (column reference constraint violation)if I tried to
> DELETE a Main Object (vaSpr) with the following reference descriptor:
>
> ...
> <reference-descriptor
> name="vaSprGrp"
> auto-retrieve="true"
> auto-delete="false"
> auto-update="true"
> class-ref="at.cud.g3.va.spr.vo.VaSprGrpVO">
>
> <foreignkey field-ref="sprGrpId"/>
> </reference-descriptor>
> ...
>
> If i change !!!! AUTO-UPDATE !!! from true to false, it works.
> So it seems, that setting the auto-update tag interacts the
> AUTO-DELETE tag!!!!!!
>
> Guenther Pichler
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org