Torsten Curdt wrote:
Berin Loritsch wrote:
I would like to refactor the way DataSource creates and maintains
connections so that the same binary works with both JDK 1.3 and
JDK 1.4.
In order to do this, we have to use the Proxy object and turn the
AbstractJdbcConnection into an InvocationHandler that dynamically
generates a Connection wrapper for your system.
Any idea/numbers how this affects performance?
Proxy objects only introduce a tiny amount of overhead. It is too
small to be accurately measured.