db-ojb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Dudziak <to...@first.gmd.de>
Subject Re: reference descriptors not inherited in multi-table inheritence
Date Wed, 07 Apr 2004 11:04:38 GMT
On Wed, 7 Apr 2004, Keith Rogers wrote:

> Yay! I've found the reason that the inheritence for userStatus didn't
> work. Or at least, I've found the change I had to make to get it to
> work. While the Address object was using a dynamic proxy, the UserStatus
> was not. For some reason, giving UserStatus a dynamic proxy will make it
> visible to any object that inherit from user.
> This brings me to a (very minor) problem, the reason I removed dynamic
> proxy from UserStatus, which was that I wanted to be able to use the
> toString() method, which of course, when used on a dynamic proxy will
> only return information about the proxy. 

It should not anymore (I changed this yesterday in CVS). Now calling
(directly or indirectly) toString on a proxy materializes this object
(just like any other business method). If you want the non-materializing
behaviour, then use ProxyHelper.toString(Object).


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

View raw message