TomohitoNakayama <[EMAIL PROTECTED]> writes: > Hello. > > Reading the code ( BaseMonitor.java, modules.properties, > InternalDriver.java and so on ), it seems that possible class of > engine is different between running environment ...
Yes, but the implementation of PreparedStatement.setBinaryStream(int, java.io.InputStream) is in EmbedPreparedStatement (not in EmbedPreparedStatement40) and therefore available to the network server regardless of environment. I think all that is needed is to put setBinaryStream(int, java.io.InputStream) into the EnginePreparedStatement interface, and it should be possible to invoke it from the network server. > Then, I think it is needed to consider when the class is not expected class. That's what the Engine* interfaces are there for. To see an example, you could look at how the EngineStatement interface is used in DRDAStatement to make the JDBC 3.0 methods getResultSetHoldability() and getMoreResults() available for a network server which is possibly running JDBC 2.0 only. -- Knut Anders