Available Methods
- next ( )
- close ( )
- getString ( )
- getInt ( )
- getLong ( )
- getMetaData ( )
- getObject ( )
- getTimestamp ( )
- wasNull ( )
- getBoolean ( )
- getDouble ( )
- getBigDecimal ( )
- getBytes ( )
- updateRow ( )
- getDate ( )
- getShort ( )
- TYPE_FORWARD_ONLY
- getBlob ( )
- getClob ( )
- getArray ( )
- getFloat ( )
- beforeFirst ( )
- CONCUR_READ_ONLY
- first ( )
- getTime ( )
- last ( )
- updateInt ( )
- getByte ( )
- HOLD_CURSORS_OVER_COMMIT
- absolute ( )
- getBinaryStream ( )
- updateString ( )
- findColumn ( )
- isBeforeFirst ( )
- relative ( )
- previous ( )
- TYPE_SCROLL_INSENSITIVE
- getCharacterStream ( )
- CLOSE_CURSORS_AT_COMMIT
- afterLast ( )
- updateClob ( )
- FETCH_FORWARD
- getAsciiStream ( )
- getSQLXML ( )
- getRow ( )
- updateBlob ( )
- updateBinaryStream ( )
- TYPE_SCROLL_SENSITIVE
- updateBigDecimal ( )
- insertRow ( )
- deleteRow ( )
- FETCH_REVERSE
- getRowId ( )
- moveToInsertRow ( )
- updateLong ( )
- updateNClob ( )
- isClosed ( )
- updateAsciiStream ( )
- isAfterLast ( )
- getCursorName ( )
- clearWarnings ( )
- unwrap ( )
- CONCUR_UPDATABLE
- getWarnings ( )
- getStatement ( )
- updateCharacterStream ( )
- updateTimestamp ( )
- updateDouble ( )
- FETCH_UNKNOWN
- updateFloat ( )
- getNString ( )
- getType ( )
- cancelRowUpdates ( )
- updateByte ( )
- updateTime ( )
- updateNCharacterStream ( )
- setFetchDirection ( )
- isLast ( )
- isWrapperFor ( )
- updateObject ( )
- setFetchSize ( )
- rowDeleted ( )
- getNClob ( )
- updateArray ( )
- toString ( )
- updateNull ( )
- updateRef ( )
- refreshRow ( )
- updateRowId ( )
- getRef ( )
- updateNString ( )
Related Classes
- java.util.Arrays
- java.io.File
- java.util.Collections
- java.io.InputStream
- java.util.Date
- java.util.Iterator
- java.io.Serializable
- java.text.SimpleDateFormat
- java.util.Locale
- java.util.LinkedList
- java.util.Properties
- java.util.UUID
- java.util.stream.Collectors
- java.util.LinkedHashMap
- java.util.Calendar
- org.junit.Assert
- java.util.Optional
- java.math.BigDecimal
- java.io.Reader
- org.apache.commons.lang3.StringUtils
- java.sql.SQLException
- java.util.TimeZone
- java.util.logging.Level
- com.google.common.collect.Lists
- java.sql.Connection
Java Code Examples for java.sql.ResultSet#updateTime()
The following examples show how to use
java.sql.ResultSet#updateTime() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ExportToJdbcPlugin.java From constellation with Apache License 2.0 | 6 votes |
private static void updateResultSetParam(final GraphReadMethods rg, final ResultSet rs, final String label, final Attribute attr, final int id) throws SQLException { switch (attr.getAttributeType()) { case "boolean": rs.updateBoolean(label, rg.getBooleanValue(attr.getId(), id)); break; case "date": final long date = rg.getLongValue(attr.getId(), id); if (date != Long.MIN_VALUE) { rs.updateDate(label, new Date(date)); } break; case "datetime": final long timestamp = rg.getLongValue(attr.getId(), id); if (timestamp != Long.MIN_VALUE) { rs.updateTimestamp(label, new Timestamp(timestamp)); } break; case "integer": rs.updateInt(label, rg.getIntValue(attr.getId(), id)); break; case "float": rs.updateFloat(label, rg.getFloatValue(attr.getId(), id)); break; case "time": final long time = rg.getLongValue(attr.getId(), id); if (time != Long.MIN_VALUE) { rs.updateTime(label, new Time(time)); } break; default: final String s = rg.getStringValue(attr.getId(), id); if (s != null) { rs.updateString(label, s); } break; } }
Example 2
Source File: UnsupportedUpdateOperationResultSetTest.java From sharding-jdbc-1.5.1 with Apache License 2.0 | 4 votes |
@Test(expected = SQLFeatureNotSupportedException.class) public void assertUpdateTimeForColumnIndex() throws SQLException { for (ResultSet each : resultSets) { each.updateTime(1, new Time(0L)); } }
Example 3
Source File: UnsupportedUpdateOperationResultSetTest.java From sharding-jdbc-1.5.1 with Apache License 2.0 | 4 votes |
@Test(expected = SQLFeatureNotSupportedException.class) public void assertUpdateTimeForColumnLabel() throws SQLException { for (ResultSet each : resultSets) { each.updateTime("label", new Time(0L)); } }
Example 4
Source File: UnsupportedUpdateOperationResultSetTest.java From shardingsphere with Apache License 2.0 | 4 votes |
@Test(expected = SQLFeatureNotSupportedException.class) public void assertUpdateTimeForColumnIndex() throws SQLException { for (ResultSet each : resultSets) { each.updateTime(1, new Time(0L)); } }
Example 5
Source File: UnsupportedUpdateOperationResultSetTest.java From shardingsphere with Apache License 2.0 | 4 votes |
@Test(expected = SQLFeatureNotSupportedException.class) public void assertUpdateTimeForColumnLabel() throws SQLException { for (ResultSet each : resultSets) { each.updateTime("label", new Time(0L)); } }