Description: Fixes the compatibility with the latest version of the JDBC API
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
--- a/src/com/ibatis/common/jdbc/SimpleDataSource.java
+++ b/src/com/ibatis/common/jdbc/SimpleDataSource.java
@@ -257,6 +257,18 @@
     return DriverManager.getLogWriter();
   }
 
+  public java.util.logging.Logger getParentLogger() throws SQLFeatureNotSupportedException {
+    throw new SQLFeatureNotSupportedException();
+  }
+
+  public boolean isWrapperFor(Class<?> iface) throws SQLException {
+    return false;
+  }
+
+  public <T> T unwrap(Class<T> iface) throws SQLException {
+    throw new UnsupportedOperationException();
+  }
+
   /**
    * If a connection has not been used in this many milliseconds, ping the
    * database to make sure the connection is still good.
--- a/src/com/ibatis/sqlmap/engine/type/CallableStatementResultSet.java
+++ b/src/com/ibatis/sqlmap/engine/type/CallableStatementResultSet.java
@@ -595,4 +595,211 @@
     return cs.wasNull();
   }
 
+  public RowId getRowId(int columnIndex) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public RowId getRowId(String columnLabel) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateRowId(int columnIndex, RowId x) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateRowId(String columnLabel, RowId x) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public int getHoldability() throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public boolean isClosed() throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateNString(int columnIndex, String nString) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateNString(String columnLabel, String nString) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateNClob(int columnIndex, NClob nClob) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateNClob(String columnLabel, NClob nClob) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public NClob getNClob(int columnIndex) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public NClob getNClob(String columnLabel) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public SQLXML getSQLXML(int columnIndex) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public SQLXML getSQLXML(String columnLabel) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateSQLXML(int columnIndex, SQLXML xmlObject) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateSQLXML(String columnLabel, SQLXML xmlObject) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public String getNString(int columnIndex) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public String getNString(String columnLabel) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public Reader getNCharacterStream(int columnIndex) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public Reader getNCharacterStream(String columnLabel) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateNCharacterStream(int columnIndex, Reader x, long length) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateNCharacterStream(String columnLabel, Reader reader, long length) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateAsciiStream(int columnIndex, InputStream x, long length) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateBinaryStream(int columnIndex, InputStream x, long length) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateCharacterStream(int columnIndex, Reader x, long length) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateAsciiStream(String columnLabel, InputStream x, long length) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateBinaryStream(String columnLabel, InputStream x, long length) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateCharacterStream(String columnLabel, Reader reader, long length) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateBlob(int columnIndex, InputStream inputStream, long length) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateClob(int columnIndex, Reader reader, long length) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateClob(String columnLabel, Reader reader, long length) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateNClob(int columnIndex, Reader reader, long length) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateNClob(String columnLabel, Reader reader, long length) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateNCharacterStream(int columnIndex, Reader x) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateNCharacterStream(String columnLabel, Reader reader) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateAsciiStream(int columnIndex, InputStream x) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateBinaryStream(int columnIndex, InputStream x) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateCharacterStream(int columnIndex, Reader x) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateAsciiStream(String columnLabel, InputStream x) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateBinaryStream(String columnLabel, InputStream x) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateCharacterStream(String columnLabel, Reader reader) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateBlob(int columnIndex, InputStream inputStream) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateBlob(String columnLabel, InputStream inputStream) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateClob(int columnIndex, Reader reader) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateClob(String columnLabel, Reader reader) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateNClob(int columnIndex, Reader reader) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public void updateNClob(String columnLabel, Reader reader) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public <T> T getObject(int columnIndex, Class<T> type) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public <T> T getObject(String columnLabel, Class<T> type) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public <T> T unwrap(Class<T> iface) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
+
+  public boolean isWrapperFor(Class<?> iface) throws SQLException {
+    throw new UnsupportedOperationException("CallableStatement does not support this method.");
+  }
 }
