1 33 package com.internetcds.jdbc.tds; 34 35 import java.net.URL ; 36 import java.sql.*; 37 import java.math.BigDecimal ; 38 import java.io.InputStream ; 39 import java.io.Reader ; 40 import java.util.Calendar ; 41 import java.util.Map ; 42 43 44 public class PreparedStatement_2_0 45 extends com.internetcds.jdbc.tds.PreparedStatement_base 46 implements java.sql.PreparedStatement 47 { 48 public static final String cvsVersion = "$Id: PreparedStatement_2_0.java,v 1.1 2006/06/23 10:39:30 sinisa Exp $"; 49 50 51 public PreparedStatement_2_0( 52 java.sql.Connection conn_, 53 Tds tds_, 54 String sql) 55 throws java.sql.SQLException 56 { 57 super(conn_, tds_, sql); 58 } 59 60 62 70 public void addBatch() throws java.sql.SQLException 71 { 72 NotImplemented(); 73 } 74 75 95 public void setCharacterStream(int parameterIndex, 96 java.io.Reader reader, 97 int length) throws java.sql.SQLException 98 { 99 NotImplemented(); 100 } 101 102 103 112 public void setRef (int i, java.sql.Ref x) throws java.sql.SQLException 113 { 114 NotImplemented(); 115 } 116 117 118 127 public void setBlob (int i, java.sql.Blob x) throws java.sql.SQLException 128 { 129 NotImplemented(); 130 } 131 132 133 142 public void setClob (int i, java.sql.Clob x) throws java.sql.SQLException 143 { 144 NotImplemented(); 145 } 146 147 148 157 public void setArray (int i, java.sql.Array x) throws java.sql.SQLException 158 { 159 NotImplemented(); 160 } 161 162 163 171 public java.sql.ResultSetMetaData getMetaData() throws java.sql.SQLException 172 { 173 NotImplemented(); 174 return null; 175 } 176 177 178 196 public void setDate(int parameterIndex, java.sql.Date x, java.util.Calendar cal) 197 throws java.sql.SQLException 198 { 199 NotImplemented(); 200 } 201 202 203 221 public void setTime(int parameterIndex, java.sql.Time x, java.util.Calendar cal) 222 throws java.sql.SQLException 223 { 224 NotImplemented(); 225 } 226 227 228 246 public void setTimestamp(int parameterIndex, 247 java.sql.Timestamp x, 248 java.util.Calendar cal) 249 throws java.sql.SQLException 250 { 251 NotImplemented(); 252 } 253 254 255 283 public void setNull (int paramIndex, int sqlType, String typeName) 284 throws java.sql.SQLException 285 { 286 NotImplemented(); 287 } 288 292 public void setURL(int current, URL url) throws SQLException { 293 throw new UnsupportedOperationException ("Statement.getMoreResults(int) unsupported"); 294 } 295 296 public void setURL(String current, URL url) throws SQLException { 297 throw new UnsupportedOperationException ("Statement.getMoreResults(int) unsupported"); 298 } 299 300 public boolean getMoreResults(int current) throws SQLException { 301 throw new UnsupportedOperationException ("Statement.getMoreResults(int) unsupported"); 302 } 303 304 public ResultSet getGeneratedKeys() throws SQLException { 305 throw new UnsupportedOperationException ("Statement.getGeneratedKeys() unsupported"); 306 } 307 308 public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException { 309 throw new UnsupportedOperationException ("Statement.executeUpdate(String,int) unsupported"); 310 } 311 312 public int executeUpdate(String sql, int[] columnIndexes) throws SQLException { 313 throw new UnsupportedOperationException ("Statement.executeUpdate(String,int[]) unsupported"); 314 } 315 316 public int executeUpdate(String sql, String [] columnNames) throws SQLException { 317 throw new UnsupportedOperationException ("Statement.executeUpdate(String,String[]) unsupported"); 318 } 319 320 public boolean execute(String sql, int autoGeneratedKeys) throws SQLException { 321 throw new UnsupportedOperationException ("Statement.execute(String,int) unsupported"); 322 } 323 324 public boolean execute(String sql, int[] columnIndexes) throws SQLException { 325 throw new UnsupportedOperationException ("Statement.execute(String,int[]) unsupported"); 326 } 327 328 public boolean execute(String sql, String [] columnNames) throws SQLException { 329 throw new UnsupportedOperationException ("Statement.execute(String,String[]) unsupported"); 330 } 331 332 public int getResultSetHoldability() throws SQLException { 333 throw new UnsupportedOperationException ("Statement.getResultSetHoldability() unsupported"); 334 } 335 336 public java.sql.ParameterMetaData getParameterMetaData() throws SQLException { 337 throw new UnsupportedOperationException ("Statement.getParameterMetaData() unsupported"); 338 } 339 340 public void registerOutParameter(String str,int x) throws SQLException { 341 throw new UnsupportedOperationException ("Statement.getParameterMetaData() unsupported"); 342 } 343 344 public void registerOutParameter(String str,int x, int y) throws SQLException { 345 throw new UnsupportedOperationException ("Statement.getParameterMetaData() unsupported"); 346 } 347 348 public void registerOutParameter(String str1,String str2) throws SQLException { 349 throw new UnsupportedOperationException ("Statement.getParameterMetaData() unsupported"); 350 } 351 public void registerOutParameter(String str1,int x,String str2) throws SQLException { 352 throw new UnsupportedOperationException ("Statement.getParameterMetaData() unsupported"); 353 } 354 355 public URL getURL(int url) throws SQLException { 356 throw new UnsupportedOperationException ("Statement.getMoreResults(int) unsupported"); 357 } 358 359 public void setNull(String column, int url) throws SQLException { 360 throw new UnsupportedOperationException ("Statement.getMoreResults(int) setNull"); 361 } 362 363 public void setBoolean(String str,boolean b) throws SQLException { 364 throw new UnsupportedOperationException ("Statement.setBoolean(int) setNull"); 365 } 366 367 public void setByte(String str,byte b) throws SQLException { 368 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 369 } 370 371 372 public void setShort(String str,short b) throws SQLException { 373 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 374 } 375 376 377 public void setInt(String str,int b) throws SQLException { 378 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 379 } 380 381 382 public void setLong(String str,long b) throws SQLException { 383 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 384 } 385 386 387 public void setFloat(String str,float b) throws SQLException { 388 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 389 } 390 391 392 public void setDouble(String str,double b) throws SQLException { 393 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 394 } 395 396 397 public void setBigDecimal(String str,BigDecimal b) throws SQLException { 398 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 399 } 400 401 402 public void setString(String str,String b) throws SQLException { 403 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 404 } 405 406 public void setBytes(String str,byte[] b) throws SQLException { 407 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 408 } 409 410 public void setDate(String str,Date b) throws SQLException { 411 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 412 } 413 414 public void setTime(String str,Time b) throws SQLException { 415 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 416 } 417 418 public void setTimestamp(String str,Timestamp b) throws SQLException { 419 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 420 } 421 422 public void setAsciiStream(String str,InputStream b, int x) throws SQLException { 423 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 424 } 425 426 public void setBinaryStream(String str,InputStream b, int x) throws SQLException { 427 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 428 } 429 430 public void setObject(String str,Object b, int x, int y) throws SQLException { 431 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 432 } 433 434 public void setObject(String str,Object b, int x) throws SQLException { 435 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 436 } 437 438 public void setObject(String str,Object b) throws SQLException { 439 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 440 } 441 442 public void setCharacterStream(String str,Reader b, int x) throws SQLException { 443 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 444 } 445 446 public void setDate(String str,Date b, Calendar cal) throws SQLException { 447 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 448 } 449 450 public void setTime(String str,Time b, Calendar cal) throws SQLException { 451 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 452 } 453 454 public void setTimestamp(String str,Timestamp b, Calendar cal) throws SQLException { 455 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 456 } 457 458 public void setNull(String str,int b, String str2) throws SQLException { 459 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 460 } 461 462 public String getString(String str) throws SQLException { 463 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 464 } 465 466 public boolean getBoolean(String str) throws SQLException { 467 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 468 } 469 470 public byte getByte(String str) throws SQLException { 471 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 472 } 473 474 public short getShort(String str) throws SQLException { 475 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 476 } 477 478 public int getInt(String str) throws SQLException { 479 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 480 } 481 482 public long getLong(String str) throws SQLException { 483 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 484 } 485 486 public float getFloat(String str) throws SQLException { 487 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 488 } 489 490 public double getDouble(String str) throws SQLException { 491 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 492 } 493 494 public byte[] getBytes(String str) throws SQLException { 495 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 496 } 497 498 public Date getDate(String str) throws SQLException { 499 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 500 } 501 502 public Time getTime(String str) throws SQLException { 503 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 504 } 505 506 public Timestamp getTimestamp(String str) throws SQLException { 507 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 508 } 509 510 public Object getObject(String str) throws SQLException { 511 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 512 } 513 514 public BigDecimal getBigDecimal(String str) throws SQLException { 515 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 516 } 517 518 public Object getObject(String str, Map m) throws SQLException { 519 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 520 } 521 522 public Ref getRef(String str) throws SQLException { 523 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 524 } 525 526 527 public Blob getBlob(String str) throws SQLException { 528 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 529 } 530 531 public Clob getClob(String str) throws SQLException { 532 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 533 } 534 535 public Array getArray(String str) throws SQLException { 536 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 537 } 538 539 540 public Date getDate(String str, Calendar c) throws SQLException { 541 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 542 } 543 544 public Time getTime(String str, Calendar m) throws SQLException { 545 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 546 } 547 548 public Timestamp getTimestamp(String str, Calendar m) throws SQLException { 549 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 550 } 551 552 public URL getURL(String str) throws SQLException { 553 throw new UnsupportedOperationException ("Statement.setByte(int) setNull"); 554 } 555 556 557 } 558 | Popular Tags |