The DataSourceInterceptor and other classes in that package were
developed when I was working on the SPECjAppServer benchmark a few years
ago. The goal was to collect statistics about SQL statements executed in
a test run and per transaction. Which allowed to tune the CMP engine.
Here is a wiki page that describes how to use them
http://wiki.jboss.org/wiki/Wiki.jsp?page=StatisticsCollector
Adrian Brock wrote:
I've got JBoss Head compiling with Java6.
I managed to avoid using a preprocessor for the JDBC rar
but only by using reflection to decide which
version of the code is in the classpath, i.e. JDK5/JDK6
The reflection is only done once. but
there is more duplicate code that there would otherwise be.
e.g. WrappedPreparedStatementJDK6 can't extend
both WrappedPreparedStatement and WrappedStatementJDK6 :-)
I haven't implemented the Wrapper interface fully.
This will need a revisit where it needs to "recursively"
check whether the object we wrap is itself a wrapper.
I also "commented out" the DataSourceInterceptor in varia.
I didn't convert it to JDK6.
As far as I can tell, this is not included in the distribution,
not even in docs/examples/varia.
Alex you wrote this what is happening with this?