JBoss 3.2.4 added wrapping of ResultSets, with a new WrappedResultSet
class. I have added support to JBossNativeJdbcAdapter for getting the
real result set from within this.
The only complication is that because Eclipse has recently started being
pretty insistent on seeing the entire class hierarchy of a library, with
the newer version of jboss-common-jdbc-wrapper.jar it was no longer
happy about being able to properly resolve WrappedStatement, which
apparently inherits from a class only found in jboss.jar (looks like
somebody at JBoss actually messed up their dependencies). So to make
Eclipse happy I added in the big (1.5 MB) jboss.jar as well. The other
option is to just check in a modified jar with only that class, or
alternately I guess we could use reflection too...
(mentioned on user list too, in case somebody gets hit with this when
upgrading to JBoss 3.2.4).
Regards,
Colin
|