List:NDB Connectors« Previous MessageNext Message »
From:Monty Taylor Date:December 7 2007 8:30am
Subject:Rev 348: Removed java.sql.ResultSet as an interface until we can get the java5/java6 problem fixed. in http://bazaar.launchpad.net/~ndb-connectors/ndb...
View as plain text  
At http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/devel

------------------------------------------------------------
revno: 348
revision-id: mtaylor@stripped
parent: mtaylor@stripped
committer: Monty Taylor <mtaylor@stripped>
branch nick: devel
timestamp: Fri 2007-12-07 00:29:57 -0800
message:
  Removed java.sql.ResultSet as an interface until we can get the java5/java6 problem
fixed.
modified:
  java/com/mysql/cluster/ndbj/NdbResultSet.java
ndbresultset.java-20070517181935-98huwjarzuh25b30-21
  java/com/mysql/cluster/ndbj/ThrowingResultSet.java
throwingresultset.ja-20071127095043-2ypprut7dyfhjkfy-1
=== modified file 'java/com/mysql/cluster/ndbj/NdbResultSet.java'
--- a/java/com/mysql/cluster/ndbj/NdbResultSet.java	2007-11-27 09:56:10 +0000
+++ b/java/com/mysql/cluster/ndbj/NdbResultSet.java	2007-12-07 08:29:57 +0000
@@ -13,7 +13,7 @@
  * Either access columns by name (String) or id (int).
  * Do not mix usage of access by name and id.
  */
-public interface NdbResultSet extends java.sql.ResultSet 
+public interface NdbResultSet //extends java.sql.ResultSet 
 {
 
     /**

=== modified file 'java/com/mysql/cluster/ndbj/ThrowingResultSet.java'
--- a/java/com/mysql/cluster/ndbj/ThrowingResultSet.java	2007-11-27 09:56:10 +0000
+++ b/java/com/mysql/cluster/ndbj/ThrowingResultSet.java	2007-12-07 08:29:57 +0000
@@ -8,27 +8,30 @@
 import java.sql.Blob;
 import java.sql.Clob;
 import java.sql.Date;
-import java.sql.NClob;
 import java.sql.Ref;
-import java.sql.ResultSet;
+//import java.sql.ResultSet;
+
 import java.sql.ResultSetMetaData;
-import java.sql.RowId;
+
+//import java.sql.NClob;
+//import java.sql.RowId;
 import java.sql.SQLException;
 import java.sql.SQLWarning;
-import java.sql.SQLXML;
+//import java.sql.SQLXML;
 import java.sql.Statement;
 import java.sql.Time;
 import java.sql.Timestamp;
 import java.util.Calendar;
 import java.util.Map;
 
-public class ThrowingResultSet implements ResultSet {
-
-
-
-	/* (non-Javadoc)
+public class ThrowingResultSet { //implements java.sql.ResultSet {
+
+	// TODO: Seriously, figure out the NClob 1.5 vs. 1.6 ResultSet nonsense
+
+
+/*	 (non-Javadoc)
 	 * @see java.sql.ResultSet#getNClob(int)
-	 */
+	 
 	public NClob getNClob(int arg0) throws SQLException {
 		// TODO Auto-generated method stub
 		// return null;
@@ -36,9 +39,9 @@
 		
 	}
 
-	/* (non-Javadoc)
+	 (non-Javadoc)
 	 * @see java.sql.ResultSet#getNClob(java.lang.String)
-	 */
+	 
 	public NClob getNClob(String arg0) throws SQLException {
 		// TODO Auto-generated method stub
 		// return null;
@@ -46,9 +49,9 @@
 		
 	}
 
-	/* (non-Javadoc)
+	 (non-Javadoc)
 	 * @see java.sql.ResultSet#getRowId(int)
-	 */
+	 
 	public RowId getRowId(int arg0) throws SQLException {
 		// TODO Auto-generated method stub
 		// return null;
@@ -56,9 +59,9 @@
 		
 	}
 
-	/* (non-Javadoc)
+	 (non-Javadoc)
 	 * @see java.sql.ResultSet#getRowId(java.lang.String)
-	 */
+	 
 	public RowId getRowId(String arg0) throws SQLException {
 		// TODO Auto-generated method stub
 		// return null;
@@ -66,9 +69,9 @@
 		
 	}
 
-	/* (non-Javadoc)
+	 (non-Javadoc)
 	 * @see java.sql.ResultSet#getSQLXML(int)
-	 */
+	 
 	public SQLXML getSQLXML(int arg0) throws SQLException {
 		// TODO Auto-generated method stub
 		// return null;
@@ -76,15 +79,15 @@
 		
 	}
 
-	/* (non-Javadoc)
+	 (non-Javadoc)
 	 * @see java.sql.ResultSet#getSQLXML(java.lang.String)
-	 */
+	 
 	public SQLXML getSQLXML(String arg0) throws SQLException {
 		// TODO Auto-generated method stub
 		// return null;
 		throw new NotImplementedException("getSQLXML");
 		
-	}
+	}*/
 
 	/* (non-Javadoc)
 	 * @see java.sql.ResultSet#updateAsciiStream(int, java.io.InputStream)
@@ -206,9 +209,9 @@
 		
 	}
 
-	/* (non-Javadoc)
+/*	 (non-Javadoc)
 	 * @see java.sql.ResultSet#updateNClob(int, java.sql.NClob)
-	 */
+	 
 	public void updateNClob(int arg0, NClob arg1) throws SQLException {
 		// TODO Auto-generated method stub
 		// 
@@ -216,9 +219,9 @@
 		
 	}
 
