| 1 |
package jp.co.powerbeans.jdbcdebug.sql; |
| 2 |
|
| 3 |
import java.io.InputStream; |
| 4 |
import java.io.Reader; |
| 5 |
import java.math.BigDecimal; |
| 6 |
import java.net.URL; |
| 7 |
import java.sql.Array; |
| 8 |
import java.sql.Blob; |
| 9 |
import java.sql.Clob; |
| 10 |
import java.sql.Date; |
| 11 |
import java.sql.NClob; |
| 12 |
import java.sql.Ref; |
| 13 |
import java.sql.ResultSetMetaData; |
| 14 |
import java.sql.RowId; |
| 15 |
import java.sql.SQLException; |
| 16 |
import java.sql.SQLWarning; |
| 17 |
import java.sql.SQLXML; |
| 18 |
import java.sql.Statement; |
| 19 |
import java.sql.Time; |
| 20 |
import java.sql.Timestamp; |
| 21 |
import java.util.Calendar; |
| 22 |
import java.util.Map; |
| 23 |
|
| 24 |
/** |
| 25 |
* <p>タイトル: ResultSet</p> |
| 26 |
* <p>説明: </p> |
| 27 |
* <p>Created on 2003/10/01</p> |
| 28 |
* @author 門田明彦 |
| 29 |
* @version $Revision: 1.1 $ |
| 30 |
*/ |
| 31 |
public class ResultSet implements java.sql.ResultSet { |
| 32 |
|
| 33 |
/** 実 ResultSet */ |
| 34 |
private java.sql.ResultSet rs; |
| 35 |
|
| 36 |
/** |
| 37 |
* コンストラクタ |
| 38 |
*/ |
| 39 |
ResultSet(java.sql.ResultSet set) { |
| 40 |
super(); |
| 41 |
|
| 42 |
rs = set; |
| 43 |
} |
| 44 |
|
| 45 |
/** |
| 46 |
* コンストラクタ |
| 47 |
*/ |
| 48 |
private ResultSet() { |
| 49 |
super(); |
| 50 |
} |
| 51 |
|
| 52 |
|
| 53 |
/* (non-Javadoc) |
| 54 |
* @see java.sql.ResultSet#absolute(int) |
| 55 |
*/ |
| 56 |
public boolean absolute(int row) throws SQLException { |
| 57 |
return rs.absolute(row); |
| 58 |
} |
| 59 |
|
| 60 |
/* (non-Javadoc) |
| 61 |
* @see java.sql.ResultSet#afterLast() |
| 62 |
*/ |
| 63 |
public void afterLast() throws SQLException { |
| 64 |
rs.afterLast(); |
| 65 |
} |
| 66 |
|
| 67 |
/* (non-Javadoc) |
| 68 |
* @see java.sql.ResultSet#beforeFirst() |
| 69 |
*/ |
| 70 |
public void beforeFirst() throws SQLException { |
| 71 |
rs.beforeFirst(); |
| 72 |
} |
| 73 |
|
| 74 |
/* (non-Javadoc) |
| 75 |
* @see java.sql.ResultSet#cancelRowUpdates() |
| 76 |
*/ |
| 77 |
public void cancelRowUpdates() throws SQLException { |
| 78 |
rs.cancelRowUpdates(); |
| 79 |
} |
| 80 |
|
| 81 |
/* (non-Javadoc) |
| 82 |
* @see java.sql.ResultSet#clearWarnings() |
| 83 |
*/ |
| 84 |
public void clearWarnings() throws SQLException { |
| 85 |
rs.clearWarnings(); |
| 86 |
} |
| 87 |
|
| 88 |
/* (non-Javadoc) |
| 89 |
* @see java.sql.ResultSet#close() |
| 90 |
*/ |
| 91 |
public void close() throws SQLException { |
| 92 |
rs.close(); |
| 93 |
} |
| 94 |
|
| 95 |
/* (non-Javadoc) |
| 96 |
* @see java.sql.ResultSet#deleteRow() |
| 97 |
*/ |
| 98 |
public void deleteRow() throws SQLException { |
| 99 |
rs.deleteRow(); |
| 100 |
} |
| 101 |
|
| 102 |
/* (non-Javadoc) |
| 103 |
* @see java.sql.ResultSet#findColumn(java.lang.String) |
| 104 |
*/ |
| 105 |
public int findColumn(String columnName) throws SQLException { |
| 106 |
return rs.findColumn(columnName); |
| 107 |
} |
| 108 |
|
| 109 |
/* (non-Javadoc) |
| 110 |
* @see java.sql.ResultSet#first() |
| 111 |
*/ |
| 112 |
public boolean first() throws SQLException { |
| 113 |
return rs.first(); |
| 114 |
} |
| 115 |
|
| 116 |
/* (non-Javadoc) |
| 117 |
* @see java.sql.ResultSet#getArray(int) |
| 118 |
*/ |
| 119 |
public Array getArray(int i) throws SQLException { |
| 120 |
return rs.getArray(i); |
| 121 |
} |
| 122 |
|
| 123 |
/* (non-Javadoc) |
| 124 |
* @see java.sql.ResultSet#getArray(java.lang.String) |
| 125 |
*/ |
| 126 |
public Array getArray(String colName) throws SQLException { |
| 127 |
return rs.getArray(colName); |
| 128 |
} |
| 129 |
|
| 130 |
/* (non-Javadoc) |
| 131 |
* @see java.sql.ResultSet#getAsciiStream(int) |
| 132 |
*/ |
| 133 |
public InputStream getAsciiStream(int columnIndex) throws SQLException { |
| 134 |
return rs.getAsciiStream(columnIndex); |
| 135 |
} |
| 136 |
|
| 137 |
/* (non-Javadoc) |
| 138 |
* @see java.sql.ResultSet#getAsciiStream(java.lang.String) |
| 139 |
*/ |
| 140 |
public InputStream getAsciiStream(String columnName) throws SQLException { |
| 141 |
return rs.getAsciiStream(columnName); |
| 142 |
} |
| 143 |
|
| 144 |
/** |
| 145 |
* |
| 146 |
* @see java.sql.ResultSet#getBigDecimal(int, int) |
| 147 |
* @deprecated |
| 148 |
*/ |
| 149 |
public BigDecimal getBigDecimal(int columnIndex, int scale) |
| 150 |
throws SQLException { |
| 151 |
return rs.getBigDecimal(columnIndex, scale); |
| 152 |
} |
| 153 |
|
| 154 |
/* (non-Javadoc) |
| 155 |
* @see java.sql.ResultSet#getBigDecimal(int) |
| 156 |
*/ |
| 157 |
public BigDecimal getBigDecimal(int columnIndex) throws SQLException { |
| 158 |
return rs.getBigDecimal(columnIndex); |
| 159 |
} |
| 160 |
|
| 161 |
/** |
| 162 |
* @see java.sql.ResultSet#getBigDecimal(java.lang.String, int) |
| 163 |
* @deprecated |
| 164 |
*/ |
| 165 |
public BigDecimal getBigDecimal(String columnName, int scale) |
| 166 |
throws SQLException { |
| 167 |
return rs.getBigDecimal(columnName, scale); |
| 168 |
} |
| 169 |
|
| 170 |
/* (non-Javadoc) |
| 171 |
* @see java.sql.ResultSet#getBigDecimal(java.lang.String) |
| 172 |
*/ |
| 173 |
public BigDecimal getBigDecimal(String columnName) throws SQLException { |
| 174 |
return rs.getBigDecimal(columnName); |
| 175 |
} |
| 176 |
|
| 177 |
/* (non-Javadoc) |
| 178 |
* @see java.sql.ResultSet#getBinaryStream(int) |
| 179 |
*/ |
| 180 |
public InputStream getBinaryStream(int columnIndex) throws SQLException { |
| 181 |
return rs.getBinaryStream(columnIndex); |
| 182 |
} |
| 183 |
|
| 184 |
/* (non-Javadoc) |
| 185 |
* @see java.sql.ResultSet#getBinaryStream(java.lang.String) |
| 186 |
*/ |
| 187 |
public InputStream getBinaryStream(String columnName) throws SQLException { |
| 188 |
return rs.getBinaryStream(columnName); |
| 189 |
} |
| 190 |
|
| 191 |
/* (non-Javadoc) |
| 192 |
* @see java.sql.ResultSet#getBlob(int) |
| 193 |
*/ |
| 194 |
public Blob getBlob(int i) throws SQLException { |
| 195 |
return rs.getBlob(i); |
| 196 |
} |
| 197 |
|
| 198 |
/* (non-Javadoc) |
| 199 |
* @see java.sql.ResultSet#getBlob(java.lang.String) |
| 200 |
*/ |
| 201 |
public Blob getBlob(String colName) throws SQLException { |
| 202 |
return rs.getBlob(colName); |
| 203 |
} |
| 204 |
|
| 205 |
/* (non-Javadoc) |
| 206 |
* @see java.sql.ResultSet#getBoolean(int) |
| 207 |
*/ |
| 208 |
public boolean getBoolean(int columnIndex) throws SQLException { |
| 209 |
return rs.getBoolean(columnIndex); |
| 210 |
} |
| 211 |
|
| 212 |
/* (non-Javadoc) |
| 213 |
* @see java.sql.ResultSet#getBoolean(java.lang.String) |
| 214 |
*/ |
| 215 |
public boolean getBoolean(String columnName) throws SQLException { |
| 216 |
return rs.getBoolean(columnName); |
| 217 |
} |
| 218 |
|
| 219 |
/* (non-Javadoc) |
| 220 |
* @see java.sql.ResultSet#getByte(int) |
| 221 |
*/ |
| 222 |
public byte getByte(int columnIndex) throws SQLException { |
| 223 |
return rs.getByte(columnIndex); |
| 224 |
} |
| 225 |
|
| 226 |
/* (non-Javadoc) |
| 227 |
* @see java.sql.ResultSet#getByte(java.lang.String) |
| 228 |
*/ |
| 229 |
public byte getByte(String columnName) throws SQLException { |
| 230 |
return rs.getByte(columnName); |
| 231 |
} |
| 232 |
|
| 233 |
/* (non-Javadoc) |
| 234 |
* @see java.sql.ResultSet#getBytes(int) |
| 235 |
*/ |
| 236 |
public byte[] getBytes(int columnIndex) throws SQLException { |
| 237 |
return rs.getBytes(columnIndex); |
| 238 |
} |
| 239 |
|
| 240 |
/* (non-Javadoc) |
| 241 |
* @see java.sql.ResultSet#getBytes(java.lang.String) |
| 242 |
*/ |
| 243 |
public byte[] getBytes(String columnName) throws SQLException { |
| 244 |
return rs.getBytes(columnName); |
| 245 |
} |
| 246 |
|
| 247 |
/* (non-Javadoc) |
| 248 |
* @see java.sql.ResultSet#getCharacterStream(int) |
| 249 |
*/ |
| 250 |
public Reader getCharacterStream(int columnIndex) throws SQLException { |
| 251 |
return rs.getCharacterStream(columnIndex); |
| 252 |
} |
| 253 |
|
| 254 |
/* (non-Javadoc) |
| 255 |
* @see java.sql.ResultSet#getCharacterStream(java.lang.String) |
| 256 |
*/ |
| 257 |
public Reader getCharacterStream(String columnName) throws SQLException { |
| 258 |
return rs.getCharacterStream(columnName); |
| 259 |
} |
| 260 |
|
| 261 |
/* (non-Javadoc) |
| 262 |
* @see java.sql.ResultSet#getClob(int) |
| 263 |
*/ |
| 264 |
public Clob getClob(int i) throws SQLException { |
| 265 |
return rs.getClob(i); |
| 266 |
} |
| 267 |
|
| 268 |
/* (non-Javadoc) |
| 269 |
* @see java.sql.ResultSet#getClob(java.lang.String) |
| 270 |
*/ |
| 271 |
public Clob getClob(String colName) throws SQLException { |
| 272 |
return rs.getClob(colName); |
| 273 |
} |
| 274 |
|
| 275 |
/* (non-Javadoc) |
| 276 |
* @see java.sql.ResultSet#getConcurrency() |
| 277 |
*/ |
| 278 |
public int getConcurrency() throws SQLException { |
| 279 |
return rs.getConcurrency(); |
| 280 |
} |
| 281 |
|
| 282 |
/* (non-Javadoc) |
| 283 |
* @see java.sql.ResultSet#getCursorName() |
| 284 |
*/ |
| 285 |
public String getCursorName() throws SQLException { |
| 286 |
return rs.getCursorName(); |
| 287 |
} |
| 288 |
|
| 289 |
/* (non-Javadoc) |
| 290 |
* @see java.sql.ResultSet#getDate(int, java.util.Calendar) |
| 291 |
*/ |
| 292 |
public Date getDate(int columnIndex, Calendar cal) throws SQLException { |
| 293 |
return rs.getDate(columnIndex, cal); |
| 294 |
} |
| 295 |
|
| 296 |
/* (non-Javadoc) |
| 297 |
* @see java.sql.ResultSet#getDate(int) |
| 298 |
*/ |
| 299 |
public Date getDate(int columnIndex) throws SQLException { |
| 300 |
return rs.getDate(columnIndex); |
| 301 |
} |
| 302 |
|
| 303 |
/* (non-Javadoc) |
| 304 |
* @see java.sql.ResultSet#getDate(java.lang.String, java.util.Calendar) |
| 305 |
*/ |
| 306 |
public Date getDate(String columnName, Calendar cal) throws SQLException { |
| 307 |
return rs.getDate(columnName, cal); |
| 308 |
} |
| 309 |
|
| 310 |
/* (non-Javadoc) |
| 311 |
* @see java.sql.ResultSet#getDate(java.lang.String) |
| 312 |
*/ |
| 313 |
public Date getDate(String columnName) throws SQLException { |
| 314 |
return rs.getDate(columnName); |
| 315 |
} |
| 316 |
|
| 317 |
/* (non-Javadoc) |
| 318 |
* @see java.sql.ResultSet#getDouble(int) |
| 319 |
*/ |
| 320 |
public double getDouble(int columnIndex) throws SQLException { |
| 321 |
return rs.getDouble(columnIndex); |
| 322 |
} |
| 323 |
|
| 324 |
/* (non-Javadoc) |
| 325 |
* @see java.sql.ResultSet#getDouble(java.lang.String) |
| 326 |
*/ |
| 327 |
public double getDouble(String columnName) throws SQLException { |
| 328 |
return rs.getDouble(columnName); |
| 329 |
} |
| 330 |
|
| 331 |
/* (non-Javadoc) |
| 332 |
* @see java.sql.ResultSet#getFetchDirection() |
| 333 |
*/ |
| 334 |
public int getFetchDirection() throws SQLException { |
| 335 |
return rs.getFetchDirection(); |
| 336 |
} |
| 337 |
|
| 338 |
/* (non-Javadoc) |
| 339 |
* @see java.sql.ResultSet#getFetchSize() |
| 340 |
*/ |
| 341 |
public int getFetchSize() throws SQLException { |
| 342 |
return rs.getFetchSize(); |
| 343 |
} |
| 344 |
|
| 345 |
/* (non-Javadoc) |
| 346 |
* @see java.sql.ResultSet#getFloat(int) |
| 347 |
*/ |
| 348 |
public float getFloat(int columnIndex) throws SQLException { |
| 349 |
return rs.getFloat(columnIndex); |
| 350 |
} |
| 351 |
|
| 352 |
/* (non-Javadoc) |
| 353 |
* @see java.sql.ResultSet#getFloat(java.lang.String) |
| 354 |
*/ |
| 355 |
public float getFloat(String columnName) throws SQLException { |
| 356 |
return rs.getFloat(columnName); |
| 357 |
} |
| 358 |
|
| 359 |
/* (non-Javadoc) |
| 360 |
* @see java.sql.ResultSet#getInt(int) |
| 361 |
*/ |
| 362 |
public int getInt(int columnIndex) throws SQLException { |
| 363 |
return rs.getInt(columnIndex); |
| 364 |
} |
| 365 |
|
| 366 |
/* (non-Javadoc) |
| 367 |
* @see java.sql.ResultSet#getInt(java.lang.String) |
| 368 |
*/ |
| 369 |
public int getInt(String columnName) throws SQLException { |
| 370 |
return rs.getInt(columnName); |
| 371 |
} |
| 372 |
|
| 373 |
/* (non-Javadoc) |
| 374 |
* @see java.sql.ResultSet#getLong(int) |
| 375 |
*/ |
| 376 |
public long getLong(int columnIndex) throws SQLException { |
| 377 |
return rs.getLong(columnIndex); |
| 378 |
} |
| 379 |
|
| 380 |
/* (non-Javadoc) |
| 381 |
* @see java.sql.ResultSet#getLong(java.lang.String) |
| 382 |
*/ |
| 383 |
public long getLong(String columnName) throws SQLException { |
| 384 |
return rs.getLong(columnName); |
| 385 |
} |
| 386 |
|
| 387 |
/* (non-Javadoc) |
| 388 |
* @see java.sql.ResultSet#getMetaData() |
| 389 |
*/ |
| 390 |
public ResultSetMetaData getMetaData() throws SQLException { |
| 391 |
return rs.getMetaData(); |
| 392 |
} |
| 393 |
|
| 394 |
/* (non-Javadoc) |
| 395 |
* @see java.sql.ResultSet#getObject(int, java.util.Map) |
| 396 |
*/ |
| 397 |
public Object getObject(int i, Map map) throws SQLException { |
| 398 |
return rs.getObject(i, map); |
| 399 |
} |
| 400 |
|
| 401 |
/* (non-Javadoc) |
| 402 |
* @see java.sql.ResultSet#getObject(int) |
| 403 |
*/ |
| 404 |
public Object getObject(int columnIndex) throws SQLException { |
| 405 |
return rs.getObject(columnIndex); |
| 406 |
} |
| 407 |
|
| 408 |
/* (non-Javadoc) |
| 409 |
* @see java.sql.ResultSet#getObject(java.lang.String, java.util.Map) |
| 410 |
*/ |
| 411 |
public Object getObject(String colName, Map map) throws SQLException { |
| 412 |
return rs.getObject(colName, map); |
| 413 |
} |
| 414 |
|
| 415 |
/* (non-Javadoc) |
| 416 |
* @see java.sql.ResultSet#getObject(java.lang.String) |
| 417 |
*/ |
| 418 |
public Object getObject(String columnName) throws SQLException { |
| 419 |
return rs.getObject(columnName); |
| 420 |
} |
| 421 |
|
| 422 |
/* (non-Javadoc) |
| 423 |
* @see java.sql.ResultSet#getRef(int) |
| 424 |
*/ |
| 425 |
public Ref getRef(int i) throws SQLException { |
| 426 |
return rs.getRef(i); |
| 427 |
} |
| 428 |
|
| 429 |
/* (non-Javadoc) |
| 430 |
* @see java.sql.ResultSet#getRef(java.lang.String) |
| 431 |
*/ |
| 432 |
public Ref getRef(String colName) throws SQLException { |
| 433 |
return rs.getRef(colName); |
| 434 |
} |
| 435 |
|
| 436 |
/* (non-Javadoc) |
| 437 |
* @see java.sql.ResultSet#getRow() |
| 438 |
*/ |
| 439 |
public int getRow() throws SQLException { |
| 440 |
return rs.getRow(); |
| 441 |
} |
| 442 |
|
| 443 |
/* (non-Javadoc) |
| 444 |
* @see java.sql.ResultSet#getShort(int) |
| 445 |
*/ |
| 446 |
public short getShort(int columnIndex) throws SQLException { |
| 447 |
return rs.getShort(columnIndex); |
| 448 |
} |
| 449 |
|
| 450 |
/* (non-Javadoc) |
| 451 |
* @see java.sql.ResultSet#getShort(java.lang.String) |
| 452 |
*/ |
| 453 |
public short getShort(String columnName) throws SQLException { |
| 454 |
return rs.getShort(columnName); |
| 455 |
} |
| 456 |
|
| 457 |
/* (non-Javadoc) |
| 458 |
* @see java.sql.ResultSet#getStatement() |
| 459 |
*/ |
| 460 |
public Statement getStatement() throws SQLException { |
| 461 |
return rs.getStatement(); |
| 462 |
} |
| 463 |
|
| 464 |
/* (non-Javadoc) |
| 465 |
* @see java.sql.ResultSet#getString(int) |
| 466 |
*/ |
| 467 |
public String getString(int columnIndex) throws SQLException { |
| 468 |
return rs.getString(columnIndex); |
| 469 |
} |
| 470 |
|
| 471 |
/* (non-Javadoc) |
| 472 |
* @see java.sql.ResultSet#getString(java.lang.String) |
| 473 |
*/ |
| 474 |
public String getString(String columnName) throws SQLException { |
| 475 |
return rs.getString(columnName); |
| 476 |
} |
| 477 |
|
| 478 |
/* (non-Javadoc) |
| 479 |
* @see java.sql.ResultSet#getTime(int, java.util.Calendar) |
| 480 |
*/ |
| 481 |
public Time getTime(int columnIndex, Calendar cal) throws SQLException { |
| 482 |
return rs.getTime(columnIndex, cal); |
| 483 |
} |
| 484 |
|
| 485 |
/* (non-Javadoc) |
| 486 |
* @see java.sql.ResultSet#getTime(int) |
| 487 |
*/ |
| 488 |
public Time getTime(int columnIndex) throws SQLException { |
| 489 |
return rs.getTime(columnIndex); |
| 490 |
} |
| 491 |
|
| 492 |
/* (non-Javadoc) |
| 493 |
* @see java.sql.ResultSet#getTime(java.lang.String, java.util.Calendar) |
| 494 |
*/ |
| 495 |
public Time getTime(String columnName, Calendar cal) throws SQLException { |
| 496 |
return rs.getTime(columnName, cal); |
| 497 |
} |
| 498 |
|
| 499 |
/* (non-Javadoc) |
| 500 |
* @see java.sql.ResultSet#getTime(java.lang.String) |
| 501 |
*/ |
| 502 |
public Time getTime(String columnName) throws SQLException { |
| 503 |
return rs.getTime(columnName); |
| 504 |
} |
| 505 |
|
| 506 |
/* (non-Javadoc) |
| 507 |
* @see java.sql.ResultSet#getTimestamp(int, java.util.Calendar) |
| 508 |
*/ |
| 509 |
public Timestamp getTimestamp(int columnIndex, Calendar cal) |
| 510 |
throws SQLException { |
| 511 |
return rs.getTimestamp(columnIndex, cal); |
| 512 |
} |
| 513 |
|
| 514 |
/* (non-Javadoc) |
| 515 |
* @see java.sql.ResultSet#getTimestamp(int) |
| 516 |
*/ |
| 517 |
public Timestamp getTimestamp(int columnIndex) throws SQLException { |
| 518 |
return rs.getTimestamp(columnIndex); |
| 519 |
} |
| 520 |
|
| 521 |
/* (non-Javadoc) |
| 522 |
* @see java.sql.ResultSet#getTimestamp(java.lang.String, java.util.Calendar) |
| 523 |
*/ |
| 524 |
public Timestamp getTimestamp(String columnName, Calendar cal) |
| 525 |
throws SQLException { |
| 526 |
return rs.getTimestamp(columnName, cal); |
| 527 |
} |
| 528 |
|
| 529 |
/* (non-Javadoc) |
| 530 |
* @see java.sql.ResultSet#getTimestamp(java.lang.String) |
| 531 |
*/ |
| 532 |
public Timestamp getTimestamp(String columnName) throws SQLException { |
| 533 |
return rs.getTimestamp(columnName); |
| 534 |
} |
| 535 |
|
| 536 |
/* (non-Javadoc) |
| 537 |
* @see java.sql.ResultSet#getType() |
| 538 |
*/ |
| 539 |
public int getType() throws SQLException { |
| 540 |
return rs.getType(); |
| 541 |
} |
| 542 |
|
| 543 |
/** |
| 544 |
* @see java.sql.ResultSet#getUnicodeStream(int) |
| 545 |
* @deprecated |
| 546 |
*/ |
| 547 |
public InputStream getUnicodeStream(int columnIndex) throws SQLException { |
| 548 |
return rs.getUnicodeStream(columnIndex); |
| 549 |
} |
| 550 |
|
| 551 |
/** |
| 552 |
* @see java.sql.ResultSet#getUnicodeStream(java.lang.String) |
| 553 |
* @deprecated |
| 554 |
*/ |
| 555 |
public InputStream getUnicodeStream(String columnName) |
| 556 |
throws SQLException { |
| 557 |
return rs.getUnicodeStream(columnName); |
| 558 |
} |
| 559 |
|
| 560 |
/* (non-Javadoc) |
| 561 |
* @see java.sql.ResultSet#getURL(int) |
| 562 |
*/ |
| 563 |
public URL getURL(int columnIndex) throws SQLException { |
| 564 |
return rs.getURL(columnIndex); |
| 565 |
} |
| 566 |
|
| 567 |
/* (non-Javadoc) |
| 568 |
* @see java.sql.ResultSet#getURL(java.lang.String) |
| 569 |
*/ |
| 570 |
public URL getURL(String columnName) throws SQLException { |
| 571 |
return rs.getURL(columnName); |
| 572 |
} |
| 573 |
|
| 574 |
/* (non-Javadoc) |
| 575 |
* @see java.sql.ResultSet#getWarnings() |
| 576 |
*/ |
| 577 |
public SQLWarning getWarnings() throws SQLException { |
| 578 |
return rs.getWarnings(); |
| 579 |
} |
| 580 |
|
| 581 |
/* (non-Javadoc) |
| 582 |
* @see java.sql.ResultSet#insertRow() |
| 583 |
*/ |
| 584 |
public void insertRow() throws SQLException { |
| 585 |
rs.insertRow(); |
| 586 |
} |
| 587 |
|
| 588 |
/* (non-Javadoc) |
| 589 |
* @see java.sql.ResultSet#isAfterLast() |
| 590 |
*/ |
| 591 |
public boolean isAfterLast() throws SQLException { |
| 592 |
return rs.isAfterLast(); |
| 593 |
} |
| 594 |
|
| 595 |
/* (non-Javadoc) |
| 596 |
* @see java.sql.ResultSet#isBeforeFirst() |
| 597 |
*/ |
| 598 |
public boolean isBeforeFirst() throws SQLException { |
| 599 |
return rs.isBeforeFirst(); |
| 600 |
} |
| 601 |
|
| 602 |
/* (non-Javadoc) |
| 603 |
* @see java.sql.ResultSet#isFirst() |
| 604 |
*/ |
| 605 |
public boolean isFirst() throws SQLException { |
| 606 |
return rs.isFirst(); |
| 607 |
} |
| 608 |
|
| 609 |
/* (non-Javadoc) |
| 610 |
* @see java.sql.ResultSet#isLast() |
| 611 |
*/ |
| 612 |
public boolean isLast() throws SQLException { |
| 613 |
return rs.isLast(); |
| 614 |
} |
| 615 |
|
| 616 |
/* (non-Javadoc) |
| 617 |
* @see java.sql.ResultSet#last() |
| 618 |
*/ |
| 619 |
public boolean last() throws SQLException { |
| 620 |
return rs.last(); |
| 621 |
} |
| 622 |
|
| 623 |
/* (non-Javadoc) |
| 624 |
* @see java.sql.ResultSet#moveToCurrentRow() |
| 625 |
*/ |
| 626 |
public void moveToCurrentRow() throws SQLException { |
| 627 |
rs.moveToCurrentRow(); |
| 628 |
} |
| 629 |
|
| 630 |
/* (non-Javadoc) |
| 631 |
* @see java.sql.ResultSet#moveToInsertRow() |
| 632 |
*/ |
| 633 |
public void moveToInsertRow() throws SQLException { |
| 634 |
rs.moveToInsertRow(); |
| 635 |
} |
| 636 |
|
| 637 |
/* (non-Javadoc) |
| 638 |
* @see java.sql.ResultSet#next() |
| 639 |
*/ |
| 640 |
public boolean next() throws SQLException { |
| 641 |
return rs.next(); |
| 642 |
} |
| 643 |
|
| 644 |
/* (non-Javadoc) |
| 645 |
* @see java.sql.ResultSet#previous() |
| 646 |
*/ |
| 647 |
public boolean previous() throws SQLException { |
| 648 |
return rs.previous(); |
| 649 |
} |
| 650 |
|
| 651 |
/* (non-Javadoc) |
| 652 |
* @see java.sql.ResultSet#refreshRow() |
| 653 |
*/ |
| 654 |
public void refreshRow() throws SQLException { |
| 655 |
rs.refreshRow(); |
| 656 |
} |
| 657 |
|
| 658 |
/* (non-Javadoc) |
| 659 |
* @see java.sql.ResultSet#relative(int) |
| 660 |
*/ |
| 661 |
public boolean relative(int rows) throws SQLException { |
| 662 |
return rs.relative(rows); |
| 663 |
} |
| 664 |
|
| 665 |
/* (non-Javadoc) |
| 666 |
* @see java.sql.ResultSet#rowDeleted() |
| 667 |
*/ |
| 668 |
public boolean rowDeleted() throws SQLException { |
| 669 |
return rs.rowDeleted(); |
| 670 |
} |
| 671 |
|
| 672 |
/* (non-Javadoc) |
| 673 |
* @see java.sql.ResultSet#rowInserted() |
| 674 |
*/ |
| 675 |
public boolean rowInserted() throws SQLException { |
| 676 |
return rs.rowInserted(); |
| 677 |
} |
| 678 |
|
| 679 |
/* (non-Javadoc) |
| 680 |
* @see java.sql.ResultSet#rowUpdated() |
| 681 |
*/ |
| 682 |
public boolean rowUpdated() throws SQLException { |
| 683 |
return rs.rowUpdated(); |
| 684 |
} |
| 685 |
|
| 686 |
/* (non-Javadoc) |
| 687 |
* @see java.sql.ResultSet#setFetchDirection(int) |
| 688 |
*/ |
| 689 |
public void setFetchDirection(int direction) throws SQLException { |
| 690 |
rs.setFetchDirection(direction); |
| 691 |
} |
| 692 |
|
| 693 |
/* (non-Javadoc) |
| 694 |
* @see java.sql.ResultSet#setFetchSize(int) |
| 695 |
*/ |
| 696 |
public void setFetchSize(int rows) throws SQLException { |
| 697 |
rs.setFetchSize(rows); |
| 698 |
} |
| 699 |
|
| 700 |
/* (non-Javadoc) |
| 701 |
* @see java.sql.ResultSet#updateArray(int, java.sql.Array) |
| 702 |
*/ |
| 703 |
public void updateArray(int columnIndex, Array x) throws SQLException { |
| 704 |
rs.updateArray(columnIndex, x); |
| 705 |
} |
| 706 |
|
| 707 |
/* (non-Javadoc) |
| 708 |
* @see java.sql.ResultSet#updateArray(java.lang.String, java.sql.Array) |
| 709 |
*/ |
| 710 |
public void updateArray(String columnName, Array x) throws SQLException { |
| 711 |
rs.updateArray(columnName, x); |
| 712 |
} |
| 713 |
|
| 714 |
/* (non-Javadoc) |
| 715 |
* @see java.sql.ResultSet#updateAsciiStream(int, java.io.InputStream, int) |
| 716 |
*/ |
| 717 |
public void updateAsciiStream(int columnIndex, InputStream x, int length) |
| 718 |
throws SQLException { |
| 719 |
rs.updateAsciiStream(columnIndex, x, length); |
| 720 |
} |
| 721 |
|
| 722 |
/* (non-Javadoc) |
| 723 |
* @see java.sql.ResultSet#updateAsciiStream(java.lang.String, java.io.InputStream, int) |
| 724 |
*/ |
| 725 |
public void updateAsciiStream(String columnName, InputStream x, int length) |
| 726 |
throws SQLException { |
| 727 |
rs.updateAsciiStream(columnName, x, length); |
| 728 |
} |
| 729 |
|
| 730 |
/* (non-Javadoc) |
| 731 |
* @see java.sql.ResultSet#updateBigDecimal(int, java.math.BigDecimal) |
| 732 |
*/ |
| 733 |
public void updateBigDecimal(int columnIndex, BigDecimal x) |
| 734 |
throws SQLException { |
| 735 |
rs.updateBigDecimal(columnIndex, x); |
| 736 |
} |
| 737 |
|
| 738 |
/* (non-Javadoc) |
| 739 |
* @see java.sql.ResultSet#updateBigDecimal(java.lang.String, java.math.BigDecimal) |
| 740 |
*/ |
| 741 |
public void updateBigDecimal(String columnName, BigDecimal x) |
| 742 |
throws SQLException { |
| 743 |
rs.updateBigDecimal(columnName, x); |
| 744 |
} |
| 745 |
|
| 746 |
/* (non-Javadoc) |
| 747 |
* @see java.sql.ResultSet#updateBinaryStream(int, java.io.InputStream, int) |
| 748 |
*/ |
| 749 |
public void updateBinaryStream(int columnIndex, InputStream x, int length) |
| 750 |
throws SQLException { |
| 751 |
rs.updateBinaryStream(columnIndex, x, length); |
| 752 |
} |
| 753 |
|
| 754 |
/* (non-Javadoc) |
| 755 |
* @see java.sql.ResultSet#updateBinaryStream(java.lang.String, java.io.InputStream, int) |
| 756 |
*/ |
| 757 |
public void updateBinaryStream( |
| 758 |
String columnName, |
| 759 |
InputStream x, |
| 760 |
int length) |
| 761 |
throws SQLException { |
| 762 |
rs.updateBinaryStream(columnName, x, length); |
| 763 |
} |
| 764 |
|
| 765 |
/* (non-Javadoc) |
| 766 |
* @see java.sql.ResultSet#updateBlob(int, java.sql.Blob) |
| 767 |
*/ |
| 768 |
public void updateBlob(int columnIndex, Blob x) throws SQLException { |
| 769 |
rs.updateBlob(columnIndex, x); |
| 770 |
} |
| 771 |
|
| 772 |
/* (non-Javadoc) |
| 773 |
* @see java.sql.ResultSet#updateBlob(java.lang.String, java.sql.Blob) |
| 774 |
*/ |
| 775 |
public void updateBlob(String columnName, Blob x) throws SQLException { |
| 776 |
rs.updateBlob(columnName, x); |
| 777 |
} |
| 778 |
|
| 779 |
/* (non-Javadoc) |
| 780 |
* @see java.sql.ResultSet#updateBoolean(int, boolean) |
| 781 |
*/ |
| 782 |
public void updateBoolean(int columnIndex, boolean x) throws SQLException { |
| 783 |
rs.updateBoolean(columnIndex, x); |
| 784 |
} |
| 785 |
|
| 786 |
/* (non-Javadoc) |
| 787 |
* @see java.sql.ResultSet#updateBoolean(java.lang.String, boolean) |
| 788 |
*/ |
| 789 |
public void updateBoolean(String columnName, boolean x) |
| 790 |
throws SQLException { |
| 791 |
rs.updateBoolean(columnName, x); |
| 792 |
} |
| 793 |
|
| 794 |
/* (non-Javadoc) |
| 795 |
* @see java.sql.ResultSet#updateByte(int, byte) |
| 796 |
*/ |
| 797 |
public void updateByte(int columnIndex, byte x) throws SQLException { |
| 798 |
rs.updateByte(columnIndex, x); |
| 799 |
} |
| 800 |
|
| 801 |
/* (non-Javadoc) |
| 802 |
* @see java.sql.ResultSet#updateByte(java.lang.String, byte) |
| 803 |
*/ |
| 804 |
public void updateByte(String columnName, byte x) throws SQLException { |
| 805 |
rs.updateByte(columnName, x); |
| 806 |
} |
| 807 |
|
| 808 |
/* (non-Javadoc) |
| 809 |
* @see java.sql.ResultSet#updateBytes(int, byte[]) |
| 810 |
*/ |
| 811 |
public void updateBytes(int columnIndex, byte[] x) throws SQLException { |
| 812 |
rs.updateBytes(columnIndex, x); |
| 813 |
} |
| 814 |
|
| 815 |
/* (non-Javadoc) |
| 816 |
* @see java.sql.ResultSet#updateBytes(java.lang.String, byte[]) |
| 817 |
*/ |
| 818 |
public void updateBytes(String columnName, byte[] x) throws SQLException { |
| 819 |
rs.updateBytes(columnName, x); |
| 820 |
} |
| 821 |
|
| 822 |
/* (non-Javadoc) |
| 823 |
* @see java.sql.ResultSet#updateCharacterStream(int, java.io.Reader, int) |
| 824 |
*/ |
| 825 |
public void updateCharacterStream(int columnIndex, Reader x, int length) |
| 826 |
throws SQLException { |
| 827 |
rs.updateCharacterStream(columnIndex, x, length); |
| 828 |
} |
| 829 |
|
| 830 |
/* (non-Javadoc) |
| 831 |
* @see java.sql.ResultSet#updateCharacterStream(java.lang.String, java.io.Reader, int) |
| 832 |
*/ |
| 833 |
public void updateCharacterStream( |
| 834 |
String columnName, |
| 835 |
Reader reader, |
| 836 |
int length) |
| 837 |
throws SQLException { |
| 838 |
rs.updateCharacterStream(columnName, reader, length); |
| 839 |
} |
| 840 |
|
| 841 |
/* (non-Javadoc) |
| 842 |
* @see java.sql.ResultSet#updateClob(int, java.sql.Clob) |
| 843 |
*/ |
| 844 |
public void updateClob(int columnIndex, Clob x) throws SQLException { |
| 845 |
rs.updateClob(columnIndex, x); |
| 846 |
} |
| 847 |
|
| 848 |
/* (non-Javadoc) |
| 849 |
* @see java.sql.ResultSet#updateClob(java.lang.String, java.sql.Clob) |
| 850 |
*/ |
| 851 |
public void updateClob(String columnName, Clob x) throws SQLException { |
| 852 |
rs.updateClob(columnName, x); |
| 853 |
} |
| 854 |
|
| 855 |
/* (non-Javadoc) |
| 856 |
* @see java.sql.ResultSet#updateDate(int, java.sql.Date) |
| 857 |
*/ |
| 858 |
public void updateDate(int columnIndex, Date x) throws SQLException { |
| 859 |
rs.updateDate(columnIndex, x); |
| 860 |
} |
| 861 |
|
| 862 |
/* (non-Javadoc) |
| 863 |
* @see java.sql.ResultSet#updateDate(java.lang.String, java.sql.Date) |
| 864 |
*/ |
| 865 |
public void updateDate(String columnName, Date x) throws SQLException { |
| 866 |
rs.updateDate(columnName, x); |
| 867 |
} |
| 868 |
|
| 869 |
/* (non-Javadoc) |
| 870 |
* @see java.sql.ResultSet#updateDouble(int, double) |
| 871 |
*/ |
| 872 |
public void updateDouble(int columnIndex, double x) throws SQLException { |
| 873 |
rs.updateDouble(columnIndex, x); |
| 874 |
} |
| 875 |
|
| 876 |
/* (non-Javadoc) |
| 877 |
* @see java.sql.ResultSet#updateDouble(java.lang.String, double) |
| 878 |
*/ |
| 879 |
public void updateDouble(String columnName, double x) throws SQLException { |
| 880 |
rs.updateDouble(columnName, x); |
| 881 |
} |
| 882 |
|
| 883 |
/* (non-Javadoc) |
| 884 |
* @see java.sql.ResultSet#updateFloat(int, float) |
| 885 |
*/ |
| 886 |
public void updateFloat(int columnIndex, float x) throws SQLException { |
| 887 |
updateFloat(columnIndex, x); |
| 888 |
} |
| 889 |
|
| 890 |
/* (non-Javadoc) |
| 891 |
* @see java.sql.ResultSet#updateFloat(java.lang.String, float) |
| 892 |
*/ |
| 893 |
public void updateFloat(String columnName, float x) throws SQLException { |
| 894 |
rs.updateFloat(columnName, x); |
| 895 |
} |
| 896 |
|
| 897 |
/* (non-Javadoc) |
| 898 |
* @see java.sql.ResultSet#updateInt(int, int) |
| 899 |
*/ |
| 900 |
public void updateInt(int columnIndex, int x) throws SQLException { |
| 901 |
rs.updateInt(columnIndex, x); |
| 902 |
} |
| 903 |
|
| 904 |
/* (non-Javadoc) |
| 905 |
* @see java.sql.ResultSet#updateInt(java.lang.String, int) |
| 906 |
*/ |
| 907 |
public void updateInt(String columnName, int x) throws SQLException { |
| 908 |
rs.updateInt(columnName, x); |
| 909 |
} |
| 910 |
|
| 911 |
/* (non-Javadoc) |
| 912 |
* @see java.sql.ResultSet#updateLong(int, long) |
| 913 |
*/ |
| 914 |
public void updateLong(int columnIndex, long x) throws SQLException { |
| 915 |
rs.updateLong(columnIndex, x); |
| 916 |
} |
| 917 |
|
| 918 |
/* (non-Javadoc) |
| 919 |
* @see java.sql.ResultSet#updateLong(java.lang.String, long) |
| 920 |
*/ |
| 921 |
public void updateLong(String columnName, long x) throws SQLException { |
| 922 |
rs.updateLong(columnName, x); |
| 923 |
} |
| 924 |
|
| 925 |
/* (non-Javadoc) |
| 926 |
* @see java.sql.ResultSet#updateNull(int) |
| 927 |
*/ |
| 928 |
public void updateNull(int columnIndex) throws SQLException { |
| 929 |
rs.updateNull(columnIndex); |
| 930 |
} |
| 931 |
|
| 932 |
/* (non-Javadoc) |
| 933 |
* @see java.sql.ResultSet#updateNull(java.lang.String) |
| 934 |
*/ |
| 935 |
public void updateNull(String columnName) throws SQLException { |
| 936 |
rs.updateNull(columnName); |
| 937 |
} |
| 938 |
|
| 939 |
/* (non-Javadoc) |
| 940 |
* @see java.sql.ResultSet#updateObject(int, java.lang.Object, int) |
| 941 |
*/ |
| 942 |
public void updateObject(int columnIndex, Object x, int scale) |
| 943 |
throws SQLException { |
| 944 |
rs.updateObject(columnIndex, x, scale); |
| 945 |
} |
| 946 |
|
| 947 |
/* (non-Javadoc) |
| 948 |
* @see java.sql.ResultSet#updateObject(int, java.lang.Object) |
| 949 |
*/ |
| 950 |
public void updateObject(int columnIndex, Object x) throws SQLException { |
| 951 |
rs.updateObject(columnIndex, x); |
| 952 |
} |
| 953 |
|
| 954 |
/* (non-Javadoc) |
| 955 |
* @see java.sql.ResultSet#updateObject(java.lang.String, java.lang.Object, int) |
| 956 |
*/ |
| 957 |
public void updateObject(String columnName, Object x, int scale) |
| 958 |
throws SQLException { |
| 959 |
rs.updateObject(columnName, x, scale); |
| 960 |
} |
| 961 |
|
| 962 |
/* (non-Javadoc) |
| 963 |
* @see java.sql.ResultSet#updateObject(java.lang.String, java.lang.Object) |
| 964 |
*/ |
| 965 |
public void updateObject(String columnName, Object x) throws SQLException { |
| 966 |
rs.updateObject(columnName, x); |
| 967 |
} |
| 968 |
|
| 969 |
/* (non-Javadoc) |
| 970 |
* @see java.sql.ResultSet#updateRef(int, java.sql.Ref) |
| 971 |
*/ |
| 972 |
public void updateRef(int columnIndex, Ref x) throws SQLException { |
| 973 |
rs.updateRef(columnIndex, x); |
| 974 |
} |
| 975 |
|
| 976 |
/* (non-Javadoc) |
| 977 |
* @see java.sql.ResultSet#updateRef(java.lang.String, java.sql.Ref) |
| 978 |
*/ |
| 979 |
public void updateRef(String columnName, Ref x) throws SQLException { |
| 980 |
rs.updateRef(columnName, x); |
| 981 |
} |
| 982 |
|
| 983 |
/* (non-Javadoc) |
| 984 |
* @see java.sql.ResultSet#updateRow() |
| 985 |
*/ |
| 986 |
public void updateRow() throws SQLException { |
| 987 |
rs.updateRow(); |
| 988 |
} |
| 989 |
|
| 990 |
/* (non-Javadoc) |
| 991 |
* @see java.sql.ResultSet#updateShort(int, short) |
| 992 |
*/ |
| 993 |
public void updateShort(int columnIndex, short x) throws SQLException { |
| 994 |
rs.updateShort(columnIndex, x); |
| 995 |
} |
| 996 |
|
| 997 |
/* (non-Javadoc) |
| 998 |
* @see java.sql.ResultSet#updateShort(java.lang.String, short) |
| 999 |
*/ |
| 1000 |
public void updateShort(String columnName, short x) throws SQLException { |
| 1001 |
rs.updateShort(columnName, x); |
| 1002 |
} |
| 1003 |
|
| 1004 |
/* (non-Javadoc) |
| 1005 |
* @see java.sql.ResultSet#updateString(int, java.lang.String) |
| 1006 |
*/ |
| 1007 |
public void updateString(int columnIndex, String x) throws SQLException { |
| 1008 |
rs.updateString(columnIndex, x); |
| 1009 |
} |
| 1010 |
|
| 1011 |
/* (non-Javadoc) |
| 1012 |
* @see java.sql.ResultSet#updateString(java.lang.String, java.lang.String) |
| 1013 |
*/ |
| 1014 |
public void updateString(String columnName, String x) throws SQLException { |
| 1015 |
rs.updateString(columnName, x); |
| 1016 |
} |
| 1017 |
|
| 1018 |
/* (non-Javadoc) |
| 1019 |
* @see java.sql.ResultSet#updateTime(int, java.sql.Time) |
| 1020 |
*/ |
| 1021 |
public void updateTime(int columnIndex, Time x) throws SQLException { |
| 1022 |
rs.updateTime(columnIndex, x); |
| 1023 |
} |
| 1024 |
|
| 1025 |
/* (non-Javadoc) |
| 1026 |
* @see java.sql.ResultSet#updateTime(java.lang.String, java.sql.Time) |
| 1027 |
*/ |
| 1028 |
public void updateTime(String columnName, Time x) throws SQLException { |
| 1029 |
rs.updateTime(columnName, x); |
| 1030 |
} |
| 1031 |
|
| 1032 |
/* (non-Javadoc) |
| 1033 |
* @see java.sql.ResultSet#updateTimestamp(int, java.sql.Timestamp) |
| 1034 |
*/ |
| 1035 |
public void updateTimestamp(int columnIndex, Timestamp x) |
| 1036 |
throws SQLException { |
| 1037 |
rs.updateTimestamp(columnIndex, x); |
| 1038 |
} |
| 1039 |
|
| 1040 |
/* (non-Javadoc) |
| 1041 |
* @see java.sql.ResultSet#updateTimestamp(java.lang.String, java.sql.Timestamp) |
| 1042 |
*/ |
| 1043 |
public void updateTimestamp(String columnName, Timestamp x) |
| 1044 |
throws SQLException { |
| 1045 |
rs.updateTimestamp(columnName, x); |
| 1046 |
} |
| 1047 |
|
| 1048 |
/* (non-Javadoc) |
| 1049 |
* @see java.sql.ResultSet#wasNull() |
| 1050 |
*/ |
| 1051 |
public boolean wasNull() throws SQLException { |
| 1052 |
return rs.wasNull(); |
| 1053 |
} |
| 1054 |
|
| 1055 |
/** |
| 1056 |
* @return |
| 1057 |
* @throws SQLException |
| 1058 |
* @see java.sql.ResultSet#getHoldability() |
| 1059 |
*/ |
| 1060 |
public int getHoldability() throws SQLException { |
| 1061 |
return rs.getHoldability(); |
| 1062 |
} |
| 1063 |
|
| 1064 |
/** |
| 1065 |
* @param columnIndex |
| 1066 |
* @return |
| 1067 |
* @throws SQLException |
| 1068 |
* @see java.sql.ResultSet#getNCharacterStream(int) |
| 1069 |
*/ |
| 1070 |
public Reader getNCharacterStream(int columnIndex) throws SQLException { |
| 1071 |
return rs.getNCharacterStream(columnIndex); |
| 1072 |
} |
| 1073 |
|
| 1074 |
/** |
| 1075 |
* @param columnLabel |
| 1076 |
* @return |
| 1077 |
* @throws SQLException |
| 1078 |
* @see java.sql.ResultSet#getNCharacterStream(java.lang.String) |
| 1079 |
*/ |
| 1080 |
public Reader getNCharacterStream(String columnLabel) throws SQLException { |
| 1081 |
return rs.getNCharacterStream(columnLabel); |
| 1082 |
} |
| 1083 |
|
| 1084 |
/** |
| 1085 |
* @param columnIndex |
| 1086 |
* @return |
| 1087 |
* @throws SQLException |
| 1088 |
* @see java.sql.ResultSet#getNClob(int) |
| 1089 |
*/ |
| 1090 |
public NClob getNClob(int columnIndex) throws SQLException { |
| 1091 |
return rs.getNClob(columnIndex); |
| 1092 |
} |
| 1093 |
|
| 1094 |
/** |
| 1095 |
* @param columnLabel |
| 1096 |
* @return |
| 1097 |
* @throws SQLException |
| 1098 |
* @see java.sql.ResultSet#getNClob(java.lang.String) |
| 1099 |
*/ |
| 1100 |
public NClob getNClob(String columnLabel) throws SQLException { |
| 1101 |
return rs.getNClob(columnLabel); |
| 1102 |
} |
| 1103 |
|
| 1104 |
/** |
| 1105 |
* @param columnIndex |
| 1106 |
* @return |
| 1107 |
* @throws SQLException |
| 1108 |
* @see java.sql.ResultSet#getNString(int) |
| 1109 |
*/ |
| 1110 |
public String getNString(int columnIndex) throws SQLException { |
| 1111 |
return rs.getNString(columnIndex); |
| 1112 |
} |
| 1113 |
|
| 1114 |
/** |
| 1115 |
* @param columnLabel |
| 1116 |
* @return |
| 1117 |
* @throws SQLException |
| 1118 |
* @see java.sql.ResultSet#getNString(java.lang.String) |
| 1119 |
*/ |
| 1120 |
public String getNString(String columnLabel) throws SQLException { |
| 1121 |
return rs.getNString(columnLabel); |
| 1122 |
} |
| 1123 |
|
| 1124 |
/** |
| 1125 |
* @param columnIndex |
| 1126 |
* @return |
| 1127 |
* @throws SQLException |
| 1128 |
* @see java.sql.ResultSet#getRowId(int) |
| 1129 |
*/ |
| 1130 |
public RowId getRowId(int columnIndex) throws SQLException { |
| 1131 |
return rs.getRowId(columnIndex); |
| 1132 |
} |
| 1133 |
|
| 1134 |
/** |
| 1135 |
* @param columnLabel |
| 1136 |
* @return |
| 1137 |
* @throws SQLException |
| 1138 |
* @see java.sql.ResultSet#getRowId(java.lang.String) |
| 1139 |
*/ |
| 1140 |
public RowId getRowId(String columnLabel) throws SQLException { |
| 1141 |
return rs.getRowId(columnLabel); |
| 1142 |
} |
| 1143 |
|
| 1144 |
/** |
| 1145 |
* @param columnIndex |
| 1146 |
* @return |
| 1147 |
* @throws SQLException |
| 1148 |
* @see java.sql.ResultSet#getSQLXML(int) |
| 1149 |
*/ |
| 1150 |
public SQLXML getSQLXML(int columnIndex) throws SQLException { |
| 1151 |
return rs.getSQLXML(columnIndex); |
| 1152 |
} |
| 1153 |
|
| 1154 |
/** |
| 1155 |
* @param columnLabel |
| 1156 |
* @return |
| 1157 |
* @throws SQLException |
| 1158 |
* @see java.sql.ResultSet#getSQLXML(java.lang.String) |
| 1159 |
*/ |
| 1160 |
public SQLXML getSQLXML(String columnLabel) throws SQLException { |
| 1161 |
return rs.getSQLXML(columnLabel); |
| 1162 |
} |
| 1163 |
|
| 1164 |
/** |
| 1165 |
* @return |
| 1166 |
* @throws SQLException |
| 1167 |
* @see java.sql.ResultSet#isClosed() |
| 1168 |
*/ |
| 1169 |
public boolean isClosed() throws SQLException { |
| 1170 |
return rs.isClosed(); |
| 1171 |
} |
| 1172 |
|
| 1173 |
/** |
| 1174 |
* @param iface |
| 1175 |
* @return |
| 1176 |
* @throws SQLException |
| 1177 |
* @see java.sql.Wrapper#isWrapperFor(java.lang.Class) |
| 1178 |
*/ |
| 1179 |
public boolean isWrapperFor(Class<?> iface) throws SQLException { |
| 1180 |
return rs.isWrapperFor(iface); |
| 1181 |
} |
| 1182 |
|
| 1183 |
/** |
| 1184 |
* @param <T> |
| 1185 |
* @param iface |
| 1186 |
* @return |
| 1187 |
* @throws SQLException |
| 1188 |
* @see java.sql.Wrapper#unwrap(java.lang.Class) |
| 1189 |
*/ |
| 1190 |
public <T> T unwrap(Class<T> iface) throws SQLException { |
| 1191 |
return rs.unwrap(iface); |
| 1192 |
} |
| 1193 |
|
| 1194 |
/** |
| 1195 |
* @param columnIndex |
| 1196 |
* @param x |
| 1197 |
* @param length |
| 1198 |
* @throws SQLException |
| 1199 |
* @see java.sql.ResultSet#updateAsciiStream(int, java.io.InputStream, long) |
| 1200 |
*/ |
| 1201 |
public void updateAsciiStream(int columnIndex, InputStream x, long length) |
| 1202 |
throws SQLException { |
| 1203 |
rs.updateAsciiStream(columnIndex, x, length); |
| 1204 |
} |
| 1205 |
|
| 1206 |
/** |
| 1207 |
* @param columnIndex |
| 1208 |
* @param x |
| 1209 |
* @throws SQLException |
| 1210 |
* @see java.sql.ResultSet#updateAsciiStream(int, java.io.InputStream) |
| 1211 |
*/ |
| 1212 |
public void updateAsciiStream(int columnIndex, InputStream x) |
| 1213 |
throws SQLException { |
| 1214 |
rs.updateAsciiStream(columnIndex, x); |
| 1215 |
} |
| 1216 |
|
| 1217 |
/** |
| 1218 |
* @param columnLabel |
| 1219 |
* @param x |
| 1220 |
* @param length |
| 1221 |
* @throws SQLException |
| 1222 |
* @see java.sql.ResultSet#updateAsciiStream(java.lang.String, java.io.InputStream, long) |
| 1223 |
*/ |
| 1224 |
public void updateAsciiStream(String columnLabel, InputStream x, long length) |
| 1225 |
throws SQLException { |
| 1226 |
rs.updateAsciiStream(columnLabel, x, length); |
| 1227 |
} |
| 1228 |
|
| 1229 |
/** |
| 1230 |
* @param columnLabel |
| 1231 |
* @param x |
| 1232 |
* @throws SQLException |
| 1233 |
* @see java.sql.ResultSet#updateAsciiStream(java.lang.String, java.io.InputStream) |
| 1234 |
*/ |
| 1235 |
public void updateAsciiStream(String columnLabel, InputStream x) |
| 1236 |
throws SQLException { |
| 1237 |
rs.updateAsciiStream(columnLabel, x); |
| 1238 |
} |
| 1239 |
|
| 1240 |
/** |
| 1241 |
* @param columnIndex |
| 1242 |
* @param x |
| 1243 |
* @param length |
| 1244 |
* @throws SQLException |
| 1245 |
* @see java.sql.ResultSet#updateBinaryStream(int, java.io.InputStream, long) |
| 1246 |
*/ |
| 1247 |
public void updateBinaryStream(int columnIndex, InputStream x, long length) |
| 1248 |
throws SQLException { |
| 1249 |
rs.updateBinaryStream(columnIndex, x, length); |
| 1250 |
} |
| 1251 |
|
| 1252 |
/** |
| 1253 |
* @param columnIndex |
| 1254 |
* @param x |
| 1255 |
* @throws SQLException |
| 1256 |
* @see java.sql.ResultSet#updateBinaryStream(int, java.io.InputStream) |
| 1257 |
*/ |
| 1258 |
public void updateBinaryStream(int columnIndex, InputStream x) |
| 1259 |
throws SQLException { |
| 1260 |
rs.updateBinaryStream(columnIndex, x); |
| 1261 |
} |
| 1262 |
|
| 1263 |
/** |
| 1264 |
* @param columnLabel |
| 1265 |
* @param x |
| 1266 |
* @param length |
| 1267 |
* @throws SQLException |
| 1268 |
* @see java.sql.ResultSet#updateBinaryStream(java.lang.String, java.io.InputStream, long) |
| 1269 |
*/ |
| 1270 |
public void updateBinaryStream(String columnLabel, InputStream x, |
| 1271 |
long length) throws SQLException { |
| 1272 |
rs.updateBinaryStream(columnLabel, x, length); |
| 1273 |
} |
| 1274 |
|
| 1275 |
/** |
| 1276 |
* @param columnLabel |
| 1277 |
* @param x |
| 1278 |
* @throws SQLException |
| 1279 |
* @see java.sql.ResultSet#updateBinaryStream(java.lang.String, java.io.InputStream) |
| 1280 |
*/ |
| 1281 |
public void updateBinaryStream(String columnLabel, InputStream x) |
| 1282 |
throws SQLException { |
| 1283 |
rs.updateBinaryStream(columnLabel, x); |
| 1284 |
} |
| 1285 |
|
| 1286 |
/** |
| 1287 |
* @param columnIndex |
| 1288 |
* @param inputStream |
| 1289 |
* @param length |
| 1290 |
* @throws SQLException |
| 1291 |
* @see java.sql.ResultSet#updateBlob(int, java.io.InputStream, long) |
| 1292 |
*/ |
| 1293 |
public void updateBlob(int columnIndex, InputStream inputStream, long length) |
| 1294 |
throws SQLException { |
| 1295 |
rs.updateBlob(columnIndex, inputStream, length); |
| 1296 |
} |
| 1297 |
|
| 1298 |
/** |
| 1299 |
* @param columnIndex |
| 1300 |
* @param inputStream |
| 1301 |
* @throws SQLException |
| 1302 |
* @see java.sql.ResultSet#updateBlob(int, java.io.InputStream) |
| 1303 |
*/ |
| 1304 |
public void updateBlob(int columnIndex, InputStream inputStream) |
| 1305 |
throws SQLException { |
| 1306 |
rs.updateBlob(columnIndex, inputStream); |
| 1307 |
} |
| 1308 |
|
| 1309 |
/** |
| 1310 |
* @param columnLabel |
| 1311 |
* @param inputStream |
| 1312 |
* @param length |
| 1313 |
* @throws SQLException |
| 1314 |
* @see java.sql.ResultSet#updateBlob(java.lang.String, java.io.InputStream, long) |
| 1315 |
*/ |
| 1316 |
public void updateBlob(String columnLabel, InputStream inputStream, |
| 1317 |
long length) throws SQLException { |
| 1318 |
rs.updateBlob(columnLabel, inputStream, length); |
| 1319 |
} |
| 1320 |
|
| 1321 |
/** |
| 1322 |
* @param columnLabel |
| 1323 |
* @param inputStream |
| 1324 |
* @throws SQLException |
| 1325 |
* @see java.sql.ResultSet#updateBlob(java.lang.String, java.io.InputStream) |
| 1326 |
*/ |
| 1327 |
public void updateBlob(String columnLabel, InputStream inputStream) |
| 1328 |
throws SQLException { |
| 1329 |
rs.updateBlob(columnLabel, inputStream); |
| 1330 |
} |
| 1331 |
|
| 1332 |
/** |
| 1333 |
* @param columnIndex |
| 1334 |
* @param x |
| 1335 |
* @param length |
| 1336 |
* @throws SQLException |
| 1337 |
* @see java.sql.ResultSet#updateCharacterStream(int, java.io.Reader, long) |
| 1338 |
*/ |
| 1339 |
public void updateCharacterStream(int columnIndex, Reader x, long length) |
| 1340 |
throws SQLException { |
| 1341 |
rs.updateCharacterStream(columnIndex, x, length); |
| 1342 |
} |
| 1343 |
|
| 1344 |
/** |
| 1345 |
* @param columnIndex |
| 1346 |
* @param x |
| 1347 |
* @throws SQLException |
| 1348 |
* @see java.sql.ResultSet#updateCharacterStream(int, java.io.Reader) |
| 1349 |
*/ |
| 1350 |
public void updateCharacterStream(int columnIndex, Reader x) |
| 1351 |
throws SQLException { |
| 1352 |
rs.updateCharacterStream(columnIndex, x); |
| 1353 |
} |
| 1354 |
|
| 1355 |
/** |
| 1356 |
* @param columnLabel |
| 1357 |
* @param reader |
| 1358 |
* @param length |
| 1359 |
* @throws SQLException |
| 1360 |
* @see java.sql.ResultSet#updateCharacterStream(java.lang.String, java.io.Reader, long) |
| 1361 |
*/ |
| 1362 |
public void updateCharacterStream(String columnLabel, Reader reader, |
| 1363 |
long length) throws SQLException { |
| 1364 |
rs.updateCharacterStream(columnLabel, reader, length); |
| 1365 |
} |
| 1366 |
|
| 1367 |
/** |
| 1368 |
* @param columnLabel |
| 1369 |
* @param reader |
| 1370 |
* @throws SQLException |
| 1371 |
* @see java.sql.ResultSet#updateCharacterStream(java.lang.String, java.io.Reader) |
| 1372 |
*/ |
| 1373 |
public void updateCharacterStream(String columnLabel, Reader reader) |
| 1374 |
throws SQLException { |
| 1375 |
rs.updateCharacterStream(columnLabel, reader); |
| 1376 |
} |
| 1377 |
|
| 1378 |
/** |
| 1379 |
* @param columnIndex |
| 1380 |
* @param reader |
| 1381 |
* @param length |
| 1382 |
* @throws SQLException |
| 1383 |
* @see java.sql.ResultSet#updateClob(int, java.io.Reader, long) |
| 1384 |
*/ |
| 1385 |
public void updateClob(int columnIndex, Reader reader, long length) |
| 1386 |
throws SQLException { |
| 1387 |
rs.updateClob(columnIndex, reader, length); |
| 1388 |
} |
| 1389 |
|
| 1390 |
/** |
| 1391 |
* @param columnIndex |
| 1392 |
* @param reader |
| 1393 |
* @throws SQLException |
| 1394 |
* @see java.sql.ResultSet#updateClob(int, java.io.Reader) |
| 1395 |
*/ |
| 1396 |
public void updateClob(int columnIndex, Reader reader) throws SQLException { |
| 1397 |
rs.updateClob(columnIndex, reader); |
| 1398 |
} |
| 1399 |
|
| 1400 |
/** |
| 1401 |
* @param columnLabel |
| 1402 |
* @param reader |
| 1403 |
* @param length |
| 1404 |
* @throws SQLException |
| 1405 |
* @see java.sql.ResultSet#updateClob(java.lang.String, java.io.Reader, long) |
| 1406 |
*/ |
| 1407 |
public void updateClob(String columnLabel, Reader reader, long length) |
| 1408 |
throws SQLException { |
| 1409 |
rs.updateClob(columnLabel, reader, length); |
| 1410 |
} |
| 1411 |
|
| 1412 |
/** |
| 1413 |
* @param columnLabel |
| 1414 |
* @param reader |
| 1415 |
* @throws SQLException |
| 1416 |
* @see java.sql.ResultSet#updateClob(java.lang.String, java.io.Reader) |
| 1417 |
*/ |
| 1418 |
public void updateClob(String columnLabel, Reader reader) |
| 1419 |
throws SQLException { |
| 1420 |
rs.updateClob(columnLabel, reader); |
| 1421 |
} |
| 1422 |
|
| 1423 |
/** |
| 1424 |
* @param columnIndex |
| 1425 |
* @param x |
| 1426 |
* @param length |
| 1427 |
* @throws SQLException |
| 1428 |
* @see java.sql.ResultSet#updateNCharacterStream(int, java.io.Reader, long) |
| 1429 |
*/ |
| 1430 |
public void updateNCharacterStream(int columnIndex, Reader x, long length) |
| 1431 |
throws SQLException { |
| 1432 |
rs.updateNCharacterStream(columnIndex, x, length); |
| 1433 |
} |
| 1434 |
|
| 1435 |
/** |
| 1436 |
* @param columnIndex |
| 1437 |
* @param x |
| 1438 |
* @throws SQLException |
| 1439 |
* @see java.sql.ResultSet#updateNCharacterStream(int, java.io.Reader) |
| 1440 |
*/ |
| 1441 |
public void updateNCharacterStream(int columnIndex, Reader x) |
| 1442 |
throws SQLException { |
| 1443 |
rs.updateNCharacterStream(columnIndex, x); |
| 1444 |
} |
| 1445 |
|
| 1446 |
/** |
| 1447 |
* @param columnLabel |
| 1448 |
* @param reader |
| 1449 |
* @param length |
| 1450 |
* @throws SQLException |
| 1451 |
* @see java.sql.ResultSet#updateNCharacterStream(java.lang.String, java.io.Reader, long) |
| 1452 |
*/ |
| 1453 |
public void updateNCharacterStream(String columnLabel, Reader reader, |
| 1454 |
long length) throws SQLException { |
| 1455 |
rs.updateNCharacterStream(columnLabel, reader, length); |
| 1456 |
} |
| 1457 |
|
| 1458 |
/** |
| 1459 |
* @param columnLabel |
| 1460 |
* @param reader |
| 1461 |
* @throws SQLException |
| 1462 |
* @see java.sql.ResultSet#updateNCharacterStream(java.lang.String, java.io.Reader) |
| 1463 |
*/ |
| 1464 |
public void updateNCharacterStream(String columnLabel, Reader reader) |
| 1465 |
throws SQLException { |
| 1466 |
rs.updateNCharacterStream(columnLabel, reader); |
| 1467 |
} |
| 1468 |
|
| 1469 |
/** |
| 1470 |
* @param columnIndex |
| 1471 |
* @param clob |
| 1472 |
* @throws SQLException |
| 1473 |
* @see java.sql.ResultSet#updateNClob(int, java.sql.NClob) |
| 1474 |
*/ |
| 1475 |
public void updateNClob(int columnIndex, NClob clob) throws SQLException { |
| 1476 |
rs.updateNClob(columnIndex, clob); |
| 1477 |
} |
| 1478 |
|
| 1479 |
/** |
| 1480 |
* @param columnIndex |
| 1481 |
* @param reader |
| 1482 |
* @param length |
| 1483 |
* @throws SQLException |
| 1484 |
* @see java.sql.ResultSet#updateNClob(int, java.io.Reader, long) |
| 1485 |
*/ |
| 1486 |
public void updateNClob(int columnIndex, Reader reader, long length) |
| 1487 |
throws SQLException { |
| 1488 |
rs.updateNClob(columnIndex, reader, length); |
| 1489 |
} |
| 1490 |
|
| 1491 |
/** |
| 1492 |
* @param columnIndex |
| 1493 |
* @param reader |
| 1494 |
* @throws SQLException |
| 1495 |
* @see java.sql.ResultSet#updateNClob(int, java.io.Reader) |
| 1496 |
*/ |
| 1497 |
public void updateNClob(int columnIndex, Reader reader) throws SQLException { |
| 1498 |
rs.updateNClob(columnIndex, reader); |
| 1499 |
} |
| 1500 |
|
| 1501 |
/** |
| 1502 |
* @param columnLabel |
| 1503 |
* @param clob |
| 1504 |
* @throws SQLException |
| 1505 |
* @see java.sql.ResultSet#updateNClob(java.lang.String, java.sql.NClob) |
| 1506 |
*/ |
| 1507 |
public void updateNClob(String columnLabel, NClob clob) throws SQLException { |
| 1508 |
rs.updateNClob(columnLabel, clob); |
| 1509 |
} |
| 1510 |
|
| 1511 |
/** |
| 1512 |
* @param columnLabel |
| 1513 |
* @param reader |
| 1514 |
* @param length |
| 1515 |
* @throws SQLException |
| 1516 |
* @see java.sql.ResultSet#updateNClob(java.lang.String, java.io.Reader, long) |
| 1517 |
*/ |
| 1518 |
public void updateNClob(String columnLabel, Reader reader, long length) |
| 1519 |
throws SQLException { |
| 1520 |
rs.updateNClob(columnLabel, reader, length); |
| 1521 |
} |
| 1522 |
|
| 1523 |
/** |
| 1524 |
* @param columnLabel |
| 1525 |
* @param reader |
| 1526 |
* @throws SQLException |
| 1527 |
* @see java.sql.ResultSet#updateNClob(java.lang.String, java.io.Reader) |
| 1528 |
*/ |
| 1529 |
public void updateNClob(String columnLabel, Reader reader) |
| 1530 |
throws SQLException { |
| 1531 |
rs.updateNClob(columnLabel, reader); |
| 1532 |
} |
| 1533 |
|
| 1534 |
/** |
| 1535 |
* @param columnIndex |
| 1536 |
* @param string |
| 1537 |
* @throws SQLException |
| 1538 |
* @see java.sql.ResultSet#updateNString(int, java.lang.String) |
| 1539 |
*/ |
| 1540 |
public void updateNString(int columnIndex, String string) |
| 1541 |
throws SQLException { |
| 1542 |
rs.updateNString(columnIndex, string); |
| 1543 |
} |
| 1544 |
|
| 1545 |
/** |
| 1546 |
* @param columnLabel |
| 1547 |
* @param string |
| 1548 |
* @throws SQLException |
| 1549 |
* @see java.sql.ResultSet#updateNString(java.lang.String, java.lang.String) |
| 1550 |
*/ |
| 1551 |
public void updateNString(String columnLabel, String string) |
| 1552 |
throws SQLException { |
| 1553 |
rs.updateNString(columnLabel, string); |
| 1554 |
} |
| 1555 |
|
| 1556 |
/** |
| 1557 |
* @param columnIndex |
| 1558 |
* @param x |
| 1559 |
* @throws SQLException |
| 1560 |
* @see java.sql.ResultSet#updateRowId(int, java.sql.RowId) |
| 1561 |
*/ |
| 1562 |
public void updateRowId(int columnIndex, RowId x) throws SQLException { |
| 1563 |
rs.updateRowId(columnIndex, x); |
| 1564 |
} |
| 1565 |
|
| 1566 |
/** |
| 1567 |
* @param columnLabel |
| 1568 |
* @param x |
| 1569 |
* @throws SQLException |
| 1570 |
* @see java.sql.ResultSet#updateRowId(java.lang.String, java.sql.RowId) |
| 1571 |
*/ |
| 1572 |
public void updateRowId(String columnLabel, RowId x) throws SQLException { |
| 1573 |
rs.updateRowId(columnLabel, x); |
| 1574 |
} |
| 1575 |
|
| 1576 |
/** |
| 1577 |
* @param columnIndex |
| 1578 |
* @param xmlObject |
| 1579 |
* @throws SQLException |
| 1580 |
* @see java.sql.ResultSet#updateSQLXML(int, java.sql.SQLXML) |
| 1581 |
*/ |
| 1582 |
public void updateSQLXML(int columnIndex, SQLXML xmlObject) |
| 1583 |
throws SQLException { |
| 1584 |
rs.updateSQLXML(columnIndex, xmlObject); |
| 1585 |
} |
| 1586 |
|
| 1587 |
/** |
| 1588 |
* @param columnLabel |
| 1589 |
* @param xmlObject |
| 1590 |
* @throws SQLException |
| 1591 |
* @see java.sql.ResultSet#updateSQLXML(java.lang.String, java.sql.SQLXML) |
| 1592 |
*/ |
| 1593 |
public void updateSQLXML(String columnLabel, SQLXML xmlObject) |
| 1594 |
throws SQLException { |
| 1595 |
rs.updateSQLXML(columnLabel, xmlObject); |
| 1596 |
} |
| 1597 |
|
| 1598 |
} |