Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.db / org.gvsig.fmap.dal.db.jdbc / src / main / java / org / gvsig / fmap / dal / store / jdbc2 / spi / FakePreparedStatement.java @ 45534

History | View | Annotate | Download (7.88 KB)

1
/**
2
 * gvSIG. Desktop Geographic Information System.
3
 *
4
 * Copyright (C) 2007-2020 gvSIG Association.
5
 *
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 3
9
 * of the License, or (at your option) any later version.
10
 *
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 *
16
 * You should have received a copy of the GNU General Public License
17
 * along with this program; if not, write to the Free Software
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
 * MA  02110-1301, USA.
20
 *
21
 * For any additional information, do not hesitate to contact us
22
 * at info AT gvsig.com, or visit our website www.gvsig.com.
23
 */
24
package org.gvsig.fmap.dal.store.jdbc2.spi;
25

    
26
import java.io.InputStream;
27
import java.io.Reader;
28
import java.math.BigDecimal;
29
import java.net.URL;
30
import java.sql.Array;
31
import java.sql.Blob;
32
import java.sql.Clob;
33
import java.sql.Connection;
34
import java.sql.Date;
35
import java.sql.NClob;
36
import java.sql.ParameterMetaData;
37
import java.sql.PreparedStatement;
38
import java.sql.Ref;
39
import java.sql.ResultSet;
40
import java.sql.ResultSetMetaData;
41
import java.sql.RowId;
42
import java.sql.SQLException;
43
import java.sql.SQLXML;
44
import java.sql.Time;
45
import java.sql.Timestamp;
46
import java.util.Calendar;
47

    
48
/**
49
 *
50
 * @author gvSIG Team
51
 */
52
public class FakePreparedStatement 
53
        extends FakeStatement
54
        implements PreparedStatement 
