forked from rondunn/JDBCExcel
-
Notifications
You must be signed in to change notification settings - Fork 1
/
BaseStatement.java
227 lines (180 loc) · 6.18 KB
/
BaseStatement.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
package JDBCExcel;
import java.sql.*;
public class BaseStatement implements java.sql.Statement {
@Override
public ResultSet executeQuery(String sql) throws SQLException {
throw new SQLException("Method executeQuery not implemented.");
}
@Override
public int executeUpdate(String sql) throws SQLException {
throw new SQLException("Method executeUpdate not implemented.");
}
@Override
public void close() throws SQLException {
throw new SQLException("Method close not implemented.");
}
@Override
public int getMaxFieldSize() throws SQLException {
throw new SQLException("Method getMaxFieldSize not implemented.");
}
@Override
public void setMaxFieldSize(int max) throws SQLException {
throw new SQLException("Method setMaxFieldSize not implemented.");
}
@Override
public int getMaxRows() throws SQLException {
throw new SQLException("Method getMaxRows not implemented.");
}
@Override
public void setMaxRows(int max) throws SQLException {
throw new SQLException("Method setMaxRows not implemented.");
}
@Override
public void setEscapeProcessing(boolean enable) throws SQLException {
throw new SQLException("Method setEscapeProcessing not implemented.");
}
@Override
public int getQueryTimeout() throws SQLException {
throw new SQLException("Method getQueryTimeout not implemented.");
}
@Override
public void setQueryTimeout(int seconds) throws SQLException {
throw new SQLException("Method setQueryTimeout not implemented.");
}
@Override
public void cancel() throws SQLException {
throw new SQLException("Method cancel not implemented.");
}
@Override
public SQLWarning getWarnings() throws SQLException {
throw new SQLException("Method getWarnings not implemented.");
}
@Override
public void clearWarnings() throws SQLException {
throw new SQLException("Method clearWarnings not implemented.");
}
@Override
public void setCursorName(String name) throws SQLException {
throw new SQLException("Method setCursorName not implemented.");
}
@Override
public boolean execute(String sql) throws SQLException {
throw new SQLException("Method execute not implemented.");
}
@Override
public ResultSet getResultSet() throws SQLException {
throw new SQLException("Method getResultSet not implemented.");
}
@Override
public int getUpdateCount() throws SQLException {
throw new SQLException("Method getUpdateCount not implemented.");
}
@Override
public boolean getMoreResults() throws SQLException {
throw new SQLException("Method getMoreResults not implemented.");
}
@Override
public void setFetchDirection(int direction) throws SQLException {
throw new SQLException("Method setFetchDirection not implemented.");
}
@Override
public int getFetchDirection() throws SQLException {
throw new SQLException("Method getFetchDirection not implemented.");
}
@Override
public void setFetchSize(int rows) throws SQLException {
throw new SQLException("Method setFetchSize not implemented.");
}
@Override
public int getFetchSize() throws SQLException {
throw new SQLException("Method getFetchSize not implemented.");
}
@Override
public int getResultSetConcurrency() throws SQLException {
throw new SQLException("Method getResultSetConcurrency not implemented.");
}
@Override
public int getResultSetType() throws SQLException {
throw new SQLException("Method getResultSetType not implemented.");
}
@Override
public void addBatch(String sql) throws SQLException {
throw new SQLException("Method addBatch not implemented.");
}
@Override
public void clearBatch() throws SQLException {
throw new SQLException("Method clearBatch not implemented.");
}
@Override
public int[] executeBatch() throws SQLException {
throw new SQLException("Method executeBatch not implemented.");
}
@Override
public Connection getConnection() throws SQLException {
throw new SQLException("Method getConnection not implemented.");
}
@Override
public boolean getMoreResults(int current) throws SQLException {
throw new SQLException("Method getMoreResults not implemented.");
}
@Override
public ResultSet getGeneratedKeys() throws SQLException {
throw new SQLException("Method getGeneratedKeys not implemented.");
}
@Override
public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException {
throw new SQLException("Method executeUpdate not implemented.");
}
@Override
public int executeUpdate(String sql, int[] columnIndexes) throws SQLException {
throw new SQLException("Method executeUpdate not implemented.");
}
@Override
public int executeUpdate(String sql, String[] columnNames) throws SQLException {
throw new SQLException("Method executeUpdate not implemented.");
}
@Override
public boolean execute(String sql, int autoGeneratedKeys) throws SQLException {
throw new SQLException("Method execute not implemented.");
}
@Override
public boolean execute(String sql, int[] columnIndexes) throws SQLException {
throw new SQLException("Method execute not implemented.");
}
@Override
public boolean execute(String sql, String[] columnNames) throws SQLException {
throw new SQLException("Method execute not implemented.");
}
@Override
public int getResultSetHoldability() throws SQLException {
throw new SQLException("Method getResultSetHoldability not implemented.");
}
@Override
public boolean isClosed() throws SQLException {
throw new SQLException("Method isClosed not implemented.");
}
@Override
public void setPoolable(boolean poolable) throws SQLException {
throw new SQLException("Method setPoolable not implemented.");
}
@Override
public boolean isPoolable() throws SQLException {
throw new SQLException("Method isPoolable not implemented.");
}
@Override
public void closeOnCompletion() throws SQLException {
throw new SQLException("Method closeOnCompletion not implemented.");
}
@Override
public boolean isCloseOnCompletion() throws SQLException {
throw new SQLException("Method isCloseOnCompletion not implemented.");
}
@Override
public <T> T unwrap(Class<T> iface) throws SQLException {
throw new SQLException("Method unwrap not implemented.");
}
@Override
public boolean isWrapperFor(Class<?> iface) throws SQLException {
throw new SQLException("Method isWrapperFor not implemented.");
}
}