Author: mriou
Date: Tue Sep 9 11:15:10 2008
New Revision: 693544
URL: http://svn.apache.org/viewvc?rev=693544&view=rev
Log:
Was missing a few methods when compiling with JDK 1.6.
Modified:
ode/trunk/utils/src/main/java/org/apache/ode/utils/LoggingConnectionWrapper.java
Modified:
ode/trunk/utils/src/main/java/org/apache/ode/utils/LoggingConnectionWrapper.java
URL:
http://svn.apache.org/viewvc/ode/trunk/utils/src/main/java/org/apache/ode/utils/LoggingConnectionWrapper.java?rev=693544&r1=693543&r2=693544&view=diff
==============================================================================
---
ode/trunk/utils/src/main/java/org/apache/ode/utils/LoggingConnectionWrapper.java
(original)
+++
ode/trunk/utils/src/main/java/org/apache/ode/utils/LoggingConnectionWrapper.java
Tue Sep 9 11:15:10 2008
@@ -23,6 +23,7 @@
import java.sql.*;
import java.util.Map;
+import java.util.Properties;
/**
* @author Matthieu Riou <mriou at apache dot org>
@@ -205,9 +206,7 @@
}
private boolean shouldPrint() {
- if (_log != null)
- return _log.isDebugEnabled();
- else return true;
+ return _log == null || _log.isDebugEnabled();
}
private void print(String str) {
@@ -215,4 +214,54 @@
_log.debug(str);
else System.out.println(str);
}
+
+ public Clob createClob() throws SQLException {
+ return null;
+ }
+
+ public Blob createBlob() throws SQLException {
+ return null;
+ }
+
+ public NClob createNClob() throws SQLException {
+ return null;
+ }
+
+ public SQLXML createSQLXML() throws SQLException {
+ return null;
+ }
+
+ public boolean isValid(int timeout) throws SQLException {
+ return false;
+ }
+
+ public void setClientInfo(String name, String value) throws
SQLClientInfoException {
+ }
+
+ public void setClientInfo(Properties properties) throws
SQLClientInfoException {
+ }
+
+ public String getClientInfo(String name) throws SQLException {
+ return null;
+ }
+
+ public Properties getClientInfo() throws SQLException {
+ return null;
+ }
+
+ public Array createArrayOf(String typeName, Object[] elements) throws
SQLException {
+ return null;
+ }
+
+ public Struct createStruct(String typeName, Object[] attributes) throws
SQLException {
+ return null;
+ }
+
+ public <T> T unwrap(Class<T> iface) throws SQLException {
+ return null;
+ }
+
+ public boolean isWrapperFor(Class<?> iface) throws SQLException {
+ return false;
+ }
}