I'm using a Netweaver 7.0 app server (1.4.2_13) along with Hibernate 3.2, and Oracle as the database. The JDBC drivers for the built-in database connection are SAP specific, and as such, do not support the getQueryTimeout() method. So, at the end of each query to the database, a warning message is written to the logs....
Now, this may be a fault with the JDBC drivers, but is there any way to avoid calls to getQueryTimeout()? I'm sure there are not, but I thought I would ask. I could of course modify the source code, but I'm not really interested in forking my own branch just to remove a warning message...
Suggestions most welcome.
Here's a snip of the exception that's thrown:
exception clearing maxRows/queryTimeout
[EXCEPTION]
java.lang.UnsupportedOperationException: Method getQueryTimeout() is not supported by Open JDBC
at com.sap.sql.log.Syslog.createUnsupportedMethodError(Syslog.java:162)
at com.sap.sql.jdbc.common.AbstractCommonStatement.getQueryTimeout(AbstractCommonStatement.java:132)
at com.sap.engine.services.dbpool.wrappers.StatementWrapper.getQueryTimeout(StatementWrapper.java:229)
at
...
|