changeset 380:0100ebf6630f

Added missing Methodstubs for Java 1.6 compability. geo-backend/trunk@385 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Mon, 30 Nov 2009 14:51:09 +0000
parents 31595c0a1a33
children 4a874c664123
files geo-backend/ChangeLog geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEConnection.java geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEResultSetMetaData.java geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEStatement.java geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/SDEResultSet.java
diffstat 5 files changed, 294 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/geo-backend/ChangeLog	Fri Nov 27 13:13:34 2009 +0000
+++ b/geo-backend/ChangeLog	Mon Nov 30 14:51:09 2009 +0000
@@ -1,3 +1,15 @@
+2009-11-30  Tim Englich  <tim.englich@intevation.de>
+
+	* src/main/java/de/intevation/gnv/geobackend/sde/datasources/SDEResultSet.java,
+	  src/main/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEStatement.java, 
+	  src/main/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEResultSetMetaData.java, 
+	  src/main/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEConnection.java: 
+	  Added missing Methodstubs for Java 1.6 compability.
+	  ###################################################
+	  ###### ATTENTION: ONLY USE JAVA 1.6 FOR THIS ######
+	  ######         AND ALL USING MODULES.        ######
+	  ###################################################
+
 2009-11-27  Tim Englich  <tim.englich@intevation.de>
 
 	* src/test/ressources/QueryExecutorTestCase.properties,
--- a/geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEConnection.java	Fri Nov 27 13:13:34 2009 +0000
+++ b/geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEConnection.java	Mon Nov 30 14:51:09 2009 +0000
@@ -3,15 +3,23 @@
 		*/
 		package de.intevation.gnv.geobackend.sde.datasources;
 
+import java.sql.Array;
+import java.sql.Blob;
 import java.sql.CallableStatement;
+import java.sql.Clob;
 import java.sql.Connection;
 import java.sql.DatabaseMetaData;
+import java.sql.NClob;
 import java.sql.PreparedStatement;
+import java.sql.SQLClientInfoException;
 import java.sql.SQLException;
 import java.sql.SQLWarning;
+import java.sql.SQLXML;
 import java.sql.Savepoint;
 import java.sql.Statement;
+import java.sql.Struct;
 import java.util.Map;
+import java.util.Properties;
 
 import org.apache.log4j.Logger;
 
@@ -349,4 +357,55 @@
     	return seConnection;
     }
 
+    public Array createArrayOf(String arg0, Object[] arg1) throws SQLException {
+        return null;
+    }
+
+    public Blob createBlob() throws SQLException {
+        return null;
+    }
+
+    public Clob createClob() throws SQLException {
+        return null;
+    }
+
+    public NClob createNClob() throws SQLException {
+        return null;
+    }
+
+    public SQLXML createSQLXML() throws SQLException {
+        return null;
+    }
+
+    public Struct createStruct(String arg0, Object[] arg1) throws SQLException {
+        return null;
+    }
+
+    public Properties getClientInfo() throws SQLException {
+        return null;
+    }
+
+    public String getClientInfo(String arg0) throws SQLException {
+        return null;
+    }
+
+    public boolean isValid(int arg0) throws SQLException {
+        return false;
+    }
+
+    public void setClientInfo(Properties arg0) throws SQLClientInfoException {
+    }
+
+    public void setClientInfo(String arg0, String arg1)
+                                                       throws SQLClientInfoException {
+    }
+
+    public boolean isWrapperFor(Class<?> iface) throws SQLException {
+        return false;
+    }
+
+    public <T> T unwrap(Class<T> iface) throws SQLException {
+        return null;
+    }
+
 }
--- a/geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEResultSetMetaData.java	Fri Nov 27 13:13:34 2009 +0000
+++ b/geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEResultSetMetaData.java	Mon Nov 30 14:51:09 2009 +0000
@@ -179,7 +179,6 @@
      * @see java.sql.ResultSetMetaData#isSigned(int)
      */
     public boolean isSigned(int column) throws SQLException {
-
         return false;
     }
 
@@ -187,8 +186,15 @@
      * @see java.sql.ResultSetMetaData#isWritable(int)
      */
     public boolean isWritable(int column) throws SQLException {
-
         return false;
     }
 
+    public boolean isWrapperFor(Class<?> iface) throws SQLException {
+        return false;
+    }
+
+    public <T> T unwrap(Class<T> iface) throws SQLException {
+        return null;
+    }
+
 }
--- a/geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEStatement.java	Fri Nov 27 13:13:34 2009 +0000
+++ b/geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEStatement.java	Mon Nov 30 14:51:09 2009 +0000
@@ -480,4 +480,23 @@
         return lSet;
     }
 
+    public boolean isClosed() throws SQLException {
+        return false;
+    }
+
+    public boolean isPoolable() throws SQLException {
+        return false;
+    }
+
+    public void setPoolable(boolean arg0) throws SQLException {
+    }
+
+    public boolean isWrapperFor(Class<?> iface) throws SQLException {
+        return false;
+    }
+
+    public <T> T unwrap(Class<T> iface) throws SQLException {
+        return null;
+    }
+
 }
--- a/geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/SDEResultSet.java	Fri Nov 27 13:13:34 2009 +0000
+++ b/geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/SDEResultSet.java	Mon Nov 30 14:51:09 2009 +0000
@@ -23,10 +23,13 @@
 import java.sql.Blob;
 import java.sql.Clob;
 import java.sql.Date;
+import java.sql.NClob;
 import java.sql.Ref;
 import java.sql.ResultSetMetaData;
+import java.sql.RowId;
 import java.sql.SQLException;
 import java.sql.SQLWarning;
