1 21 22 package org.apache.derby.vti; 23 24 import org.apache.derby.iapi.reference.JDBC20Translation; 25 26 import java.sql.Connection ; 27 import java.sql.Date ; 28 import java.sql.Statement ; 29 import java.sql.PreparedStatement ; 30 import java.sql.ResultSet ; 31 import java.sql.ResultSetMetaData ; 32 import java.sql.Statement ; 33 import java.sql.SQLException ; 34 import java.sql.SQLWarning ; 35 import java.sql.Time ; 36 import java.sql.Timestamp ; 37 import java.math.BigDecimal ; 38 import java.sql.Blob ; 39 import java.sql.Ref ; 40 import java.sql.Clob ; 41 import java.sql.Array ; 42 43 import java.io.Reader ; 44 45 import java.util.Calendar ; 46 47 import java.io.InputStream ; 48 49 62 public abstract class UpdatableVTITemplate implements PreparedStatement 63 { 64 protected UpdatableVTITemplate() {} 65 66 71 public ResultSet executeQuery(String sql) throws SQLException 72 { 73 throw new SQLException ("executeQuery"); 74 } 75 76 81 public int executeUpdate(String sql) throws SQLException 82 { 83 throw new SQLException ("executeUpdate"); 84 } 85 86 91 public void close() throws SQLException 92 { 93 throw new SQLException ("close"); 94 } 95 96 101 public SQLWarning getWarnings() throws SQLException 102 { 103 throw new SQLException ("getWarnings"); 104 } 105 106 111 public void clearWarnings() throws SQLException 112 { 113 throw new SQLException ("clearWarnings"); 114 } 115 116 121 public int getMaxFieldSize() throws SQLException 122 { 123 throw new SQLException ("getMaxFieldSize"); 124 } 125 126 131 public void setMaxFieldSize(int max) throws SQLException 132 { 133 throw new SQLException ("setMaxFieldSize"); 134 } 135 136 141 public int getMaxRows() throws SQLException 142 { 143 throw new SQLException ("getMaxRows"); 144 } 145 146 151 public void setMaxRows(int max) throws SQLException 152 { 153 throw new SQLException ("setMaxRows"); 154 } 155 156 161 public void setEscapeProcessing(boolean enable) throws SQLException 162 { 163 throw new SQLException ("setEscapeProcessing"); 164 } 165 166 171 public int getQueryTimeout() throws SQLException 172 { 173 throw new SQLException ("getQueryTimeout"); 174 } 175 176 181 public void setQueryTimeout(int seconds) throws SQLException 182 { 183 throw new SQLException ("setQueryTimeout"); 184 } 185 186 191 public void addBatch(String sql) throws SQLException 192 { 193 throw new SQLException ("addBatch"); 194 } 195 196 201 public void clearBatch() throws SQLException 202 { 203 throw new SQLException ("clearBatch"); 204 } 205 206 211 public int[] executeBatch() throws SQLException 212 { 213 throw new SQLException ("executeBatch"); 214 } 215 216 221 public void cancel() throws SQLException 222 { 223 throw new SQLException ("cancel"); 224 } 225 226 231 public void setCursorName(String name) throws SQLException 232 { 233 throw new SQLException ("setCursorName"); 234 } 235 236 241 public boolean execute(String sql) throws SQLException 242 { 243 throw new SQLException ("execute"); 244 } 245 246 251 public ResultSet getResultSet() throws SQLException 252 { 253 throw new SQLException ("getResultSet"); 254 } 255 256 261 public int getUpdateCount() throws SQLException 262 { 263 throw new SQLException ("getUpdateCount"); 264 } 265 266 271 public boolean getMoreResults() throws SQLException 272 { 273 throw new SQLException ("getMoreResults"); 274 } 275 276 281 public int getResultSetConcurrency() throws SQLException 282 { 283 return JDBC20Translation.CONCUR_UPDATABLE; 284 } 285 286 290 295 public ResultSet executeQuery() throws SQLException 296 { 297 throw new SQLException ("executeQuery"); 298 } 299 300 305 public int executeUpdate() throws SQLException 306 { 307 throw new SQLException ("executeUpdate"); 308 } 309 310 315 public void setNull(int parameterIndex, int jdbcType) throws SQLException 316 { 317 throw new SQLException ("setNull"); 318 } 319 320 325 public void setNull(int parameterIndex, int jdbcType, String typeName) throws SQLException 326 { 327 throw new SQLException ("setNull"); 328 } 329 330 335 public void setBoolean(int parameterIndex, boolean x) throws SQLException 336 { 337 throw new SQLException ("setBoolean"); 338 } 339 340 345 public void setByte(int parameterIndex, byte x) throws SQLException 346 { 347 throw new SQLException ("setByte"); 348 } 349 350 355 public void setShort(int parameterIndex, short x) throws SQLException 356 { 357 throw new SQLException ("setShort"); 358 } 359 360 365 public void setInt(int parameterIndex, int x) throws SQLException 366 { 367 throw new SQLException ("setInt"); 368 } 369 370 375 public void setLong(int parameterIndex, long x) throws SQLException 376 { 377 throw new SQLException ("setLong"); 378 } 379 380 385 public void setFloat(int parameterIndex, float x) throws SQLException 386 { 387 throw new SQLException ("setFloat"); 388 } 389 390 395 public void setDouble(int parameterIndex, double x) throws SQLException 396 { 397 throw new SQLException ("setDouble"); 398 } 399 400 405 public void setBigDecimal(int parameterIndex, BigDecimal x) throws SQLException 406 { 407 throw new SQLException ("setBigDecimal"); 408 } 409 410 415 public void setString(int parameterIndex, String x) throws SQLException 416 { 417 throw new SQLException ("setString"); 418 } 419 420 425 public void setBytes(int parameterIndex, byte x[]) throws SQLException 426 { 427 throw new SQLException ("setBytes"); 428 } 429 430 435 public void setDate(int parameterIndex, Date x) throws SQLException 436 { 437 throw new SQLException ("setDate"); 438 } 439 440 445 public void setTime(int parameterIndex, Time x) throws SQLException 446 { 447 throw new SQLException ("setTime"); 448 } 449 450 455 public void setTimestamp(int parameterIndex, Timestamp x) throws SQLException 456 { 457 throw new SQLException ("setTimestamp"); 458 } 459 460 465 public void setAsciiStream(int parameterIndex, InputStream x, int length) throws SQLException 466 { 467 throw new SQLException ("setAsciiStream"); 468 } 469 470 475 public void setUnicodeStream(int parameterIndex, InputStream x, int length) throws SQLException 476 { 477 throw new SQLException ("setUnicodeStream"); 478 } 479 480 485 public void setBinaryStream(int parameterIndex, InputStream x, int length) throws SQLException 486 { 487 throw new SQLException ("setBinaryStream"); 488 } 489 490 495 public void clearParameters() throws SQLException 496 { 497 throw new SQLException ("clearParameters"); 498 } 499 500 505 public void setObject(int parameterIndex, Object x, int targetJdbcType, int scale) throws SQLException 506 { 507 throw new SQLException ("setObject"); 508 } 509 510 515 public void setObject(int parameterIndex, Object x, int targetJdbcType) throws SQLException 516 { 517 throw new SQLException ("setObject"); 518 } 519 520 525 public void setObject(int parameterIndex, Object x) throws SQLException 526 { 527 throw new SQLException ("setObject"); 528 } 529 530 535 public boolean execute() throws SQLException 536 { 537 throw new SQLException ("execute"); 538 } 539 540 545 public ResultSetMetaData getMetaData() throws SQLException 546 { 547 throw new SQLException ("ResultSetMetaData"); 548 } 549 554 public int getResultSetType() throws SQLException { 555 throw new SQLException ("getResultSetType"); 556 } 557 558 563 public void setBlob(int i, Blob x) throws SQLException { 564 throw new SQLException ("setBlob"); 565 } 566 567 572 public void setFetchDirection(int direction) throws SQLException { 573 throw new SQLException ("setFetchDirection"); 574 } 575 576 581 public void setFetchSize(int rows) throws SQLException { 582 throw new SQLException ("setFetchSize"); 583 } 584 585 590 public void addBatch() throws SQLException { 591 throw new SQLException ("addBatch"); 592 } 593 594 595 600 public void setCharacterStream(int parameterIndex, 601 Reader reader, 602 int length) throws SQLException { 603 throw new SQLException ("setCharacterStream"); 604 } 605 606 611 public Connection getConnection() throws SQLException { 612 throw new SQLException ("getConnection"); 613 } 614 615 620 public int getFetchDirection() throws SQLException { 621 throw new SQLException ("getFetchDirection"); 622 } 623 624 629 public void setTime(int parameterIndex, Time x, Calendar cal) 630 throws SQLException { 631 throw new SQLException ("setTime"); 632 } 633 634 639 public void setTimestamp(int parameterIndex, Timestamp x, Calendar cal) 640 throws SQLException { 641 throw new SQLException ("setTimestamp"); 642 } 643 644 649 public int getFetchSize() throws SQLException { 650 throw new SQLException ("getFetchSize"); 651 } 652 653 658 public void setRef(int i, Ref x) throws SQLException { 659 throw new SQLException ("setRef"); 660 } 661 662 667 public void setDate(int parameterIndex, Date x, Calendar cal) 668 throws SQLException { 669 throw new SQLException ("setDate"); 670 } 671 672 677 public void setClob(int i, Clob x) throws SQLException { 678 throw new SQLException ("setClob"); 679 } 680 681 686 public void setArray(int i, Array x) throws SQLException { 687 throw new SQLException ("setArray"); 688 } 689 } 690 | Popular Tags |