Re: Problem with refreshing references; Possible bug?

2003-10-17 Thread Jakob Braeuchi
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

Re: Problem with refreshing references; Possible bug?

2003-10-17 Thread Jakob Braeuchi
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

Re: Problem with refreshing references; Possible bug?

2003-10-17 Thread Jakob Braeuchi
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))) {

RE: Problem with refreshing references; Possible bug?

2003-10-16 Thread Clute, Andrew
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