Modified:
branches/branch_5_1/CHANGES
branches/branch_5_1/src/com/mysql/jdbc/CachedResultSetMetaData.java
branches/branch_5_1/src/testsuite/regression/StatementRegressionTest.java
Log:
Fixed BUG#33823 - Public interface ResultSetInternalMethods with reference to
non-public class com.mysql.jdbc.CachedResultSetMetaData.
Modified: branches/branch_5_1/CHANGES
===================================================================
--- branches/branch_5_1/CHANGES 2008-01-16 19:44:18 UTC (rev 6713)
+++ branches/branch_5_1/CHANGES 2008-01-20 03:53:35 UTC (rev 6714)
@@ -96,33 +96,13 @@
conditions where one thread that has created a connection "shares" it with other
threads if the connection is reconnected due to auto-reconnect functionality.
+ - Fixed BUG#33823 - Public interface ResultSetInternalMethods with reference to
+ non-public class com.mysql.jdbc.CachedResultSetMetaData.
+
- For any SQLException caused by another Throwable, besides dumping the message or
stack
trace as a string into the message, set the underlying Throwable as the cause for
- the SQLException, making it accessible via getCause().
+ the SQLException, making it accessible via getCause().
- - Fixed Bug#33594 - When cursor fetch is enabled, wrong metadata is returned from
- DatabaseMetaData calls.
-
- The fix is two parts.
-
- First, when asking for the first column value
- twice from a cursor-fetched row, the driver didn't re-position,
- and thus the "next" column was returned.
-
- Second, metadata statements and internal statements the driver
- uses shouldn't use cursor-based fetching at all, so we've
- ensured that internal statements have their fetch size set to "0".
-
- - Fixed Bug#33678 - Multiple result sets not supported in
- "streaming" mode. This fix covers both normal statements, and stored
- procedures, with the exception of stored procedures with registered
- OUTPUT parameters, which can't be used at all with "streaming" result
- sets.
-
- - Fixed BUG#33734 - NullPointerException when using client-side
- prepared statements and enabling caching of prepared statements (only
- present in nightly builds of 5.1).
-
10-09-07 - Version 5.1.5
- Released instead of 5.1.4 to pickup patch for BUG#31053
Modified: branches/branch_5_1/src/com/mysql/jdbc/CachedResultSetMetaData.java
===================================================================
--- branches/branch_5_1/src/com/mysql/jdbc/CachedResultSetMetaData.java 2008-01-16
19:44:18 UTC (rev 6713)
+++ branches/branch_5_1/src/com/mysql/jdbc/CachedResultSetMetaData.java 2008-01-20
03:53:35 UTC (rev 6714)
@@ -23,9 +23,10 @@
package com.mysql.jdbc;
+import java.sql.ResultSetMetaData;
import java.util.Map;
-class CachedResultSetMetaData {
+public class CachedResultSetMetaData {
/** Map column names (and all of their permutations) to column indices */
Map columnNameToIndex = null;
@@ -37,4 +38,20 @@
/** Cached ResultSetMetaData */
java.sql.ResultSetMetaData metadata;
+
+ public Map getColumnNameToIndex() {
+ return columnNameToIndex;
+ }
+
+ public Field[] getFields() {
+ return fields;
+ }
+
+ public Map getFullColumnNameToIndex() {
+ return fullColumnNameToIndex;
+ }
+
+ public java.sql.ResultSetMetaData getMetadata() {
+ return metadata;
+ }
}
\ No newline at end of file
Modified: branches/branch_5_1/src/testsuite/regression/StatementRegressionTest.java
===================================================================
--- branches/branch_5_1/src/testsuite/regression/StatementRegressionTest.java 2008-01-16
19:44:18 UTC (rev 6713)
+++ branches/branch_5_1/src/testsuite/regression/StatementRegressionTest.java 2008-01-20
03:53:35 UTC (rev 6714)
@@ -31,11 +31,15 @@
import java.io.FileOutputStream;
import java.io.FileWriter;
import java.io.IOException;
+import java.io.InputStream;
import java.io.PrintStream;
+import java.io.Reader;
import java.io.StringReader;
import java.io.Writer;
import java.math.BigDecimal;
import java.math.BigInteger;
+import java.net.URL;
+import java.sql.Array;
import java.sql.BatchUpdateException;
import java.sql.Blob;
import java.sql.Clob;
@@ -43,21 +47,29 @@
import java.sql.DataTruncation;
import java.sql.Date;
import java.sql.PreparedStatement;
+import java.sql.Ref;
import java.sql.ResultSet;
+import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.sql.SQLWarning;
import java.sql.Statement;
+import java.sql.Time;
import java.sql.Timestamp;
import java.sql.Types;
import java.util.Calendar;
import java.util.Locale;
+import java.util.Map;
import java.util.Properties;
import java.util.TimeZone;
import testsuite.BaseTestCase;
+import com.mysql.jdbc.CachedResultSetMetaData;
+import com.mysql.jdbc.Field;
+import com.mysql.jdbc.ResultSetInternalMethods;
import com.mysql.jdbc.SQLError;
import com.mysql.jdbc.ServerPreparedStatement;
+import com.mysql.jdbc.StatementImpl;
import com.mysql.jdbc.exceptions.MySQLTimeoutException;
/**
@@ -4401,4 +4413,874 @@
}
}
}
+
+ public void testBug33823() {
+ new ResultSetInternalMethods() {
+
+ public void buildIndexMapping() throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void clearNextResult() {
+ // TODO Auto-generated method stub
+
+ }
+
+ public ResultSetInternalMethods copy() throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public char getFirstCharOfQuery() {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ public ResultSetInternalMethods getNextResultSet() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Object getObjectStoredProc(int columnIndex,
+ int desiredSqlType) throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Object getObjectStoredProc(int i, Map map, int desiredSqlType)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Object getObjectStoredProc(String columnName,
+ int desiredSqlType) throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Object getObjectStoredProc(String colName, Map map,
+ int desiredSqlType) throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public String getServerInfo() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public long getUpdateCount() {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ public long getUpdateID() {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ public void initializeFromCachedMetaData(
+ CachedResultSetMetaData cachedMetaData) {
+ cachedMetaData.getFields();
+
+ }
+
+ public void initializeWithMetadata() throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void populateCachedMetaData(
+ CachedResultSetMetaData cachedMetaData) throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void realClose(boolean calledExplicitly) throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public boolean reallyResult() {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ public void redefineFieldsForDBMD(Field[] metadataFields) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void setFirstCharOfQuery(char firstCharUpperCase) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void setOwningStatement(StatementImpl owningStatement) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void setStatementUsedForFetchingRows(
+ com.mysql.jdbc.PreparedStatement stmt) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void setWrapperStatement(Statement wrapperStatement) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public boolean absolute(int row) throws SQLException {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ public void afterLast() throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void beforeFirst() throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void cancelRowUpdates() throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void clearWarnings() throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void close() throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void deleteRow() throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public int findColumn(String columnName) throws SQLException {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ public boolean first() throws SQLException {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ public Array getArray(int i) throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Array getArray(String colName) throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public InputStream getAsciiStream(int columnIndex)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public InputStream getAsciiStream(String columnName)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public BigDecimal getBigDecimal(int columnIndex)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public BigDecimal getBigDecimal(String columnName)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public BigDecimal getBigDecimal(int columnIndex, int scale)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public BigDecimal getBigDecimal(String columnName, int scale)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public InputStream getBinaryStream(int columnIndex)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public InputStream getBinaryStream(String columnName)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Blob getBlob(int i) throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Blob getBlob(String colName) throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public boolean getBoolean(int columnIndex) throws SQLException {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ public boolean getBoolean(String columnName) throws SQLException {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ public byte getByte(int columnIndex) throws SQLException {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ public byte getByte(String columnName) throws SQLException {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ public byte[] getBytes(int columnIndex) throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public byte[] getBytes(String columnName) throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Reader getCharacterStream(int columnIndex)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Reader getCharacterStream(String columnName)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Clob getClob(int i) throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Clob getClob(String colName) throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public int getConcurrency() throws SQLException {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ public String getCursorName() throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Date getDate(int columnIndex) throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Date getDate(String columnName) throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Date getDate(int columnIndex, Calendar cal)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Date getDate(String columnName, Calendar cal)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public double getDouble(int columnIndex) throws SQLException {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ public double getDouble(String columnName) throws SQLException {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ public int getFetchDirection() throws SQLException {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ public int getFetchSize() throws SQLException {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ public float getFloat(int columnIndex) throws SQLException {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ public float getFloat(String columnName) throws SQLException {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ public int getInt(int columnIndex) throws SQLException {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ public int getInt(String columnName) throws SQLException {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ public long getLong(int columnIndex) throws SQLException {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ public long getLong(String columnName) throws SQLException {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ public ResultSetMetaData getMetaData() throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Object getObject(int columnIndex) throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Object getObject(String columnName) throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Object getObject(int arg0, Map arg1) throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Object getObject(String arg0, Map arg1) throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Ref getRef(int i) throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Ref getRef(String colName) throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public int getRow() throws SQLException {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ public short getShort(int columnIndex) throws SQLException {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ public short getShort(String columnName) throws SQLException {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ public Statement getStatement() throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public String getString(int columnIndex) throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public String getString(String columnName) throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Time getTime(int columnIndex) throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Time getTime(String columnName) throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Time getTime(int columnIndex, Calendar cal)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Time getTime(String columnName, Calendar cal)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Timestamp getTimestamp(int columnIndex) throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Timestamp getTimestamp(String columnName)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Timestamp getTimestamp(int columnIndex, Calendar cal)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Timestamp getTimestamp(String columnName, Calendar cal)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public int getType() throws SQLException {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ public URL getURL(int columnIndex) throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public URL getURL(String columnName) throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public InputStream getUnicodeStream(int columnIndex)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public InputStream getUnicodeStream(String columnName)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public SQLWarning getWarnings() throws SQLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public void insertRow() throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public boolean isAfterLast() throws SQLException {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ public boolean isBeforeFirst() throws SQLException {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ public boolean isFirst() throws SQLException {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ public boolean isLast() throws SQLException {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ public boolean last() throws SQLException {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ public void moveToCurrentRow() throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void moveToInsertRow() throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public boolean next() throws SQLException {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ public boolean previous() throws SQLException {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ public void refreshRow() throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public boolean relative(int rows) throws SQLException {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ public boolean rowDeleted() throws SQLException {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ public boolean rowInserted() throws SQLException {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ public boolean rowUpdated() throws SQLException {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ public void setFetchDirection(int direction) throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void setFetchSize(int rows) throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateArray(int columnIndex, Array x)
+ throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateArray(String columnName, Array x)
+ throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateAsciiStream(int columnIndex, InputStream x,
+ int length) throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateAsciiStream(String columnName, InputStream x,
+ int length) throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateBigDecimal(int columnIndex, BigDecimal x)
+ throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateBigDecimal(String columnName, BigDecimal x)
+ throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateBinaryStream(int columnIndex, InputStream x,
+ int length) throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateBinaryStream(String columnName, InputStream x,
+ int length) throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateBlob(int columnIndex, Blob x) throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateBlob(String columnName, Blob x)
+ throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateBoolean(int columnIndex, boolean x)
+ throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateBoolean(String columnName, boolean x)
+ throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateByte(int columnIndex, byte x) throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateByte(String columnName, byte x)
+ throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateBytes(int columnIndex, byte[] x)
+ throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateBytes(String columnName, byte[] x)
+ throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateCharacterStream(int columnIndex, Reader x,
+ int length) throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateCharacterStream(String columnName, Reader reader,
+ int length) throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateClob(int columnIndex, Clob x) throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateClob(String columnName, Clob x)
+ throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateDate(int columnIndex, Date x) throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateDate(String columnName, Date x)
+ throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateDouble(int columnIndex, double x)
+ throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateDouble(String columnName, double x)
+ throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateFloat(int columnIndex, float x)
+ throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateFloat(String columnName, float x)
+ throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateInt(int columnIndex, int x) throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateInt(String columnName, int x) throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateLong(int columnIndex, long x) throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateLong(String columnName, long x)
+ throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateNull(int columnIndex) throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateNull(String columnName) throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateObject(int columnIndex, Object x)
+ throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateObject(String columnName, Object x)
+ throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateObject(int columnIndex, Object x, int scale)
+ throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateObject(String columnName, Object x, int scale)
+ throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateRef(int columnIndex, Ref x) throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateRef(String columnName, Ref x) throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateRow() throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateShort(int columnIndex, short x)
+ throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateShort(String columnName, short x)
+ throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateString(int columnIndex, String x)
+ throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateString(String columnName, String x)
+ throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateTime(int columnIndex, Time x) throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateTime(String columnName, Time x)
+ throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateTimestamp(int columnIndex, Timestamp x)
+ throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void updateTimestamp(String columnName, Timestamp x)
+ throws SQLException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public boolean wasNull() throws SQLException {
+ // TODO Auto-generated method stub
+ return false;
+ }
+ };
+ }
}
| Thread |
|---|
| • Connector/J commit: r6714 - in branches/branch_5_1: . src/com/mysql/jdbc src/testsuite/regression | mmatthews | 20 Jan 2008 |