-	/* (non-Javadoc)
+	 (non-Javadoc)
 	 * @see java.sql.ResultSet#updateNClob(int, java.io.Reader)
-	 */
+	 
 	public void updateNClob(int arg0, Reader arg1) throws SQLException {
 		// TODO Auto-generated method stub
 		// 
@@ -226,9 +229,9 @@
 		
 	}
 
-	/* (non-Javadoc)
+	 (non-Javadoc)
 	 * @see java.sql.ResultSet#updateNClob(java.lang.String, java.sql.NClob)
-	 */
+	 
 	public void updateNClob(String arg0, NClob arg1) throws SQLException {
 		// TODO Auto-generated method stub
 		// 
@@ -236,9 +239,9 @@
 		
 	}
 
-	/* (non-Javadoc)
+	 (non-Javadoc)
 	 * @see java.sql.ResultSet#updateNClob(java.lang.String, java.io.Reader)
-	 */
+	 
 	public void updateNClob(String arg0, Reader arg1) throws SQLException {
 		// TODO Auto-generated method stub
 		// 
@@ -246,9 +249,9 @@
 		
 	}
 
-	/* (non-Javadoc)
+	 (non-Javadoc)
 	 * @see java.sql.ResultSet#updateRowId(int, java.sql.RowId)
-	 */
+	 
 	public void updateRowId(int arg0, RowId arg1) throws SQLException {
 		// TODO Auto-generated method stub
 		// 
@@ -256,9 +259,9 @@
 		
 	}
 
-	/* (non-Javadoc)
+	 (non-Javadoc)
 	 * @see java.sql.ResultSet#updateRowId(java.lang.String, java.sql.RowId)
-	 */
+	 
 	public void updateRowId(String arg0, RowId arg1) throws SQLException {
 		// TODO Auto-generated method stub
 		// 
@@ -266,9 +269,9 @@
 		
 	}
 
-	/* (non-Javadoc)
+	 (non-Javadoc)
 	 * @see java.sql.ResultSet#updateSQLXML(int, java.sql.SQLXML)
-	 */
+	 
 	public void updateSQLXML(int arg0, SQLXML arg1) throws SQLException {
 		// TODO Auto-generated method stub
 		// 
@@ -276,15 +279,15 @@
 		
 	}
 
-	/* (non-Javadoc)
+	 (non-Javadoc)
 	 * @see java.sql.ResultSet#updateSQLXML(java.lang.String, java.sql.SQLXML)
-	 */
+	 
 	public void updateSQLXML(String arg0, SQLXML arg1) throws SQLException {
 		// TODO Auto-generated method stub
 		// 
 		throw new NotImplementedException("updateSQLXML");
 		
-	}
+	}*/
 
 	/* (non-Javadoc)
 	 * @see java.sql.Wrapper#isWrapperFor(java.lang.Class)

Thread
Rev 348: Removed java.sql.ResultSet as an interface until we can get the java5/java6 problem fixed. in http://bazaar.launchpad.net/~ndb-connectors/ndb...Monty Taylor7 Dec