Create jamon versions of all jdbc classes per the jack
shirazi article. Note sample code is also on this site.
he also mentions using proxy objects.
"Wrapping objects of a particular interface using
dedicated wrapper objects of that interface is an
established technique with many uses. The synchronized
wrappers of the collection classes are probably the
best known example, but there are many others. The SDK
even has a special class which will generate wrapper
objects at runtime: the java.lang.reflect.Proxy class.
Wrapper objects are also known as proxy objects. I
could have used generated proxy objects in this
article, but that would have made the explanation of
wrapping JDBC objects more complicated than I wanted,
so I stuck with explicitly coded wrapper classes."