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 Ziv Yankowitz <zi...@traiana.com> on 2005/04/18 14:32:40 UTC
Reference 1:1
Hi,
I have a case where Class B extends A and B contains a reference descriptor with the following definition reference-descriptor name="super"
when I update fields in which belong to Class A on instance of type B they are not updated.
from looking at the Ojb source I see in class ObjectEnvelope method markReferenceElements that only the Identity of the references object is compared and not the complete reference object, if I understand correctly the identity contains only the pk's.
can someone please explain what can be done?
Thanks Ziv.
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org
Re: Reference 1:1
Posted by Armin Waibel <ar...@apache.org>.
Hi Ziv,
which version of OJB do you use? Which sequence-manager?
regards,
Armin
Ziv Yankowitz wrote:
> Hi,
>
> I have a case where Class B extends A and B contains a reference descriptor with the following definition reference-descriptor name="super"
>
> when I update fields in which belong to Class A on instance of type B they are not updated.
>
> from looking at the Ojb source I see in class ObjectEnvelope method markReferenceElements that only the Identity of the references object is compared and not the complete reference object, if I understand correctly the identity contains only the pk's.
>
> can someone please explain what can be done?
>
> Thanks Ziv.
>
>
>
> ---------------------------------------------------------------------
> 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