hi andrew,
yes, this is a problem. class-descriptor refresh overrides
reference-descriptor refresh. imo we should refresh the referenced
instance in PersistenceBrokerImpl#retrieveReference. but this requires
some enhancements in getDBObject to avoid loops.
jakob
Clute, Andrew wrote:
I
hi andrew,
please try this.
jakob
Jakob Braeuchi wrote:
hi andrew,
yes, this is a problem. class-descriptor refresh overrides
reference-descriptor refresh. imo we should refresh the referenced
instance in PersistenceBrokerImpl#retrieveReference. but this requires
some enhancements in
hi andrew,
the method retrieveReference should check for null:
...
else
{
refObj = getReferencedObject(obj, rds, cld);
if ((refObj != null)
(!Proxy.isProxyClass(refObj.getClass())) (!(refObj instanceof
VirtualProxy)))
{
I should also mention this seems to be an issue with Collection as
wellif a collection descriptor declares to refresh the collection
objects, it will not do it of the class descriptor for the member class does
not allow it to be refreshed.
-Original Message-
From: Clute, Andrew