Hi, we've got some Java code that runs it's own JDBC queries.
It's loaded as a .jar dropped into the ColdFusion lib folder, and the ColdFusion code then createObject()'s it.
This was all fine with FR4, but it throws a funny error under FR5.
The error is "com.intergral.fusionreactor.jdbc.ResultSetSurrogate cannot be cast to com.inet.tds.j"
I'm fairly sure the error isn't truncated there, but I'm trying to make a stand alone test file as we speak :-)
Don't suppose anyone else has seen this ?
The code is calling 'execute( getConn() )' on a CachedRowSet.
getConn() just does
Class.forName("com.inet.tds.TdsDriver");
and then returns
DriverManager.getConnection("jdbc:inetdae7:" + dbServerString + ":nnnn", "xxx", "yyyy");
I assume this is related to the automatic JDBC wrapping FR5 does ?
Disabling various JDBC related options in FR didn't seem to resolve the issue, so we've had to disable FR5 for now (by removing the -javaagent JVM argument).
Is there anyway to have FR5 skip JDBC wrapping ? I didn't see a JVM startup argument for it, for instance.
Tom