| 1 |
package jp.co.powerbeans.jdbcdebug.sql; |
package jp.co.powerbeans.jdbcdebug.sql; |
| 2 |
|
|
| 3 |
|
import java.sql.Array; |
| 4 |
|
import java.sql.Blob; |
| 5 |
import java.sql.CallableStatement; |
import java.sql.CallableStatement; |
| 6 |
|
import java.sql.Clob; |
| 7 |
import java.sql.DatabaseMetaData; |
import java.sql.DatabaseMetaData; |
| 8 |
|
import java.sql.NClob; |
| 9 |
import java.sql.PreparedStatement; |
import java.sql.PreparedStatement; |
| 10 |
|
import java.sql.SQLClientInfoException; |
| 11 |
import java.sql.SQLException; |
import java.sql.SQLException; |
| 12 |
import java.sql.SQLWarning; |
import java.sql.SQLWarning; |
| 13 |
|
import java.sql.SQLXML; |
| 14 |
import java.sql.Savepoint; |
import java.sql.Savepoint; |
| 15 |
import java.sql.Statement; |
import java.sql.Statement; |
| 16 |
|
import java.sql.Struct; |
| 17 |
import java.util.Map; |
import java.util.Map; |
| 18 |
|
import java.util.Properties; |
| 19 |
|
|
| 20 |
import jp.co.powerbeans.jdbcdebug.notify.NotifyUtil; |
import jp.co.powerbeans.jdbcdebug.notify.NotifyUtil; |
| 21 |
import jp.co.powerbeans.jdbcdebug.util.ConCheckMgr; |
import jp.co.powerbeans.jdbcdebug.util.ConCheckMgr; |
| 409 |
sql); |
sql); |
| 410 |
} |
} |
| 411 |
|
|
| 412 |
|
/** |
| 413 |
|
* @param typeName |
| 414 |
|
* @param elements |
| 415 |
|
* @return |
| 416 |
|
* @throws SQLException |
| 417 |
|
* @see java.sql.Connection#createArrayOf(java.lang.String, java.lang.Object[]) |
| 418 |
|
*/ |
| 419 |
|
public Array createArrayOf(String typeName, Object[] elements) |
| 420 |
|
throws SQLException { |
| 421 |
|
return rcon.createArrayOf(typeName, elements); |
| 422 |
|
} |
| 423 |
|
|
| 424 |
|
/** |
| 425 |
|
* @return |
| 426 |
|
* @throws SQLException |
| 427 |
|
* @see java.sql.Connection#createBlob() |
| 428 |
|
*/ |
| 429 |
|
public Blob createBlob() throws SQLException { |
| 430 |
|
return rcon.createBlob(); |
| 431 |
|
} |
| 432 |
|
|
| 433 |
|
/** |
| 434 |
|
* @return |
| 435 |
|
* @throws SQLException |
| 436 |
|
* @see java.sql.Connection#createClob() |
| 437 |
|
*/ |
| 438 |
|
public Clob createClob() throws SQLException { |
| 439 |
|
return rcon.createClob(); |
| 440 |
|
} |
| 441 |
|
|
| 442 |
|
/** |
| 443 |
|
* @return |
| 444 |
|
* @throws SQLException |
| 445 |
|
* @see java.sql.Connection#createNClob() |
| 446 |
|
*/ |
| 447 |
|
public NClob createNClob() throws SQLException { |
| 448 |
|
return rcon.createNClob(); |
| 449 |
|
} |
| 450 |
|
|
| 451 |
|
/** |
| 452 |
|
* @return |
| 453 |
|
* @throws SQLException |
| 454 |
|
* @see java.sql.Connection#createSQLXML() |
| 455 |
|
*/ |
| 456 |
|
public SQLXML createSQLXML() throws SQLException { |
| 457 |
|
return rcon.createSQLXML(); |
| 458 |
|
} |
| 459 |
|
|
| 460 |
|
/** |
| 461 |
|
* @param typeName |
| 462 |
|
* @param attributes |
| 463 |
|
* @return |
| 464 |
|
* @throws SQLException |
| 465 |
|
* @see java.sql.Connection#createStruct(java.lang.String, java.lang.Object[]) |
| 466 |
|
*/ |
| 467 |
|
public Struct createStruct(String typeName, Object[] attributes) |
| 468 |
|
throws SQLException { |
| 469 |
|
return rcon.createStruct(typeName, attributes); |
| 470 |
|
} |
| 471 |
|
|
| 472 |
|
/** |
| 473 |
|
* @return |
| 474 |
|
* @throws SQLException |
| 475 |
|
* @see java.sql.Connection#getClientInfo() |
| 476 |
|
*/ |
| 477 |
|
public Properties getClientInfo() throws SQLException { |
| 478 |
|
return rcon.getClientInfo(); |
| 479 |
|
} |
| 480 |
|
|
| 481 |
|
/** |
| 482 |
|
* @param name |
| 483 |
|
* @return |
| 484 |
|
* @throws SQLException |
| 485 |
|
* @see java.sql.Connection#getClientInfo(java.lang.String) |
| 486 |
|
*/ |
| 487 |
|
public String getClientInfo(String name) throws SQLException { |
| 488 |
|
return rcon.getClientInfo(name); |
| 489 |
|
} |
| 490 |
|
|
| 491 |
|
/** |
| 492 |
|
* @param timeout |
| 493 |
|
* @return |
| 494 |
|
* @throws SQLException |
| 495 |
|
* @see java.sql.Connection#isValid(int) |
| 496 |
|
*/ |
| 497 |
|
public boolean isValid(int timeout) throws SQLException { |
| 498 |
|
return rcon.isValid(timeout); |
| 499 |
|
} |
| 500 |
|
|
| 501 |
|
/** |
| 502 |
|
* @param iface |
| 503 |
|
* @return |
| 504 |
|
* @throws SQLException |
| 505 |
|
* @see java.sql.Wrapper#isWrapperFor(java.lang.Class) |
| 506 |
|
*/ |
| 507 |
|
public boolean isWrapperFor(Class<?> iface) throws SQLException { |
| 508 |
|
return rcon.isWrapperFor(iface); |
| 509 |
|
} |
| 510 |
|
|
| 511 |
|
/** |
| 512 |
|
* @param properties |
| 513 |
|
* @throws SQLClientInfoException |
| 514 |
|
* @see java.sql.Connection#setClientInfo(java.util.Properties) |
| 515 |
|
*/ |
| 516 |
|
public void setClientInfo(Properties properties) |
| 517 |
|
throws SQLClientInfoException { |
| 518 |
|
rcon.setClientInfo(properties); |
| 519 |
|
} |
| 520 |
|
|
| 521 |
|
/** |
| 522 |
|
* @param name |
| 523 |
|
* @param value |
| 524 |
|
* @throws SQLClientInfoException |
| 525 |
|
* @see java.sql.Connection#setClientInfo(java.lang.String, java.lang.String) |
| 526 |
|
*/ |
| 527 |
|
public void setClientInfo(String name, String value) |
| 528 |
|
throws SQLClientInfoException { |
| 529 |
|
rcon.setClientInfo(name, value); |
| 530 |
|
} |
| 531 |
|
|
| 532 |
|
/** |
| 533 |
|
* @param <T> |
| 534 |
|
* @param iface |
| 535 |
|
* @return |
| 536 |
|
* @throws SQLException |
| 537 |
|
* @see java.sql.Wrapper#unwrap(java.lang.Class) |
| 538 |
|
*/ |
| 539 |
|
public <T> T unwrap(Class<T> iface) throws SQLException { |
| 540 |
|
return rcon.unwrap(iface); |
| 541 |
|
} |
| 542 |
|
|
| 543 |
} |
} |