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.Connection; |
17 | |
import java.sql.SQLException; |
18 | |
import java.util.concurrent.Executor; |
19 | |
|
20 | |
|
21 | |
|
22 | |
|
23 | |
|
24 | |
|
25 | |
public abstract class ConnectionWrapper41Base extends ConnectionWrapper40Base { |
26 | |
|
27 | |
public ConnectionWrapper41Base(Connection conn) { |
28 | 12 | super(conn); |
29 | 12 | } |
30 | |
|
31 | |
public void setSchema(String schema) throws SQLException { |
32 | 2 | this.getConnection().setSchema(schema); |
33 | |
|
34 | 2 | } |
35 | |
|
36 | |
public String getSchema() throws SQLException { |
37 | 2 | return this.getConnection().getSchema(); |
38 | |
} |
39 | |
|
40 | |
public void abort(Executor executor) throws SQLException { |
41 | 2 | this.getConnection().abort(executor); |
42 | |
|
43 | 2 | } |
44 | |
|
45 | |
public void setNetworkTimeout(Executor executor, int milliseconds) |
46 | |
throws SQLException { |
47 | 2 | this.getConnection().setNetworkTimeout(executor, milliseconds); |
48 | |
|
49 | 2 | } |
50 | |
|
51 | |
public int getNetworkTimeout() throws SQLException { |
52 | 2 | return this.getConnection().getNetworkTimeout(); |
53 | |
} |
54 | |
|
55 | |
} |