55
    {
56

    
57
    public FakePreparedStatement(Connection connection) {
58
        super(connection);
59
    }
60

    
61
    @Override
62
    public ResultSet executeQuery() throws SQLException {
63
        return null;
64
    }
65

    
66
    @Override
67
    public int executeUpdate() throws SQLException {
68
        return 0;
69
    }
70

    
71
    @Override
72
    public void setNull(int parameterIndex, int sqlType) throws SQLException {
73
        
74
    }
75

    
76
    @Override
77
    public void setBoolean(int parameterIndex, boolean x) throws SQLException {
78
        
79
    }
80

    
81
    @Override
82
    public void setByte(int parameterIndex, byte x) throws SQLException {
83
        
84
    }
85

    
86
    @Override
87
    public void setShort(int parameterIndex, short x) throws SQLException {
88
        
89
    }
90

    
91
    @Override
92
    public void setInt(int parameterIndex, int x) throws SQLException {
93
        
94
    }
95

    
96
    @Override
97
    public void setLong(int parameterIndex, long x) throws SQLException {
98
        
99
    }
100

    
101
    @Override
102
    public void setFloat(int parameterIndex, float x) throws SQLException {
103
        
104
    }
105

    
106
    @Override
107
    public void setDouble(int parameterIndex, double x) throws SQLException {
108
        
109
    }
110

    
111
    @Override
112
    public void setBigDecimal(int parameterIndex, BigDecimal x) throws SQLException {
113
        
114
    }
115

    
116
    @Override
117
    public void setString(int parameterIndex, String x) throws SQLException {
118
        
119
    }
120

    
121
    @Override
122
    public void setBytes(int parameterIndex, byte[] x) throws SQLException {
123
        
124
    }
125

    
126
    @Override
127
    public void setDate(int parameterIndex, Date x) throws SQLException {
128
        
129
    }
130

    
131
    @Override
132
    public void setTime(int parameterIndex, Time x) throws SQLException {
133
        
134
    }
135

    
136
    @Override
137
    public void setTimestamp(int parameterIndex, Timestamp x) throws SQLException {
138
        
139
    }
140

    
141
    @Override
142
    public void setAsciiStream(int parameterIndex, InputStream x, int length) throws SQLException {
143
        
144
    }
145

    
146
    @Override
147
    public void setUnicodeStream(int parameterIndex, InputStream x, int length) throws SQLException {
148
        
149
    }
150

    
151
    @Override
152
    public void setBinaryStream(int parameterIndex, InputStream x, int length) throws SQLException {
153
        
154
    }
155

    
156
    @Override
157
    public void clearParameters() throws SQLException {
158
        
159
    }
160

    
161
    @Override
162
    public void setObject(int parameterIndex, Object x, int targetSqlType) throws SQLException {
163
        
164
    }
165

    
166
    @Override
167
    public void setObject(int parameterIndex, Object x) throws SQLException {
168
        
169
    }
170

    
171
    @Override
172
    public boolean execute() throws SQLException {
173
        return true;
174
    }
175

    
176
    @Override
177
    public void addBatch() throws SQLException {
178
        
179
    }
180

    
181
    @Override
182
    public void setCharacterStream(int parameterIndex, Reader reader, int length) throws SQLException {
183
        
184
    }
185

    
186
    @Override
187
    public void setRef(int parameterIndex, Ref x) throws SQLException {
188
        
189
    }
190

    
191
    @Override
192
    public void setBlob(int parameterIndex, Blob x) throws SQLException {
193
        
194
    }
195

    
196
    @Override
197
    public void setClob(int parameterIndex, Clob x) throws SQLException {
198
        
199
    }
200

    
201
    @Override
202
    public void setArray(int parameterIndex, Array x) throws SQLException {
203
        
204
    }
205

    
206
    @Override
207
    public ResultSetMetaData getMetaData() throws SQLException {
208
        return null;
209
    }
210

    
211
    @Override
212
    public void setDate(int parameterIndex, Date x, Calendar cal) throws SQLException {
213
        
214
    }
215

    
216
    @Override
217
    public void setTime(int parameterIndex, Time x, Calendar cal) throws SQLException {
218
        
219
    }
220

    
221
    @Override
222
    public void setTimestamp(int parameterIndex, Timestamp x, Calendar cal) throws SQLException {
223
        
224
    }
225

    
226
    @Override
227
    public void setNull(int parameterIndex, int sqlType, String typeName) throws SQLException {
228
        
229
    }
230

    
231
    @Override
232
    public void setURL(int parameterIndex, URL x) throws SQLException {
233
        
234
    }
235

    
236
    @Override
237
    public ParameterMetaData getParameterMetaData() throws SQLException {
238
        return null;
239
    }
240

    
241
    @Override
242
    public void setRowId(int parameterIndex, RowId x) throws SQLException {
243
        
244
    }
245

    
246
    @Override
247
    public void setNString(int parameterIndex, String value) throws SQLException {
248
        
249
    }
250

    
251
    @Override
252
    public void setNCharacterStream(int parameterIndex, Reader value, long length) throws SQLException {
253
        
254
    }
255

    
256
    @Override
257
    public void setNClob(int parameterIndex, NClob value) throws SQLException {
258
        
259
    }
260

    
261
    @Override
262
    public void setClob(int parameterIndex, Reader reader, long length) throws SQLException {
263
        
264
    }
265

    
266
    @Override
267
    public void setBlob(int parameterIndex, InputStream inputStream, long length) throws SQLException {
268
        
269
    }
270

    
271
    @Override
272
    public void setNClob(int parameterIndex, Reader reader, long length) throws SQLException {
273
        
274
    }
275

    
276
    @Override
277
    public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException {
278
        
279
    }
280

    
281
    @Override
282
    public void setObject(int parameterIndex, Object x, int targetSqlType, int scaleOrLength) throws SQLException {
283
        
284
    }
285

    
286
    @Override
287
    public void setAsciiStream(int parameterIndex, InputStream x, long length) throws SQLException {
288
        
289
    }
290

    
291
    @Override
292
    public void setBinaryStream(int parameterIndex, InputStream x, long length) throws SQLException {
293
        
294
    }
295

    
296
    @Override
297
    public void setCharacterStream(int parameterIndex, Reader reader, long length) throws SQLException {
298
        
299
    }
300

    
301
    @Override
302
    public void setAsciiStream(int parameterIndex, InputStream x) throws SQLException {
303
        
304
    }
305

    
306
    @Override
307
    public void setBinaryStream(int parameterIndex, InputStream x) throws SQLException {
308
        
309
    }
310

    
311
    @Override
312
    public void setCharacterStream(int parameterIndex, Reader reader) throws SQLException {
313
        
314
    }
315

    
316
    @Override
317
    public void setNCharacterStream(int parameterIndex, Reader value) throws SQLException {
318
        
319
    }
320

    
321
    @Override
322
    public void setClob(int parameterIndex, Reader reader) throws SQLException {
323
        
324
    }
325

    
326
    @Override
327
    public void setBlob(int parameterIndex, InputStream inputStream) throws SQLException {
328
        
329
    }
330

    
331
    @Override
332
    public void setNClob(int parameterIndex, Reader reader) throws SQLException {
333
        
334
    }
335
    
336
}