Class JDBC42UpdatableResultSet
java.lang.Object
com.mysql.jdbc.ResultSetImpl
com.mysql.jdbc.UpdatableResultSet
com.mysql.jdbc.JDBC4UpdatableResultSet
com.mysql.jdbc.JDBC42UpdatableResultSet
- All Implemented Interfaces:
ResultSetInternalMethods, AutoCloseable, ResultSet, Wrapper
-
Field Summary
Fields inherited from class UpdatableResultSet
charConverter, inserter, STREAM_DATA_MARKER, updaterFields inherited from class ResultSetImpl
catalog, columnLabelToIndex, columnNameToIndex, columnToIndexCache, columnUsed, connection, currentRow, doingUpdates, EMPTY_SPACE, fastClientCal, fastDefaultCal, fetchDirection, fetchSize, fields, firstCharOfQuery, fullColumnNameToIndex, gmtCalendar, hasBuiltIndexMapping, isBinaryEncoded, isClosed, MAX_DIFF_PREC, MIN_DIFF_PREC, nextResultSet, onInsertRow, owningStatement, pointOfOrigin, reallyResult, resultCounter, resultId, resultSetConcurrency, resultSetType, retainOwningStatement, rowData, serverInfo, statementUsedForFetchingRows, thisRow, updateCount, updateId, useFastDateParsing, useLegacyDatetimeCode, useUsageAdvisor, warningChain, wasNullFlag, wrapperStatementFields inherited from interface ResultSet
CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE -
Constructor Summary
ConstructorsConstructorDescriptionJDBC42UpdatableResultSet(String catalog, Field[] fields, RowData tuples, MySQLConnection conn, StatementImpl creatorStmt) -
Method Summary
Modifier and TypeMethodDescription<T> TSupport for java.time.LocalDate, java.time.LocalTime, java.time.LocalDateTime, java.time.OffsetTime and java.time.OffsetDateTime.voidupdateObject(int columnIndex, Object x) Support for java.time.LocalDate, java.time.LocalTime, java.time.LocalDateTime, java.time.OffsetTime and java.time.OffsetDateTime.voidupdateObject(int columnIndex, Object x, int scaleOrLength) Support for java.time.LocalDate, java.time.LocalTime, java.time.LocalDateTime, java.time.OffsetTime and java.time.OffsetDateTime.voidupdateObject(int columnIndex, Object x, SQLType targetSqlType) Support for java.sql.JDBCType/java.sql.SQLType.voidupdateObject(int columnIndex, Object x, SQLType targetSqlType, int scaleOrLength) Support for java.sql.JDBCType/java.sql.SQLType.voidupdateObject(String columnLabel, Object x) Support for java.time.LocalDate, java.time.LocalTime, java.time.LocalDateTime, java.time.OffsetTime and java.time.OffsetDateTime.voidupdateObject(String columnLabel, Object x, int scaleOrLength) Support for java.time.LocalDate, java.time.LocalTime, java.time.LocalDateTime, java.time.OffsetTime and java.time.OffsetDateTime.voidupdateObject(String columnLabel, Object x, SQLType targetSqlType) Support for java.sql.JDBCType/java.sql.SQLType.voidupdateObject(String columnLabel, Object x, SQLType targetSqlType, int scaleOrLength) Support for java.sql.JDBCType/java.sql.SQLType.Methods inherited from class JDBC4UpdatableResultSet
getHoldability, getNativeNClob, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getRowId, getRowId, getSQLXML, getSQLXML, isClosed, isWrapperFor, unwrap, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBlob, updateBlob, updateBlob, updateBlob, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateClob, updateClob, updateClob, updateClob, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNString, updateNString, updateRowId, updateSQLXML, updateSQLXMLMethods inherited from class UpdatableResultSet
absolute, afterLast, beforeFirst, cancelRowUpdates, checkRowPos, checkUpdatability, deleteRow, first, generateStatements, getConcurrency, insertRow, isAfterLast, isBeforeFirst, isFirst, isLast, isUpdatable, last, moveToCurrentRow, moveToInsertRow, next, prev, previous, realClose, refreshRow, relative, rowDeleted, rowInserted, rowUpdated, setResultSetConcurrency, syncUpdate, updateAsciiStream, updateAsciiStream, updateBigDecimal, updateBigDecimal, updateBinaryStream, updateBinaryStream, updateBlob, updateBlob, updateBoolean, updateBoolean, updateByte, updateByte, updateBytes, updateBytes, updateCharacterStream, updateCharacterStream, updateClob, updateDate, updateDate, updateDouble, updateDouble, updateFloat, updateFloat, updateInt, updateInt, updateLong, updateLong, updateNull, updateNull, updateObjectInternal, updateRow, updateShort, updateShort, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestampMethods inherited from class ResultSetImpl
arraysEqual, buildIndexMapping, checkClosed, checkColumnBounds, clearNextResult, clearWarnings, close, convertLongToUlong, copy, fastDateCreate, fastTimeCreate, fastTimestampCreate, findColumn, getArray, getArray, getAsciiStream, getAsciiStream, getBigDecimal, getBigDecimal, getBigDecimal, getBigDecimal, getBinaryStream, getBinaryStream, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getBytes, getBytesSize, getCalendarInstanceForSessionOrNew, getCharacterStream, getCharacterStream, getClob, getClob, getCursorName, getDate, getDate, getDate, getDate, getDouble, getDouble, getDoubleInternal, getDoubleInternal, getExceptionInterceptor, getFetchDirection, getFetchSize, getFirstCharOfQuery, getFloat, getFloat, getGmtCalendar, getId, getInstance, getInstance, getInt, getInt, getLong, getLong, getMetaData, getNativeArray, getNativeAsciiStream, getNativeBigDecimal, getNativeBigDecimal, getNativeBinaryStream, getNativeBlob, getNativeByte, getNativeByte, getNativeBytes, getNativeCharacterStream, getNativeClob, getNativeDate, getNativeDate, getNativeDateViaParseConversion, getNativeDouble, getNativeFloat, getNativeInt, getNativeInt, getNativeLong, getNativeLong, getNativeRef, getNativeShort, getNativeShort, getNativeString, getNativeTimestampViaParseConversion, getNativeTimeViaParseConversion, getNativeUnicodeStream, getNativeURL, getNextResultSet, getObject, getObject, getObject, getObject, getObject, getObjectStoredProc, getObjectStoredProc, getObjectStoredProc, getObjectStoredProc, getRef, getRef, getRow, getServerInfo, getShort, getShort, getStatement, getString, getString, getStringInternal, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getType, getUnicodeStream, getUnicodeStream, getUpdateCount, getUpdateID, getURL, getURL, getWarnings, initializeFromCachedMetaData, initializeWithMetadata, populateCachedMetaData, reallyResult, redefineFieldsForDBMD, setBinaryEncoded, setFetchDirection, setFetchSize, setFirstCharOfQuery, setNextResultSet, setOwningStatement, setResultSetType, setServerInfo, setStatementUsedForFetchingRows, setWrapperStatement, toString, updateArray, updateArray, updateClob, updateRef, updateRef, wasNullMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ResultSet
updateRowId
-
Constructor Details
-
JDBC42UpdatableResultSet
public JDBC42UpdatableResultSet(String catalog, Field[] fields, RowData tuples, MySQLConnection conn, StatementImpl creatorStmt) throws SQLException - Throws:
SQLException
-
-
Method Details
-
getObject
Support for java.time.LocalDate, java.time.LocalTime, java.time.LocalDateTime, java.time.OffsetTime and java.time.OffsetDateTime.- Specified by:
getObjectin interfaceResultSet- Overrides:
getObjectin classResultSetImpl- Parameters:
columnIndex-type-- Returns:
- Throws:
SQLException
-
updateObject
Support for java.time.LocalDate, java.time.LocalTime, java.time.LocalDateTime, java.time.OffsetTime and java.time.OffsetDateTime.- Specified by:
updateObjectin interfaceResultSet- Overrides:
updateObjectin classUpdatableResultSet- Parameters:
columnIndex-x-- Throws:
SQLException
-
updateObject
Support for java.time.LocalDate, java.time.LocalTime, java.time.LocalDateTime, java.time.OffsetTime and java.time.OffsetDateTime.- Specified by:
updateObjectin interfaceResultSet- Overrides:
updateObjectin classUpdatableResultSet- Parameters:
columnIndex-x-scaleOrLength-- Throws:
SQLException
-
updateObject
Support for java.time.LocalDate, java.time.LocalTime, java.time.LocalDateTime, java.time.OffsetTime and java.time.OffsetDateTime.- Specified by:
updateObjectin interfaceResultSet- Overrides:
updateObjectin classUpdatableResultSet- Parameters:
columnLabel-x-- Throws:
SQLException
-
updateObject
Support for java.time.LocalDate, java.time.LocalTime, java.time.LocalDateTime, java.time.OffsetTime and java.time.OffsetDateTime.- Specified by:
updateObjectin interfaceResultSet- Overrides:
updateObjectin classUpdatableResultSet- Parameters:
columnLabel-x-scaleOrLength-- Throws:
SQLException
-
updateObject
Support for java.sql.JDBCType/java.sql.SQLType. Support for java.time.LocalDate, java.time.LocalTime, java.time.LocalDateTime, java.time.OffsetTime and java.time.OffsetDateTime.- Parameters:
columnIndex-x-targetSqlType-- Throws:
SQLException
-
updateObject
public void updateObject(int columnIndex, Object x, SQLType targetSqlType, int scaleOrLength) throws SQLException Support for java.sql.JDBCType/java.sql.SQLType. Support for java.time.LocalDate, java.time.LocalTime, java.time.LocalDateTime, java.time.OffsetTime and java.time.OffsetDateTime.- Parameters:
columnIndex-x-targetSqlType-scaleOrLength-- Throws:
SQLException
-
updateObject
Support for java.sql.JDBCType/java.sql.SQLType. Support for java.time.LocalDate, java.time.LocalTime, java.time.LocalDateTime, java.time.OffsetTime and java.time.OffsetDateTime.- Parameters:
columnLabel-x-targetSqlType-- Throws:
SQLException
-
updateObject
public void updateObject(String columnLabel, Object x, SQLType targetSqlType, int scaleOrLength) throws SQLException Support for java.sql.JDBCType/java.sql.SQLType. Support for java.time.LocalDate, java.time.LocalTime, java.time.LocalDateTime, java.time.OffsetTime and java.time.OffsetDateTime.- Parameters:
columnLabel-x-targetSqlType-scaleOrLength-- Throws:
SQLException
-