List:Commits« Previous MessageNext Message »
From:tikeda Date:February 25 2006 12:24am
Subject:Connector/J commit: r4985 - branches/branch_5_1/connector-j/src/com/mysql/jdbc
View as plain text  
Modified:
   branches/branch_5_1/connector-j/src/com/mysql/jdbc/Blob.java
   branches/branch_5_1/connector-j/src/com/mysql/jdbc/CallableStatement.java
   branches/branch_5_1/connector-j/src/com/mysql/jdbc/Connection.java
Log:
added javadoc comment to Connection.createXlob(), fixed Blob.<init>(), removed
CallableStatement.setNString(int)

Modified: branches/branch_5_1/connector-j/src/com/mysql/jdbc/Blob.java
===================================================================
--- branches/branch_5_1/connector-j/src/com/mysql/jdbc/Blob.java	2006-02-24 22:40:10 UTC
(rev 4984)
+++ branches/branch_5_1/connector-j/src/com/mysql/jdbc/Blob.java	2006-02-24 23:24:53 UTC
(rev 4985)
@@ -64,7 +64,7 @@
      * Creates a Blob without data
      */
     Blob() {
-        setBinaryData(new byte[0]);
+        setBinaryData(Constants.EMPTY_BYTE_ARRAY);
     }
 
 	/**

Modified: branches/branch_5_1/connector-j/src/com/mysql/jdbc/CallableStatement.java
===================================================================
--- branches/branch_5_1/connector-j/src/com/mysql/jdbc/CallableStatement.java	2006-02-24
22:40:10 UTC (rev 4984)
+++ branches/branch_5_1/connector-j/src/com/mysql/jdbc/CallableStatement.java	2006-02-24
23:24:53 UTC (rev 4985)
@@ -1925,14 +1925,6 @@
 			throws SQLException {
 		throw new ToBeImplementedException();
 	}
-
-    /**
-     * @see java.sql.CallableStatement#setNString(int, java.lang.String)
-     */
-	public void setNString(int parameterIndex, String value)
-			throws SQLException {
-		setNString(parameterIndex, value);
-	}
     
     /**
      * @see java.sql.CallableStatement#setNString(java.lang.String,

Modified: branches/branch_5_1/connector-j/src/com/mysql/jdbc/Connection.java
===================================================================
--- branches/branch_5_1/connector-j/src/com/mysql/jdbc/Connection.java	2006-02-24 22:40:10
UTC (rev 4984)
+++ branches/branch_5_1/connector-j/src/com/mysql/jdbc/Connection.java	2006-02-24 23:24:53
UTC (rev 4985)
@@ -1616,11 +1616,17 @@
 			}
 		}
 	}
-
+    
+    /**
+     * @see java.sql.Connection#createBlob()
+     */
     public Blob createBlob() {
         return new com.mysql.jdbc.Blob();
     }
 
+    /**
+     * @see java.sql.Connection#createClob()
+     */
     public Clob createClob() {
         return new com.mysql.jdbc.Clob();
     }
@@ -1640,6 +1646,9 @@
 		}
 	}
 
+    /**
+     * @see java.sql.Connection#createNClob()
+     */
     public NClob createNClob() {
         return new com.mysql.jdbc.NClob();
     }

Thread
Connector/J commit: r4985 - branches/branch_5_1/connector-j/src/com/mysql/jdbctikeda25 Feb