| 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.JDBC41} ) |
| 29 | |
@PackageRestrictions({"net.admin4j","java","javax"}) |
| 30 | |
public abstract class StatementWrapper41Base extends StatementWrapper40Base { |
| 31 | |
|
| 32 | |
public StatementWrapper41Base(ConnectionWrapper30Base connection, |
| 33 | |
Statement statement) { |
| 34 | 16 | super(connection, statement); |
| 35 | 16 | } |
| 36 | |
|
| 37 | |
public void closeOnCompletion() throws SQLException { |
| 38 | 2 | this.getUnderlyingStatement().closeOnCompletion(); |
| 39 | |
|
| 40 | 2 | } |
| 41 | |
|
| 42 | |
public boolean isCloseOnCompletion() throws SQLException { |
| 43 | 2 | return this.getUnderlyingStatement().isCloseOnCompletion(); |
| 44 | |
} |
| 45 | |
|
| 46 | |
} |