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. At other side, I don't see high gains of performence
doing this (except when using higher levels of debugging).
Thanks,
Edson Richter
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.614 / Virus Database: 393 - Release Date: 5/3/2004