Hi Edson, > From: Edson Carlos Ericksson Richter > [mailto:[EMAIL PROTECTED] > Sent: 08 March 2004 13:56 > To: 'OJB Users List' > Subject: OJB rc5 don't call toString in the object when using Proxies > > > Hi! > > I'm asking you to remove the feature that make OJB doesn't > materialize a object when calling toString > (IndirectionHandler, method invoke): > > // handle toString differently for > non-materialized proxies > // to avoid materialization due to logging. > if ((realSubject == null) && > "toString".equals(methodName)) > { > return "unmaterialized proxy for " + id; > } > > > The reason for this is because any project using Swing > components depends on toString to fill combo-boxes and lists.
Um - my companies swing application doesn't depend upon toString to fill combo-boxes and lists. I realise this change may make it easier for your app to work, and I personally don't object to it, but the way you phrase the request implies that it impossible to use OJB, proxies and Swing at the moment. It isn't. Cheers, Charles. ___________________________________________________________ HPD Software Ltd. - Helping Business Finance Business Email terms and conditions: www.hpdsoftware.com/disclaimer --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
