Browse Subversion Repository
Diff of /jdbcdebugger/trunk/src/jp/co/powerbeans/jdbcdebug/sql/Statement.java
Parent Directory
| Revision Log
| Patch
| 406 |
st.setQueryTimeout(seconds); |
st.setQueryTimeout(seconds); |
| 407 |
} |
} |
| 408 |
|
|
| 409 |
|
/** |
| 410 |
|
* @return |
| 411 |
|
* @throws SQLException |
| 412 |
|
* @see java.sql.Statement#isClosed() |
| 413 |
|
*/ |
| 414 |
|
public boolean isClosed() throws SQLException { |
| 415 |
|
return st.isClosed(); |
| 416 |
|
} |
| 417 |
|
|
| 418 |
|
/** |
| 419 |
|
* @return |
| 420 |
|
* @throws SQLException |
| 421 |
|
* @see java.sql.Statement#isPoolable() |
| 422 |
|
*/ |
| 423 |
|
public boolean isPoolable() throws SQLException { |
| 424 |
|
return st.isPoolable(); |
| 425 |
|
} |
| 426 |
|
|
| 427 |
|
/** |
| 428 |
|
* @param iface |
| 429 |
|
* @return |
| 430 |
|
* @throws SQLException |
| 431 |
|
* @see java.sql.Wrapper#isWrapperFor(java.lang.Class) |
| 432 |
|
*/ |
| 433 |
|
public boolean isWrapperFor(Class<?> iface) throws SQLException { |
| 434 |
|
return st.isWrapperFor(iface); |
| 435 |
|
} |
| 436 |
|
|
| 437 |
|
/** |
| 438 |
|
* @param poolable |
| 439 |
|
* @throws SQLException |
| 440 |
|
* @see java.sql.Statement#setPoolable(boolean) |
| 441 |
|
*/ |
| 442 |
|
public void setPoolable(boolean poolable) throws SQLException { |
| 443 |
|
st.setPoolable(poolable); |
| 444 |
|
} |
| 445 |
|
|
| 446 |
|
/** |
| 447 |
|
* @param <T> |
| 448 |
|
* @param iface |
| 449 |
|
* @return |
| 450 |
|
* @throws SQLException |
| 451 |
|
* @see java.sql.Wrapper#unwrap(java.lang.Class) |
| 452 |
|
*/ |
| 453 |
|
public <T> T unwrap(Class<T> iface) throws SQLException { |
| 454 |
|
return st.unwrap(iface); |
| 455 |
|
} |
| 456 |
|
|
| 457 |
} |
} |
|
|
Legend:
| Removed from v.33 |
|
| changed lines |
| |
Added in v.34 |
|
|
|