1 5 package org.h2.jdbc; 6 7 import java.io.InputStream ; 8 import java.io.Reader ; 9 import java.math.BigDecimal ; 10 import java.net.URL ; 11 import java.sql.*; 12 import java.util.Calendar ; 13 import java.util.Map ; 14 15 import org.h2.engine.SessionInterface; 16 import org.h2.message.Message; 17 import org.h2.message.TraceObject; 18 19 23 public class JdbcCallableStatement extends JdbcPreparedStatement implements CallableStatement { 24 25 30 public void registerOutParameter(int parameterIndex, int sqlType) throws SQLException { 31 throw Message.getUnsupportedException(); 32 } 33 34 39 public void registerOutParameter(int parameterIndex, int sqlType, int scale) throws SQLException { 40 throw Message.getUnsupportedException(); 41 } 42 43 48 public boolean wasNull() throws SQLException { 49 throw Message.getUnsupportedException(); 50 } 51 52 57 public String getString(int parameterIndex) throws SQLException { 58 throw Message.getUnsupportedException(); 59 } 60 61 66 public boolean getBoolean(int parameterIndex) throws SQLException { 67 throw Message.getUnsupportedException(); 68 } 69 70 75 public byte getByte(int parameterIndex) throws SQLException { 76 throw Message.getUnsupportedException(); 77 } 78 79 84 public short getShort(int parameterIndex) throws SQLException { 85 throw Message.getUnsupportedException(); 86 } 87 88 93 public int getInt(int parameterIndex) throws SQLException { 94 throw Message.getUnsupportedException(); 95 } 96 97 102 public long getLong(int parameterIndex) throws SQLException { 103 throw Message.getUnsupportedException(); 104 } 105 106 111 public float getFloat(int parameterIndex) throws SQLException { 112 throw Message.getUnsupportedException(); 113 } 114 115 120 public double getDouble(int parameterIndex) throws SQLException { 121 throw Message.getUnsupportedException(); 122 } 123 124 130 public BigDecimal getBigDecimal(int parameterIndex, int scale) throws SQLException { 131 throw Message.getUnsupportedException(); 132 } 133 134 139 public byte[] getBytes(int parameterIndex) throws SQLException { 140 throw Message.getUnsupportedException(); 141 } 142 143 148 public Date getDate(int parameterIndex) throws SQLException { 149 throw Message.getUnsupportedException(); 150 } 151 152 157 public Time getTime(int parameterIndex) throws SQLException { 158 throw Message.getUnsupportedException(); 159 } 160 161 166 public Timestamp getTimestamp(int parameterIndex) throws SQLException { 167 throw Message.getUnsupportedException(); 168 } 169 170 175 public Object getObject(int parameterIndex) throws SQLException { 176 throw Message.getUnsupportedException(); 177 } 178 179 184 public BigDecimal getBigDecimal(int parameterIndex) throws SQLException { 185 throw Message.getUnsupportedException(); 186 } 187 188 193 public Object getObject (int i, Map map) throws SQLException { 194 throw Message.getUnsupportedException(); 195 } 196 197 202 public Ref getRef (int i) throws SQLException { 203 throw Message.getUnsupportedException(); 204 } 205 206 211 public Blob getBlob (int i) throws SQLException { 212 throw Message.getUnsupportedException(); 213 } 214 215 220 public Clob getClob (int i) throws SQLException { 221 throw Message.getUnsupportedException(); 222 } 223 224 229 public Array getArray (int i) throws SQLException { 230 throw Message.getUnsupportedException(); 231 } 232 233 238 public Date getDate(int parameterIndex, Calendar cal) throws SQLException { 239 throw Message.getUnsupportedException(); 240 } 241 242 247 public Time getTime(int parameterIndex, Calendar cal) throws SQLException { 248 throw Message.getUnsupportedException(); 249 } 250 251 256 public Timestamp getTimestamp(int parameterIndex, Calendar cal) throws SQLException { 257 throw Message.getUnsupportedException(); 258 } 259 260 265 public void registerOutParameter (int paramIndex, int sqlType, String typeName) throws SQLException { 266 throw Message.getUnsupportedException(); 267 } 268 269 274 public URL getURL(String parameterName) throws SQLException { 275 throw Message.getUnsupportedException(); 276 } 277 278 283 public Timestamp getTimestamp(String parameterName, Calendar cal) throws SQLException { 284 throw Message.getUnsupportedException(); 285 } 286 287 292 public Time getTime(String parameterName, Calendar cal) throws SQLException { 293 throw Message.getUnsupportedException(); 294 } 295 296 301 public Date getDate(String parameterName, Calendar cal) throws SQLException { 302 throw Message.getUnsupportedException(); 303 } 304 305 310 public Array getArray(String parameterName) throws SQLException { 311 throw Message.getUnsupportedException(); 312 } 313 314 319 public Clob getClob(String parameterName) throws SQLException { 320 throw Message.getUnsupportedException(); 321 } 322 323 328 public Blob getBlob(String parameterName) throws SQLException { 329 throw Message.getUnsupportedException(); 330 } 331 332 337 public Ref getRef(String parameterName) throws SQLException { 338 throw Message.getUnsupportedException(); 339 } 340 341 346 public Object getObject(String parameterName, Map map) throws SQLException { 347 throw Message.getUnsupportedException(); 348 } 349 350 355 public BigDecimal getBigDecimal(String parameterName) throws SQLException { 356 throw Message.getUnsupportedException(); 357 } 358 359 364 public Object getObject(String parameterName) throws SQLException { 365 throw Message.getUnsupportedException(); 366 } 367 368 373 public Timestamp getTimestamp(String parameterName) throws SQLException { 374 throw Message.getUnsupportedException(); 375 } 376 377 382 public Time getTime(String parameterName) throws SQLException { 383 throw Message.getUnsupportedException(); 384 } 385 386 391 public Date getDate(String parameterName) throws SQLException { 392 throw Message.getUnsupportedException(); 393 } 394 395 400 public byte[] getBytes(String parameterName) throws SQLException { 401 throw Message.getUnsupportedException(); 402 } 403 404 409 public double getDouble(String parameterName) throws SQLException { 410 throw Message.getUnsupportedException(); 411 } 412 413 418 public float getFloat(String parameterName) throws SQLException { 419 throw Message.getUnsupportedException(); 420 } 421 422 427 public long getLong(String parameterName) throws SQLException { 428 throw Message.getUnsupportedException(); 429 } 430 431 436 public int getInt(String parameterName) throws SQLException { 437 throw Message.getUnsupportedException(); 438 } 439 440 445 public short getShort(String parameterName) throws SQLException { 446 throw Message.getUnsupportedException(); 447 } 448 449 454 public byte getByte(String parameterName) throws SQLException { 455 throw Message.getUnsupportedException(); 456 } 457 458 463 public boolean getBoolean(String parameterName) throws SQLException { 464 throw Message.getUnsupportedException(); 465 } 466 467 472 public String getString(String parameterName) throws SQLException { 473 throw Message.getUnsupportedException(); 474 } 475 476 478 483 public void setNull(String parameterName, int sqlType, String typeName) throws SQLException { 484 throw Message.getUnsupportedException(); 485 } 486 487 492 public void setTimestamp(String parameterName, Timestamp x, Calendar cal) throws SQLException { 493 throw Message.getUnsupportedException(); 494 } 495 496 501 public void setTime(String parameterName, Time x, Calendar cal) throws SQLException { 502 throw Message.getUnsupportedException(); 503 } 504 505 510 public void setDate(String parameterName, Date x, Calendar cal) throws SQLException { 511 throw Message.getUnsupportedException(); 512 } 513 514 519 public void setCharacterStream(String parameterName, Reader reader, int length) throws SQLException { 520 throw Message.getUnsupportedException(); 521 } 522 523 528 public void setObject(String parameterName, Object x) throws SQLException { 529 throw Message.getUnsupportedException(); 530 } 531 532 537 public void setObject(String parameterName, Object x, int targetSqlType) throws SQLException { 538 throw Message.getUnsupportedException(); 539 } 540 541 546 public void setObject(String parameterName, Object x, int targetSqlType, int scale) throws SQLException { 547 throw Message.getUnsupportedException(); 548 } 549 550 555 public void setBinaryStream(String parameterName, InputStream x, int length) throws SQLException { 556 throw Message.getUnsupportedException(); 557 } 558 559 564 public void setAsciiStream(String parameterName, InputStream x, long length) throws SQLException { 565 throw Message.getUnsupportedException(); 566 } 567 568 573 public void setTimestamp(String parameterName, Timestamp x) throws SQLException { 574 throw Message.getUnsupportedException(); 575 } 576 577 582 public void setTime(String parameterName, Time x) throws SQLException { 583 throw Message.getUnsupportedException(); 584 } 585 586 591 public void setDate(String parameterName, Date x) throws SQLException { 592 throw Message.getUnsupportedException(); 593 } 594 595 600 public void setBytes(String parameterName, byte[] x) throws SQLException { 601 throw Message.getUnsupportedException(); 602 } 603 604 609 public void setString(String parameterName, String x) throws SQLException { 610 throw Message.getUnsupportedException(); 611 } 612 613 618 public void setBigDecimal(String parameterName, BigDecimal x) throws SQLException { 619 throw Message.getUnsupportedException(); 620 } 621 622 627 public void setDouble(String parameterName, double x) throws SQLException { 628 throw Message.getUnsupportedException(); 629 } 630 631 636 public void setFloat(String parameterName, float x) throws SQLException { 637 throw Message.getUnsupportedException(); 638 } 639 640 645 public void setLong(String parameterName, long x) throws SQLException { 646 throw Message.getUnsupportedException(); 647 } 648 649 654 public void setInt(String parameterName, int x) throws SQLException { 655 throw Message.getUnsupportedException(); 656 } 657 658 663 public void setShort(String parameterName, short x) throws SQLException { 664 throw Message.getUnsupportedException(); 665 } 666 667 672 public void setByte(String parameterName, byte x) throws SQLException { 673 throw Message.getUnsupportedException(); 674 } 675 676 681 public void setBoolean(String parameterName, boolean x) throws SQLException { 682 throw Message.getUnsupportedException(); 683 } 684 685 690 public void setNull(String parameterName, int sqlType) throws SQLException { 691 throw Message.getUnsupportedException(); 692 } 693 694 699 public void setURL(String parameterName, URL val) throws SQLException { 700 throw Message.getUnsupportedException(); 701 } 702 703 708 public URL getURL(int parameterIndex) throws SQLException { 709 throw Message.getUnsupportedException(); 710 } 711 712 714 719 public void registerOutParameter(String parameterName, int sqlType, String typeName) throws SQLException { 720 throw Message.getUnsupportedException(); 721 } 722 723 728 public void registerOutParameter(String parameterName, int sqlType, int scale) throws SQLException { 729 throw Message.getUnsupportedException(); 730 } 731 732 737 public void registerOutParameter(String parameterName, int sqlType) throws SQLException { 738 throw Message.getUnsupportedException(); 739 } 740 741 743 JdbcCallableStatement(SessionInterface session, JdbcConnection conn, String sql, int resultSetType, int id) throws SQLException { 744 super(session, conn, sql, resultSetType, id, false); 745 setTrace(session.getTrace(), TraceObject.CALLABLE_STATEMENT, id); 746 } 747 748 752 758 760 764 770 772 776 782 784 788 public void setNString(String parameterName, String value) throws SQLException { 789 throw Message.getUnsupportedException(); 790 } 791 792 796 public void setNCharacterStream(String parameterName, Reader value, long length) throws SQLException { 797 throw Message.getUnsupportedException(); 798 } 799 800 804 810 812 816 public void setClob(String parameterName, Reader reader, long length) throws SQLException { 817 throw Message.getUnsupportedException(); 818 } 819 820 824 public void setBlob(String parameterName, InputStream inputStream, long length) throws SQLException { 825 throw Message.getUnsupportedException(); 826 } 827 828 832 public void setNClob(String parameterName, Reader reader, long length) throws SQLException { 833 throw Message.getUnsupportedException(); 834 } 835 836 840 846 848 852 858 860 864 870 872 876 882 884 888 894 896 900 public String getNString(int parameterIndex) throws SQLException { 901 throw Message.getUnsupportedException(); 902 } 903 904 908 public String getNString(String parameterName) throws SQLException { 909 throw Message.getUnsupportedException(); 910 } 911 912 916 public Reader getNCharacterStream(int parameterIndex) throws SQLException { 917 throw Message.getUnsupportedException(); 918 } 919 920 924 public Reader getNCharacterStream(String parameterName) throws SQLException { 925 throw Message.getUnsupportedException(); 926 } 927 928 932 public Reader getCharacterStream(int parameterIndex) throws SQLException { 933 throw Message.getUnsupportedException(); 934 } 935 936 940 public Reader getCharacterStream(String parameterName) throws SQLException { 941 throw Message.getUnsupportedException(); 942 } 943 944 948 public void setBlob(String parameterName, Blob x) throws SQLException { 949 throw Message.getUnsupportedException(); 950 } 951 952 956 public void setClob(String parameterName, Clob x) throws SQLException { 957 throw Message.getUnsupportedException(); 958 } 959 960 964 public void setAsciiStream(String parameterName, InputStream x) throws SQLException { 965 throw Message.getUnsupportedException(); 966 } 967 968 972 public void setAsciiStream(String parameterName, InputStream x, int length) throws SQLException { 973 throw Message.getUnsupportedException(); 974 } 975 976 980 public void setBinaryStream(String parameterName, InputStream x) throws SQLException { 981 throw Message.getUnsupportedException(); 982 } 983 984 988 public void setBinaryStream(String parameterName, InputStream x, long length) throws SQLException { 989 throw Message.getUnsupportedException(); 990 } 991 992 996 public void setBlob(String parameterName, InputStream x) throws SQLException { 997 throw Message.getUnsupportedException(); 998 } 999 1000 1004 public void setCharacterStream(String parameterName, Reader x) throws SQLException { 1005 throw Message.getUnsupportedException(); 1006 } 1007 1008 1012 public void setCharacterStream(String parameterName, Reader x, long length) throws SQLException { 1013 throw Message.getUnsupportedException(); 1014 } 1015 1016 1020 public void setClob(String parameterName, Reader x) throws SQLException { 1021 throw Message.getUnsupportedException(); 1022 } 1023 1024 1028 public void setNCharacterStream(String parameterName, Reader x) throws SQLException { 1029 throw Message.getUnsupportedException(); 1030 } 1031 1032 1036 public void setNClob(String parameterName, Reader x) throws SQLException { 1037 throw Message.getUnsupportedException(); 1038 } 1039 1040 1051} 1052 | Popular Tags |