+import java.sql.SQLXML;
 import java.sql.Statement;
 import java.sql.Time;
 import java.sql.Timestamp;
@@ -1152,4 +1155,197 @@
     throw new SQLException("Column "+columnName+" does not exist in ResulSet");
     }
 
+    public int getHoldability() throws SQLException {
+        return 0;
+    }
+
+    public Reader getNCharacterStream(int arg0) throws SQLException {
+        return null;
+    }
+
+    public Reader getNCharacterStream(String arg0) throws SQLException {
+        return null;
+    }
+
+    public NClob getNClob(int arg0) throws SQLException {
+        return null;
+    }
+
+    public NClob getNClob(String arg0) throws SQLException {
+        return null;
+    }
+
+    public String getNString(int arg0) throws SQLException {
+        return null;
+    }
+
+    public String getNString(String arg0) throws SQLException {
+        return null;
+    }
+
+    public RowId getRowId(int arg0) throws SQLException {
+        
+        return null;
+    }
+
+    public RowId getRowId(String arg0) throws SQLException {
+        
+        return null;
+    }
+
+    public SQLXML getSQLXML(int arg0) throws SQLException {
+        
+        return null;
+    }
+
+    public SQLXML getSQLXML(String arg0) throws SQLException {
+        
+        return null;
+    }
+
+    public boolean isClosed() throws SQLException {
+        
+        return false;
+    }
+
+    public void updateAsciiStream(int arg0, InputStream arg1)
+                                                             throws SQLException {
+    }
+
+    public void updateAsciiStream(String arg0, InputStream arg1)
+                                                                throws SQLException {
+    }
+
+    public void updateAsciiStream(int arg0, InputStream arg1, long arg2)
+                                                                        throws SQLException {
+    }
+
+    public void updateAsciiStream(String arg0, InputStream arg1, long arg2)
+                                                                           throws SQLException {
+    }
+
+    public void updateBinaryStream(int arg0, InputStream arg1)
+                                                              throws SQLException {
+    }
+
+    public void updateBinaryStream(String arg0, InputStream arg1)
+                                                                 throws SQLException {
+    }
+
+    public void updateBinaryStream(int arg0, InputStream arg1, long arg2)
+                                                                         throws SQLException {
+    }
+
+    public void updateBinaryStream(String arg0, InputStream arg1, long arg2)
+                                                                            throws SQLException {
+    }
+
+    public void updateBlob(int arg0, InputStream arg1) throws SQLException {
+    }
+
+    public void updateBlob(String arg0, InputStream arg1) throws SQLException {
+    }
+
+    public void updateBlob(int arg0, InputStream arg1, long arg2)
+                                                                 throws SQLException {
+    }
+
+    public void updateBlob(String arg0, InputStream arg1, long arg2)
+                                                                    throws SQLException {
+    }
+
+    public void updateCharacterStream(int arg0, Reader arg1)
+                                                            throws SQLException {
+    }
+
+    public void updateCharacterStream(String arg0, Reader arg1)
+                                                               throws SQLException {
+    }
+
+    public void updateCharacterStream(int arg0, Reader arg1, long arg2)
+                                                                       throws SQLException {
+    }
+
+    public void updateCharacterStream(String arg0, Reader arg1, long arg2)
+                                                                          throws SQLException {
+    }
+
+    public void updateClob(int arg0, Reader arg1) throws SQLException {
+    }
+
+    public void updateClob(String arg0, Reader arg1) throws SQLException {
+    }
+
+    public void updateClob(int arg0, Reader arg1, long arg2)
+                                                            throws SQLException {
+    }
+
+    public void updateClob(String arg0, Reader arg1, long arg2)
+                                                               throws SQLException {
+    }
+
+    public void updateNCharacterStream(int arg0, Reader arg1)
+                                                             throws SQLException {
+    }
+
+    public void updateNCharacterStream(String arg0, Reader arg1)
+                                                                throws SQLException {
+    }
+
+    public void updateNCharacterStream(int arg0, Reader arg1, long arg2)
+                                                                        throws SQLException {
+    }
+
+    public void updateNCharacterStream(String arg0, Reader arg1, long arg2)
+                                                                           throws SQLException {
+    }
+
+    public void updateNClob(int arg0, NClob arg1) throws SQLException {
+    }
+
+    public void updateNClob(String arg0, NClob arg1) throws SQLException {
+    }
+
+    public void updateNClob(int arg0, Reader arg1) throws SQLException {
+    }
+
+    public void updateNClob(String arg0, Reader arg1) throws SQLException {
+    }
+
+    public void updateNClob(int arg0, Reader arg1, long arg2)
+                                                             throws SQLException {
+    }
+
+    public void updateNClob(String arg0, Reader arg1, long arg2)
+                                                                throws SQLException {
+    }
+
+    public void updateNString(int arg0, String arg1) throws SQLException {
+    }
+
+    public void updateNString(String arg0, String arg1) throws SQLException {
+    }
+
+    public void updateRowId(int arg0, RowId arg1) throws SQLException {
+    }
+
+    public void updateRowId(String arg0, RowId arg1) throws SQLException {
+    }
+
+    public void updateSQLXML(int arg0, SQLXML arg1) throws SQLException {
+    }
+
+    public void updateSQLXML(String arg0, SQLXML arg1) throws SQLException {
+    }
+
+    public boolean isWrapperFor(Class<?> arg0) throws SQLException {
+        
+        return false;
+    }
+
+    public <T> T unwrap(Class<T> arg0) throws SQLException {
+        
+        return null;
+    }
+
 }

http://dive4elements.wald.intevation.org