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.CallableStatement; |
17 | |
import java.sql.SQLException; |
18 | |
|
19 | |
|
20 | |
|
21 | |
|
22 | |
|
23 | |
|
24 | |
public abstract class CallableStatementWrapper41Base extends |
25 | |
CallableStatementWrapper40Base { |
26 | |
|
27 | |
public CallableStatementWrapper41Base(ConnectionWrapper30Base connection, |
28 | |
CallableStatement statement) { |
29 | 40008 | super(connection, statement); |
30 | 40008 | } |
31 | |
|
32 | |
public <T> T getObject(int parameterIndex, Class<T> type) |
33 | |
throws SQLException { |
34 | 2 | return this.getUnderlyingCallableStatement().getObject(parameterIndex, type); |
35 | |
} |
36 | |
|
37 | |
public <T> T getObject(String parameterName, Class<T> type) |
38 | |
throws SQLException { |
39 | 2 | return this.getUnderlyingCallableStatement().getObject(parameterName, type); |
40 | |
} |
41 | |
|
42 | |
public void closeOnCompletion() throws SQLException { |
43 | 2 | this.getUnderlyingCallableStatement().closeOnCompletion(); |
44 | |
|
45 | 2 | } |
46 | |
|
47 | |
public boolean isCloseOnCompletion() throws SQLException { |
48 | 2 | return this.getUnderlyingCallableStatement().isCloseOnCompletion(); |
49 | |
} |
50 | |
|
51 | |
} |