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 Tadeus Garsva <ta...@takas.lt> on 2003/07/11 10:15:10 UTC
Proxy in Reference
Hi,
I have object A, which have reference to object B - attribute aToB. This
reference is proxy=true.
I set attribute aToB in object A to proxy of object B.
After broker.store (I use store(Object a, ObjectModification om), in
database I found that object A don't have any reference to object B
(foreign key=null).
Should I materialize proxy of B in object A before store ?
If I use ProxyHelper.getRealObject, all references in database are set
properly.
Thanks in advance.
Best regards
Tadeus Garsva
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org