|
From: Colin S. <col...@ex...> - 2004-06-20 14:12:59
|
I just realized this ties this class to JBoss 3.2.4. Probably not a reasonable thing to do since people might be running 3.2.3 (or 3.2.2) for a while yet. Anybody object if I make the wrapped ResultSet access via reflection? Colin Sampaleanu wrote: > 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). |