| 1 | |
|
| 2 | |
|
| 3 | |
|
| 4 | |
|
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
|
| 9 | |
|
| 10 | |
|
| 11 | |
|
| 12 | |
|
| 13 | |
|
| 14 | |
package net.admin4j.jdbc.driver.sql; |
| 15 | |
|
| 16 | |
import java.sql.SQLException; |
| 17 | |
import java.sql.Statement; |
| 18 | |
|
| 19 | |
import net.admin4j.util.annotate.PackageRestrictions; |
| 20 | |
import net.admin4j.util.annotate.Product; |
| 21 | |
import net.admin4j.util.annotate.ProductDependencies; |
| 22 | |
|
| 23 | |
|
| 24 | |
|
| 25 | |
|
| 26 | |
|
| 27 | |
|
| 28 | |
@ProductDependencies( {Product.JDBC40} ) |
| 29 | |
@PackageRestrictions({"net.admin4j","java","javax"}) |
| 30 | |
public abstract class StatementWrapper40Base extends StatementWrapper30Base { |
| 31 | |
|
| 32 | |
public StatementWrapper40Base(ConnectionWrapper30Base connection, |
| 33 | |
Statement statement) { |
| 34 | 24 | super(connection, statement); |
| 35 | 24 | } |
| 36 | |
|
| 37 | |
public boolean isClosed() throws SQLException { |
| 38 | 3 | return this.getUnderlyingStatement().isClosed(); |
| 39 | |
} |
| 40 | |
|
| 41 | |
public boolean isPoolable() throws SQLException { |
| 42 | 3 | return this.getUnderlyingStatement().isPoolable(); |
| 43 | |
} |
| 44 | |
|
| 45 | |
public boolean isWrapperFor(Class<?> iface) throws SQLException { |
| 46 | 3 | return this.getUnderlyingStatement().isWrapperFor(iface); |
| 47 | |
} |
| 48 | |
|
| 49 | |
public <T> T unwrap(Class<T> iface) throws SQLException { |
| 50 | 3 | return this.getUnderlyingStatement().unwrap(iface); |
| 51 | |
} |
| 52 | |
|
| 53 | |
public void setPoolable(boolean poolable) throws SQLException { |
| 54 | 3 | this.getUnderlyingStatement().setPoolable(poolable); |
| 55 | |
|
| 56 | 3 | } |
| 57 | |
|
| 58 | |
} |