本文整理了Java中java.sql.ResultSet.updateObject
方法的一些代码示例,展示了ResultSet.updateObject
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ResultSet.updateObject
方法的具体详情如下:
包路径:java.sql.ResultSet
类名称:ResultSet
方法名:updateObject
[英]Updates a column specified by a column index with an Objectvalue.
[中]使用Objectvalue更新列索引指定的列。
代码示例来源:origin: querydsl/querydsl
@Override
public void updateObject(int columnIndex, Object x, int scaleOrLength)
throws SQLException {
rs.updateObject(columnIndex, x, scaleOrLength);
}
代码示例来源:origin: querydsl/querydsl
@Override
public void updateObject(String columnLabel, Object x, int scaleOrLength)
throws SQLException {
rs.updateObject(columnLabel, x, scaleOrLength);
}
代码示例来源:origin: querydsl/querydsl
@Override
public void updateObject(int columnIndex, Object x) throws SQLException {
rs.updateObject(columnIndex, x);
}
代码示例来源:origin: codingapi/tx-lcn
@Override
public void updateObject(int columnIndex, Object x, int scaleOrLength) throws SQLException {
delegate.updateObject(columnIndex, x, scaleOrLength);
}
代码示例来源:origin: codingapi/tx-lcn
@Override
public void updateObject(String columnLabel, Object x, int scaleOrLength) throws SQLException {
delegate.updateObject(columnLabel, x, scaleOrLength);
}
代码示例来源:origin: querydsl/querydsl
@Override
public void updateObject(String columnLabel, Object x) throws SQLException {
rs.updateObject(columnLabel, x);
}
代码示例来源:origin: codingapi/tx-lcn
@Override
public void updateObject(String columnLabel, Object x) throws SQLException {
delegate.updateObject(columnLabel, x);
}
代码示例来源:origin: alibaba/druid
@Override
public void updateObject(int columnIndex, Object x) throws SQLException {
try {
rs.updateObject(columnIndex, x);
} catch (Throwable t) {
throw checkException(t);
}
}
代码示例来源:origin: alibaba/druid
@Override
public void updateObject(int columnIndex, Object x, int scaleOrLength) throws SQLException {
try {
rs.updateObject(columnIndex, x, scaleOrLength);
} catch (Throwable t) {
throw checkException(t);
}
}
代码示例来源:origin: alibaba/druid
@Override
public void updateObject(String columnLabel, Object x, int scaleOrLength) throws SQLException {
try {
rs.updateObject(columnLabel, x, scaleOrLength);
} catch (Throwable t) {
throw checkException(t);
}
}
代码示例来源:origin: alibaba/druid
@Override
public void updateObject(String columnLabel, Object x) throws SQLException {
try {
rs.updateObject(columnLabel, x);
} catch (Throwable t) {
throw checkException(t);
}
}
代码示例来源:origin: apache/ignite
@Override public void run() throws Exception {
rs.updateObject("id", null, 0);
}
});
代码示例来源:origin: apache/ignite
@Override public void run() throws Exception {
rs.updateObject(1, null, 0);
}
});
代码示例来源:origin: apache/ignite
@Override public void run() throws Exception {
rs.updateObject("id", null);
}
});
代码示例来源:origin: apache/ignite
@Override public void run() throws Exception {
rs.updateObject(1, null);
}
});
代码示例来源:origin: alibaba/druid
@Override
public void resultSet_updateObject(ResultSetProxy resultSet, int columnIndex, Object x) throws SQLException {
if (this.pos < filterSize) {
nextFilter().resultSet_updateObject(this, resultSet, columnIndex, x);
return;
}
resultSet.getResultSetRaw().updateObject(columnIndex, x);
}
代码示例来源:origin: alibaba/druid
@Override
public void resultSet_updateObject(ResultSetProxy resultSet, int columnIndex, Object x, int scaleOrLength)
throws SQLException {
if (this.pos < filterSize) {
nextFilter().resultSet_updateObject(this, resultSet, columnIndex, x, scaleOrLength);
return;
}
resultSet.getResultSetRaw().updateObject(columnIndex, x, scaleOrLength);
}
代码示例来源:origin: alibaba/druid
@Override
public void resultSet_updateObject(ResultSetProxy resultSet, String columnLabel, Object x) throws SQLException {
if (this.pos < filterSize) {
nextFilter().resultSet_updateObject(this, resultSet, columnLabel, x);
return;
}
resultSet.getResultSetRaw().updateObject(columnLabel, x);
}
代码示例来源:origin: alibaba/druid
@Override
public void resultSet_updateObject(ResultSetProxy resultSet, String columnLabel, Object x, int scaleOrLength)
throws SQLException {
if (this.pos < filterSize) {
nextFilter().resultSet_updateObject(this, resultSet, columnLabel, x, scaleOrLength);
return;
}
resultSet.getResultSetRaw().updateObject(columnLabel, x, scaleOrLength);
}
代码示例来源:origin: apache/groovy
/**
* Supports integer based subscript operators for updating the values of numbered columns
* starting at zero. Negative indices are supported, they will count from the last column backwards.
*
* @param index is the number of the column to look at starting at 1
* @param newValue the updated value
* @throws java.sql.SQLException if something goes wrong
* @see ResultSet#updateObject(java.lang.String, java.lang.Object)
*/
public void putAt(int index, Object newValue) throws SQLException {
index = normalizeIndex(index);
getResultSet().updateObject(index, newValue);
}
内容来源于网络,如有侵权,请联系作者删除!