db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Mahler <thm...@web.de>
Subject Re: Arrays do not work in ODMG -- bug in ObjectEnvelope
Date Sat, 15 Feb 2003 16:11:36 GMT
Hi Olli,

I just checked in your fix. thanks for the patch!

oliver.matz@ppi.de wrote:
> I would prefer to have ex.toString() there, and I would like to
> log the error message.  However, for the latter one could use
> a Logger reference in the ObjectEnvelope.  Since this class is
> instantiated very often, these 4 bytes are expensive.  Alternatively,
> TransactionImpl could get a package-visible getLogger() method which
> ObjectEnvelope delegates to.

It's not necessary to have a logger reference. You can just obtain a 
logger from the LoggerFactory by a given name. The performance impact 
can be ignored as we only need it to report errors.


> What do you think?
> Olli

View raw message