1 7 8 package com.nilostep.xlsql.jdbc; 9 10 import java.sql.*; 11 12 public class xlCallableStatement extends xlPreparedStatement 13 implements CallableStatement { 14 15 private xlConnection xlCon; 16 private CallableStatement dbCstm; 17 18 22 public xlCallableStatement(xlConnection con, CallableStatement clst, 23 String sql) throws SQLException { 24 super (con, clst, sql); 25 dbCstm = clst; 26 } 27 28 32 public Array getArray(int i) throws SQLException { 33 return dbCstm.getArray(i); 34 } 35 36 40 public Array getArray(String parameterName) throws SQLException { 41 return dbCstm.getArray(parameterName); 42 } 43 44 48 public java.math.BigDecimal getBigDecimal(String parameterName) throws SQLException { 49 return dbCstm.getBigDecimal(parameterName); 50 } 51 52 56 public java.math.BigDecimal getBigDecimal(int parameterIndex) throws SQLException { 57 return dbCstm.getBigDecimal(parameterIndex); 58 } 59 60 64 public java.math.BigDecimal getBigDecimal(int parameterIndex, int scale) throws SQLException { 65 return dbCstm.getBigDecimal(parameterIndex,scale); 66 } 67 68 72 public Blob getBlob(int i) throws SQLException { 73 return dbCstm.getBlob(i); 74 } 75 76 80 public Blob getBlob(String parameterName) throws SQLException { 81 return dbCstm.getBlob(parameterName); 82 } 83 84 88 public boolean getBoolean(int parameterIndex) throws SQLException { 89 return dbCstm.getBoolean(parameterIndex); 90 } 91 92 96 public boolean getBoolean(String parameterName) throws SQLException { 97 return dbCstm.getBoolean(parameterName); 98 } 99 100 104 public byte getByte(int parameterIndex) throws SQLException { 105 return dbCstm.getByte(parameterIndex); 106 } 107 108 112 public byte getByte(String parameterName) throws SQLException { 113 return dbCstm.getByte(parameterName); 114 } 115 116 120 public byte[] getBytes(int parameterIndex) throws SQLException { 121 return dbCstm.getBytes(parameterIndex); 122 } 123 124 128 public byte[] getBytes(String parameterName) throws SQLException { 129 return dbCstm.getBytes(parameterName); 130 } 131 132 136 public Clob getClob(int i) throws SQLException { 137 return dbCstm.getClob(i); 138 } 139 140 144 public Clob getClob(String parameterName) throws SQLException { 145 return dbCstm.getClob(parameterName); 146 } 147 148 152 public java.sql.Date getDate(int parameterIndex) throws SQLException { 153 return dbCstm.getDate(parameterIndex); 154 } 155 156 160 public java.sql.Date getDate(String parameterName) throws SQLException { 161 return dbCstm.getDate(parameterName); 162 } 163 164 168 public java.sql.Date getDate(int parameterIndex, java.util.Calendar cal) throws SQLException { 169 return dbCstm.getDate(parameterIndex, cal); 170 } 171 172 176 public java.sql.Date getDate(String parameterName, java.util.Calendar cal) throws SQLException { 177 return dbCstm.getDate(parameterName, cal); 178 } 179 180 184 public double getDouble(int parameterIndex) throws SQLException { 185 return dbCstm.getDouble(parameterIndex); 186 } 187 188 192 public double getDouble(String parameterName) throws SQLException { 193 return dbCstm.getDouble(parameterName); 194 } 195 196 200 public float getFloat(int parameterIndex) throws SQLException { 201 return dbCstm.getFloat(parameterIndex); 202 } 203 204 208 public float getFloat(String parameterName) throws SQLException { 209 return dbCstm.getFloat(parameterName); 210 } 211 212 216 public int getInt(String parameterName) throws SQLException { 217 return dbCstm.getInt(parameterName); 218 } 219 220 224 public int getInt(int parameterIndex) throws SQLException { 225 return dbCstm.getInt(parameterIndex); 226 } 227 228 232 public long getLong(int parameterIndex) throws SQLException { 233 return dbCstm.getLong(parameterIndex); 234 } 235 236 240 public long getLong(String parameterName) throws SQLException { 241 return dbCstm.getLong(parameterName); 242 } 243 244 248 public Object getObject(int parameterIndex) throws SQLException { 249 return dbCstm.getObject(parameterIndex); 250 } 251 252 256 public Object getObject(String parameterName) throws SQLException { 257 return dbCstm.getObject(parameterName); 258 } 259 260 264 public Object getObject(int i, java.util.Map map) throws SQLException { 265 return dbCstm.getObject(i, map); 266 } 267 268 272 public Object getObject(String parameterName, java.util.Map map) throws SQLException { 273 return dbCstm.getObject(parameterName, map); 274 } 275 276 280 public Ref getRef(int i) throws SQLException { 281 return dbCstm.getRef(i); 282 } 283 284 288 public Ref getRef(String parameterName) throws SQLException { 289 return dbCstm.getRef(parameterName); 290 } 291 292 296 public short getShort(String parameterName) throws SQLException { 297 return dbCstm.getShort(parameterName); 298 } 299 300 304 public short getShort(int parameterIndex) throws SQLException { 305 return dbCstm.getShort(parameterIndex); 306 } 307 308 312 public String getString(String parameterName) throws SQLException { 313 return dbCstm.getString(parameterName); 314 } 315 316 320 public String getString(int parameterIndex) throws SQLException { 321 return dbCstm.getString(parameterIndex); 322 } 323 324 328 public java.sql.Time getTime(String parameterName) throws SQLException { 329 return dbCstm.getTime(parameterName); 330 } 331 332 336 public java.sql.Time getTime(int parameterIndex) throws SQLException { 337 return dbCstm.getTime(parameterIndex); 338 } 339 340 344 public java.sql.Time getTime(String parameterName, java.util.Calendar cal) throws SQLException { 345 return dbCstm.getTime(parameterName, cal); 346 } 347 348 352 public java.sql.Time getTime(int parameterIndex, java.util.Calendar cal) throws SQLException { 353 return dbCstm.getTime(parameterIndex, cal); 354 } 355 356 360 public java.sql.Timestamp getTimestamp(String parameterName) throws SQLException { 361 return dbCstm.getTimestamp(parameterName); 362 } 363 364 368 public java.sql.Timestamp getTimestamp(int parameterIndex) throws SQLException { 369 return dbCstm.getTimestamp(parameterIndex); 370 } 371 372 376 public java.sql.Timestamp getTimestamp(String parameterName, java.util.Calendar cal) throws SQLException { 377 return dbCstm.getTimestamp(parameterName, cal); 378 } 379 380 384 public java.sql.Timestamp getTimestamp(int parameterIndex, java.util.Calendar cal) throws SQLException { 385 return dbCstm.getTimestamp(parameterIndex, cal); 386 } 387 388 392 public java.net.URL getURL(int parameterIndex) throws SQLException { 393 return dbCstm.getURL(parameterIndex); 394 } 395 396 400 public java.net.URL getURL(String parameterName) throws SQLException { 401 return dbCstm.getURL(parameterName); 402 } 403 404 408 public void registerOutParameter(int parameterIndex, int sqlType) throws SQLException { 409 dbCstm.registerOutParameter(parameterIndex, sqlType); 410 } 411 412 416 public void registerOutParameter(String parameterName, int sqlType) throws SQLException { 417 dbCstm.registerOutParameter(parameterName, sqlType); 418 } 419 420 424 public void registerOutParameter(String parameterName, int sqlType, String typeName) throws SQLException { 425 dbCstm.registerOutParameter(parameterName, sqlType, typeName); 426 } 427 428 432 public void registerOutParameter(int paramIndex, int sqlType, int scale) throws SQLException { 433 dbCstm.registerOutParameter(paramIndex, sqlType, scale); 434 } 435 436 440 public void registerOutParameter(String parameterName, int sqlType, int scale) throws SQLException { 441 dbCstm.registerOutParameter(parameterName, sqlType, scale); 442 } 443 444 448 public void registerOutParameter(int paramIndex, int sqlType, String typeName) throws SQLException { 449 dbCstm.registerOutParameter(paramIndex, sqlType, typeName); 450 } 451 452 456 public void setAsciiStream(String parameterName, java.io.InputStream x, int length) throws SQLException { 457 dbCstm.setAsciiStream(parameterName, x, length); 458 } 459 460 464 public void setBigDecimal(String parameterName, java.math.BigDecimal x) throws SQLException { 465 dbCstm.setBigDecimal(parameterName, x); 466 } 467 468 472 public void setBinaryStream(String parameterName, java.io.InputStream x, int length) throws SQLException { 473 dbCstm.setBinaryStream(parameterName, x, length); 474 } 475 476 480 public void setBoolean(String parameterName, boolean x) throws SQLException { 481 dbCstm.setBoolean(parameterName, x); 482 } 483 484 488 public void setByte(String parameterName, byte x) throws SQLException { 489 dbCstm.setByte(parameterName, x); 490 } 491 492 496 public void setBytes(String parameterName, byte[] x) throws SQLException { 497 dbCstm.setBytes(parameterName, x); 498 } 499 500 504 public void setCharacterStream(String parameterName, java.io.Reader reader, int length) throws SQLException { 505 dbCstm.setCharacterStream(parameterName, reader, length); 506 } 507 508 512 public void setDate(String parameterName, java.sql.Date x) throws SQLException { 513 dbCstm.setDate(parameterName, x); 514 } 515 516 520 public void setDate(String parameterName, java.sql.Date x, java.util.Calendar cal) throws SQLException { 521 dbCstm.setDate(parameterName, x, cal); 522 } 523 524 528 public void setDouble(String parameterName, double x) throws SQLException { 529 throw new SQLException("not supported"); 530 } 531 532 536 public void setFloat(String parameterName, float x) throws SQLException { 537 dbCstm.setFloat(parameterName, x); 538 } 539 540 544 public void setInt(String parameterName, int x) throws SQLException { 545 dbCstm.setInt(parameterName, x); 546 } 547 548 552 public void setLong(String parameterName, long x) throws SQLException { 553 dbCstm.setLong(parameterName, x); 554 } 555 556 560 public void setNull(String parameterName, int sqlType) throws SQLException { 561 dbCstm.setNull(parameterName, sqlType); 562 } 563 564 568 public void setNull(String parameterName, int sqlType, String typeName) throws SQLException { 569 dbCstm.setNull(parameterName, sqlType, typeName); 570 } 571 572 576 public void setObject(String parameterName, Object x) throws SQLException { 577 dbCstm.setObject(parameterName, x); 578 } 579 580 584 public void setObject(String parameterName, Object x, int targetSqlType) throws SQLException { 585 dbCstm.setObject(parameterName, x, targetSqlType); 586 } 587 588 592 public void setObject(String parameterName, Object x, int targetSqlType, int scale) throws SQLException { 593 dbCstm.setObject(parameterName, x, targetSqlType); 594 } 595 596 600 public void setShort(String parameterName, short x) throws SQLException { 601 dbCstm.setShort(parameterName, x); 602 } 603 604 608 public void setString(String parameterName, String x) throws SQLException { 609 dbCstm.setString(parameterName, x); 610 } 611 612 616 public void setTime(String parameterName, java.sql.Time x) throws SQLException { 617 dbCstm.setTime(parameterName, x); 618 } 619 620 624 public void setTime(String parameterName, java.sql.Time x, java.util.Calendar cal) throws SQLException { 625 dbCstm.setTime(parameterName, x, cal); 626 } 627 628 632 public void setTimestamp(String parameterName, java.sql.Timestamp x) throws SQLException { 633 dbCstm.setTimestamp(parameterName, x); 634 } 635 636 640 public void setTimestamp(String parameterName, java.sql.Timestamp x, java.util.Calendar cal) throws SQLException { 641 dbCstm.setTimestamp(parameterName, x, cal); 642 } 643 644 648 public void setURL(String parameterName, java.net.URL val) throws SQLException { 649 dbCstm.setURL(parameterName, val); 650 } 651 652 656 public boolean wasNull() throws SQLException { 657 return dbCstm.wasNull(); 658 } 659 } | Popular Tags |