1 /*
2 Copyright (C) 2003 Together
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) any later version.
8
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Lesser General Public License for more details.
13
14 You should have received a copy of the GNU Lesser General Public
15 License along with this library; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 */
18
19
20 package org.webdocwf.util.xml;
21
22 import java.sql.DatabaseMetaData;
23 import java.sql.SQLException;
24 import java.sql.ResultSet;
25 import java.sql.Connection;
26
27 /***
28 * Class that implements JDBC DatabaseMetaData interface.
29 *
30 * @author Zoran Milakovic
31 */
32 public class XmlDatabaseMetaData implements DatabaseMetaData {
33
34 private XmlConnection xmlConnection;
35
36 public XmlDatabaseMetaData(XmlConnection conn) {
37 this.xmlConnection = conn;
38 }
39
40 public boolean allProceduresAreCallable() throws SQLException {
41 /***@todo Implement this java.sql.DatabaseMetaData method*/
42 throw new java.lang.UnsupportedOperationException("Method allProceduresAreCallable() not yet implemented.");
43 }
44 public boolean allTablesAreSelectable() throws SQLException {
45 /***@todo Implement this java.sql.DatabaseMetaData method*/
46 throw new java.lang.UnsupportedOperationException("Method allTablesAreSelectable() not yet implemented.");
47 }
48 public String getURL() throws SQLException {
49 /***@todo Implement this java.sql.DatabaseMetaData method*/
50 throw new java.lang.UnsupportedOperationException("Method getURL() not yet implemented.");
51 }
52 public String getUserName() throws SQLException {
53 /***@todo Implement this java.sql.DatabaseMetaData method*/
54 throw new java.lang.UnsupportedOperationException("Method getUserName() not yet implemented.");
55 }
56 public boolean isReadOnly() throws SQLException {
57 /***@todo Implement this java.sql.DatabaseMetaData method*/
58 throw new java.lang.UnsupportedOperationException("Method isReadOnly() not yet implemented.");
59 }
60 public boolean nullsAreSortedHigh() throws SQLException {
61 /***@todo Implement this java.sql.DatabaseMetaData method*/
62 throw new java.lang.UnsupportedOperationException("Method nullsAreSortedHigh() not yet implemented.");
63 }
64 public boolean nullsAreSortedLow() throws SQLException {
65 /***@todo Implement this java.sql.DatabaseMetaData method*/
66 throw new java.lang.UnsupportedOperationException("Method nullsAreSortedLow() not yet implemented.");
67 }
68 public boolean nullsAreSortedAtStart() throws SQLException {
69 /***@todo Implement this java.sql.DatabaseMetaData method*/
70 throw new java.lang.UnsupportedOperationException("Method nullsAreSortedAtStart() not yet implemented.");
71 }
72 public boolean nullsAreSortedAtEnd() throws SQLException {
73 /***@todo Implement this java.sql.DatabaseMetaData method*/
74 throw new java.lang.UnsupportedOperationException("Method nullsAreSortedAtEnd() not yet implemented.");
75 }
76 public String getDatabaseProductName() throws SQLException {
77 /***@todo Implement this java.sql.DatabaseMetaData method*/
78 throw new java.lang.UnsupportedOperationException("Method getDatabaseProductName() not yet implemented.");
79 }
80 public String getDatabaseProductVersion() throws SQLException {
81 /***@todo Implement this java.sql.DatabaseMetaData method*/
82 throw new java.lang.UnsupportedOperationException("Method getDatabaseProductVersion() not yet implemented.");
83 }
84 public String getDriverName() throws SQLException {
85 /***@todo Implement this java.sql.DatabaseMetaData method*/
86 throw new java.lang.UnsupportedOperationException("Method getDriverName() not yet implemented.");
87 }
88 public String getDriverVersion() throws SQLException {
89 /***@todo Implement this java.sql.DatabaseMetaData method*/
90 throw new java.lang.UnsupportedOperationException("Method getDriverVersion() not yet implemented.");
91 }
92 public int getDriverMajorVersion() {
93 /***@todo Implement this java.sql.DatabaseMetaData method*/
94 throw new java.lang.UnsupportedOperationException("Method getDriverMajorVersion() not yet implemented.");
95 }
96 public int getDriverMinorVersion() {
97 /***@todo Implement this java.sql.DatabaseMetaData method*/
98 throw new java.lang.UnsupportedOperationException("Method getDriverMinorVersion() not yet implemented.");
99 }
100 public boolean usesLocalFiles() throws SQLException {
101 /***@todo Implement this java.sql.DatabaseMetaData method*/
102 throw new java.lang.UnsupportedOperationException("Method usesLocalFiles() not yet implemented.");
103 }
104 public boolean usesLocalFilePerTable() throws SQLException {
105 /***@todo Implement this java.sql.DatabaseMetaData method*/
106 throw new java.lang.UnsupportedOperationException("Method usesLocalFilePerTable() not yet implemented.");
107 }
108 public boolean supportsMixedCaseIdentifiers() throws SQLException {
109 /***@todo Implement this java.sql.DatabaseMetaData method*/
110 throw new java.lang.UnsupportedOperationException("Method supportsMixedCaseIdentifiers() not yet implemented.");
111 }
112 public boolean storesUpperCaseIdentifiers() throws SQLException {
113 /***@todo Implement this java.sql.DatabaseMetaData method*/
114 throw new java.lang.UnsupportedOperationException("Method storesUpperCaseIdentifiers() not yet implemented.");
115 }
116 public boolean storesLowerCaseIdentifiers() throws SQLException {
117 /***@todo Implement this java.sql.DatabaseMetaData method*/
118 throw new java.lang.UnsupportedOperationException("Method storesLowerCaseIdentifiers() not yet implemented.");
119 }
120 public boolean storesMixedCaseIdentifiers() throws SQLException {
121 /***@todo Implement this java.sql.DatabaseMetaData method*/
122 throw new java.lang.UnsupportedOperationException("Method storesMixedCaseIdentifiers() not yet implemented.");
123 }
124 public boolean supportsMixedCaseQuotedIdentifiers() throws SQLException {
125 /***@todo Implement this java.sql.DatabaseMetaData method*/
126 throw new java.lang.UnsupportedOperationException("Method supportsMixedCaseQuotedIdentifiers() not yet implemented.");
127 }
128 public boolean storesUpperCaseQuotedIdentifiers() throws SQLException {
129 /***@todo Implement this java.sql.DatabaseMetaData method*/
130 throw new java.lang.UnsupportedOperationException("Method storesUpperCaseQuotedIdentifiers() not yet implemented.");
131 }
132 public boolean storesLowerCaseQuotedIdentifiers() throws SQLException {
133 /***@todo Implement this java.sql.DatabaseMetaData method*/
134 throw new java.lang.UnsupportedOperationException("Method storesLowerCaseQuotedIdentifiers() not yet implemented.");
135 }
136 public boolean storesMixedCaseQuotedIdentifiers() throws SQLException {
137 /***@todo Implement this java.sql.DatabaseMetaData method*/
138 throw new java.lang.UnsupportedOperationException("Method storesMixedCaseQuotedIdentifiers() not yet implemented.");
139 }
140 public String getIdentifierQuoteString() throws SQLException {
141 /***@todo Implement this java.sql.DatabaseMetaData method*/
142 throw new java.lang.UnsupportedOperationException("Method getIdentifierQuoteString() not yet implemented.");
143 }
144 public String getSQLKeywords() throws SQLException {
145 /***@todo Implement this java.sql.DatabaseMetaData method*/
146 throw new java.lang.UnsupportedOperationException("Method getSQLKeywords() not yet implemented.");
147 }
148 public String getNumericFunctions() throws SQLException {
149 /***@todo Implement this java.sql.DatabaseMetaData method*/
150 throw new java.lang.UnsupportedOperationException("Method getNumericFunctions() not yet implemented.");
151 }
152 public String getStringFunctions() throws SQLException {
153 /***@todo Implement this java.sql.DatabaseMetaData method*/
154 throw new java.lang.UnsupportedOperationException("Method getStringFunctions() not yet implemented.");
155 }
156 public String getSystemFunctions() throws SQLException {
157 /***@todo Implement this java.sql.DatabaseMetaData method*/
158 throw new java.lang.UnsupportedOperationException("Method getSystemFunctions() not yet implemented.");
159 }
160 public String getTimeDateFunctions() throws SQLException {
161 /***@todo Implement this java.sql.DatabaseMetaData method*/
162 throw new java.lang.UnsupportedOperationException("Method getTimeDateFunctions() not yet implemented.");
163 }
164 public String getSearchStringEscape() throws SQLException {
165 /***@todo Implement this java.sql.DatabaseMetaData method*/
166 throw new java.lang.UnsupportedOperationException("Method getSearchStringEscape() not yet implemented.");
167 }
168 public String getExtraNameCharacters() throws SQLException {
169 /***@todo Implement this java.sql.DatabaseMetaData method*/
170 throw new java.lang.UnsupportedOperationException("Method getExtraNameCharacters() not yet implemented.");
171 }
172 public boolean supportsAlterTableWithAddColumn() throws SQLException {
173 /***@todo Implement this java.sql.DatabaseMetaData method*/
174 throw new java.lang.UnsupportedOperationException("Method supportsAlterTableWithAddColumn() not yet implemented.");
175 }
176 public boolean supportsAlterTableWithDropColumn() throws SQLException {
177 /***@todo Implement this java.sql.DatabaseMetaData method*/
178 throw new java.lang.UnsupportedOperationException("Method supportsAlterTableWithDropColumn() not yet implemented.");
179 }
180 public boolean supportsColumnAliasing() throws SQLException {
181 /***@todo Implement this java.sql.DatabaseMetaData method*/
182 throw new java.lang.UnsupportedOperationException("Method supportsColumnAliasing() not yet implemented.");
183 }
184 public boolean nullPlusNonNullIsNull() throws SQLException {
185 /***@todo Implement this java.sql.DatabaseMetaData method*/
186 throw new java.lang.UnsupportedOperationException("Method nullPlusNonNullIsNull() not yet implemented.");
187 }
188 public boolean supportsConvert() throws SQLException {
189 /***@todo Implement this java.sql.DatabaseMetaData method*/
190 throw new java.lang.UnsupportedOperationException("Method supportsConvert() not yet implemented.");
191 }
192 public boolean supportsConvert(int fromType, int toType) throws SQLException {
193 /***@todo Implement this java.sql.DatabaseMetaData method*/
194 throw new java.lang.UnsupportedOperationException("Method supportsConvert() not yet implemented.");
195 }
196 public boolean supportsTableCorrelationNames() throws SQLException {
197 /***@todo Implement this java.sql.DatabaseMetaData method*/
198 throw new java.lang.UnsupportedOperationException("Method supportsTableCorrelationNames() not yet implemented.");
199 }
200 public boolean supportsDifferentTableCorrelationNames() throws SQLException {
201 /***@todo Implement this java.sql.DatabaseMetaData method*/
202 throw new java.lang.UnsupportedOperationException("Method supportsDifferentTableCorrelationNames() not yet implemented.");
203 }
204 public boolean supportsExpressionsInOrderBy() throws SQLException {
205 /***@todo Implement this java.sql.DatabaseMetaData method*/
206 throw new java.lang.UnsupportedOperationException("Method supportsExpressionsInOrderBy() not yet implemented.");
207 }
208 public boolean supportsOrderByUnrelated() throws SQLException {
209 /***@todo Implement this java.sql.DatabaseMetaData method*/
210 throw new java.lang.UnsupportedOperationException("Method supportsOrderByUnrelated() not yet implemented.");
211 }
212 public boolean supportsGroupBy() throws SQLException {
213 /***@todo Implement this java.sql.DatabaseMetaData method*/
214 throw new java.lang.UnsupportedOperationException("Method supportsGroupBy() not yet implemented.");
215 }
216 public boolean supportsGroupByUnrelated() throws SQLException {
217 /***@todo Implement this java.sql.DatabaseMetaData method*/
218 throw new java.lang.UnsupportedOperationException("Method supportsGroupByUnrelated() not yet implemented.");
219 }
220 public boolean supportsGroupByBeyondSelect() throws SQLException {
221 /***@todo Implement this java.sql.DatabaseMetaData method*/
222 throw new java.lang.UnsupportedOperationException("Method supportsGroupByBeyondSelect() not yet implemented.");
223 }
224 public boolean supportsLikeEscapeClause() throws SQLException {
225 /***@todo Implement this java.sql.DatabaseMetaData method*/
226 throw new java.lang.UnsupportedOperationException("Method supportsLikeEscapeClause() not yet implemented.");
227 }
228 public boolean supportsMultipleResultSets() throws SQLException {
229 /***@todo Implement this java.sql.DatabaseMetaData method*/
230 throw new java.lang.UnsupportedOperationException("Method supportsMultipleResultSets() not yet implemented.");
231 }
232 public boolean supportsMultipleTransactions() throws SQLException {
233 /***@todo Implement this java.sql.DatabaseMetaData method*/
234 throw new java.lang.UnsupportedOperationException("Method supportsMultipleTransactions() not yet implemented.");
235 }
236 public boolean supportsNonNullableColumns() throws SQLException {
237 /***@todo Implement this java.sql.DatabaseMetaData method*/
238 throw new java.lang.UnsupportedOperationException("Method supportsNonNullableColumns() not yet implemented.");
239 }
240 public boolean supportsMinimumSQLGrammar() throws SQLException {
241 /***@todo Implement this java.sql.DatabaseMetaData method*/
242 throw new java.lang.UnsupportedOperationException("Method supportsMinimumSQLGrammar() not yet implemented.");
243 }
244 public boolean supportsCoreSQLGrammar() throws SQLException {
245 /***@todo Implement this java.sql.DatabaseMetaData method*/
246 throw new java.lang.UnsupportedOperationException("Method supportsCoreSQLGrammar() not yet implemented.");
247 }
248 public boolean supportsExtendedSQLGrammar() throws SQLException {
249 /***@todo Implement this java.sql.DatabaseMetaData method*/
250 throw new java.lang.UnsupportedOperationException("Method supportsExtendedSQLGrammar() not yet implemented.");
251 }
252 public boolean supportsANSI92EntryLevelSQL() throws SQLException {
253 /***@todo Implement this java.sql.DatabaseMetaData method*/
254 throw new java.lang.UnsupportedOperationException("Method supportsANSI92EntryLevelSQL() not yet implemented.");
255 }
256 public boolean supportsANSI92IntermediateSQL() throws SQLException {
257 /***@todo Implement this java.sql.DatabaseMetaData method*/
258 throw new java.lang.UnsupportedOperationException("Method supportsANSI92IntermediateSQL() not yet implemented.");
259 }
260 public boolean supportsANSI92FullSQL() throws SQLException {
261 /***@todo Implement this java.sql.DatabaseMetaData method*/
262 throw new java.lang.UnsupportedOperationException("Method supportsANSI92FullSQL() not yet implemented.");
263 }
264 public boolean supportsIntegrityEnhancementFacility() throws SQLException {
265 /***@todo Implement this java.sql.DatabaseMetaData method*/
266 throw new java.lang.UnsupportedOperationException("Method supportsIntegrityEnhancementFacility() not yet implemented.");
267 }
268 public boolean supportsOuterJoins() throws SQLException {
269 /***@todo Implement this java.sql.DatabaseMetaData method*/
270 throw new java.lang.UnsupportedOperationException("Method supportsOuterJoins() not yet implemented.");
271 }
272 public boolean supportsFullOuterJoins() throws SQLException {
273 /***@todo Implement this java.sql.DatabaseMetaData method*/
274 throw new java.lang.UnsupportedOperationException("Method supportsFullOuterJoins() not yet implemented.");
275 }
276 public boolean supportsLimitedOuterJoins() throws SQLException {
277 /***@todo Implement this java.sql.DatabaseMetaData method*/
278 throw new java.lang.UnsupportedOperationException("Method supportsLimitedOuterJoins() not yet implemented.");
279 }
280 public String getSchemaTerm() throws SQLException {
281 /***@todo Implement this java.sql.DatabaseMetaData method*/
282 throw new java.lang.UnsupportedOperationException("Method getSchemaTerm() not yet implemented.");
283 }
284 public String getProcedureTerm() throws SQLException {
285 /***@todo Implement this java.sql.DatabaseMetaData method*/
286 throw new java.lang.UnsupportedOperationException("Method getProcedureTerm() not yet implemented.");
287 }
288 public String getCatalogTerm() throws SQLException {
289 /***@todo Implement this java.sql.DatabaseMetaData method*/
290 throw new java.lang.UnsupportedOperationException("Method getCatalogTerm() not yet implemented.");
291 }
292 public boolean isCatalogAtStart() throws SQLException {
293 /***@todo Implement this java.sql.DatabaseMetaData method*/
294 throw new java.lang.UnsupportedOperationException("Method isCatalogAtStart() not yet implemented.");
295 }
296 public String getCatalogSeparator() throws SQLException {
297 /***@todo Implement this java.sql.DatabaseMetaData method*/
298 throw new java.lang.UnsupportedOperationException("Method getCatalogSeparator() not yet implemented.");
299 }
300 public boolean supportsSchemasInDataManipulation() throws SQLException {
301 /***@todo Implement this java.sql.DatabaseMetaData method*/
302 throw new java.lang.UnsupportedOperationException("Method supportsSchemasInDataManipulation() not yet implemented.");
303 }
304 public boolean supportsSchemasInProcedureCalls() throws SQLException {
305 /***@todo Implement this java.sql.DatabaseMetaData method*/
306 throw new java.lang.UnsupportedOperationException("Method supportsSchemasInProcedureCalls() not yet implemented.");
307 }
308 public boolean supportsSchemasInTableDefinitions() throws SQLException {
309 /***@todo Implement this java.sql.DatabaseMetaData method*/
310 throw new java.lang.UnsupportedOperationException("Method supportsSchemasInTableDefinitions() not yet implemented.");
311 }
312 public boolean supportsSchemasInIndexDefinitions() throws SQLException {
313 /***@todo Implement this java.sql.DatabaseMetaData method*/
314 throw new java.lang.UnsupportedOperationException("Method supportsSchemasInIndexDefinitions() not yet implemented.");
315 }
316 public boolean supportsSchemasInPrivilegeDefinitions() throws SQLException {
317 /***@todo Implement this java.sql.DatabaseMetaData method*/
318 throw new java.lang.UnsupportedOperationException("Method supportsSchemasInPrivilegeDefinitions() not yet implemented.");
319 }
320 public boolean supportsCatalogsInDataManipulation() throws SQLException {
321 /***@todo Implement this java.sql.DatabaseMetaData method*/
322 throw new java.lang.UnsupportedOperationException("Method supportsCatalogsInDataManipulation() not yet implemented.");
323 }
324 public boolean supportsCatalogsInProcedureCalls() throws SQLException {
325 /***@todo Implement this java.sql.DatabaseMetaData method*/
326 throw new java.lang.UnsupportedOperationException("Method supportsCatalogsInProcedureCalls() not yet implemented.");
327 }
328 public boolean supportsCatalogsInTableDefinitions() throws SQLException {
329 /***@todo Implement this java.sql.DatabaseMetaData method*/
330 throw new java.lang.UnsupportedOperationException("Method supportsCatalogsInTableDefinitions() not yet implemented.");
331 }
332 public boolean supportsCatalogsInIndexDefinitions() throws SQLException {
333 /***@todo Implement this java.sql.DatabaseMetaData method*/
334 throw new java.lang.UnsupportedOperationException("Method supportsCatalogsInIndexDefinitions() not yet implemented.");
335 }
336 public boolean supportsCatalogsInPrivilegeDefinitions() throws SQLException {
337 /***@todo Implement this java.sql.DatabaseMetaData method*/
338 throw new java.lang.UnsupportedOperationException("Method supportsCatalogsInPrivilegeDefinitions() not yet implemented.");
339 }
340 public boolean supportsPositionedDelete() throws SQLException {
341 /***@todo Implement this java.sql.DatabaseMetaData method*/
342 throw new java.lang.UnsupportedOperationException("Method supportsPositionedDelete() not yet implemented.");
343 }
344 public boolean supportsPositionedUpdate() throws SQLException {
345 /***@todo Implement this java.sql.DatabaseMetaData method*/
346 throw new java.lang.UnsupportedOperationException("Method supportsPositionedUpdate() not yet implemented.");
347 }
348 public boolean supportsSelectForUpdate() throws SQLException {
349 /***@todo Implement this java.sql.DatabaseMetaData method*/
350 throw new java.lang.UnsupportedOperationException("Method supportsSelectForUpdate() not yet implemented.");
351 }
352 public boolean supportsStoredProcedures() throws SQLException {
353 /***@todo Implement this java.sql.DatabaseMetaData method*/
354 throw new java.lang.UnsupportedOperationException("Method supportsStoredProcedures() not yet implemented.");
355 }
356 public boolean supportsSubqueriesInComparisons() throws SQLException {
357 /***@todo Implement this java.sql.DatabaseMetaData method*/
358 throw new java.lang.UnsupportedOperationException("Method supportsSubqueriesInComparisons() not yet implemented.");
359 }
360 public boolean supportsSubqueriesInExists() throws SQLException {
361 /***@todo Implement this java.sql.DatabaseMetaData method*/
362 throw new java.lang.UnsupportedOperationException("Method supportsSubqueriesInExists() not yet implemented.");
363 }
364 public boolean supportsSubqueriesInIns() throws SQLException {
365 /***@todo Implement this java.sql.DatabaseMetaData method*/
366 throw new java.lang.UnsupportedOperationException("Method supportsSubqueriesInIns() not yet implemented.");
367 }
368 public boolean supportsSubqueriesInQuantifieds() throws SQLException {
369 /***@todo Implement this java.sql.DatabaseMetaData method*/
370 throw new java.lang.UnsupportedOperationException("Method supportsSubqueriesInQuantifieds() not yet implemented.");
371 }
372 public boolean supportsCorrelatedSubqueries() throws SQLException {
373 /***@todo Implement this java.sql.DatabaseMetaData method*/
374 throw new java.lang.UnsupportedOperationException("Method supportsCorrelatedSubqueries() not yet implemented.");
375 }
376 public boolean supportsUnion() throws SQLException {
377 /***@todo Implement this java.sql.DatabaseMetaData method*/
378 throw new java.lang.UnsupportedOperationException("Method supportsUnion() not yet implemented.");
379 }
380 public boolean supportsUnionAll() throws SQLException {
381 /***@todo Implement this java.sql.DatabaseMetaData method*/
382 throw new java.lang.UnsupportedOperationException("Method supportsUnionAll() not yet implemented.");
383 }
384 public boolean supportsOpenCursorsAcrossCommit() throws SQLException {
385 /***@todo Implement this java.sql.DatabaseMetaData method*/
386 throw new java.lang.UnsupportedOperationException("Method supportsOpenCursorsAcrossCommit() not yet implemented.");
387 }
388 public boolean supportsOpenCursorsAcrossRollback() throws SQLException {
389 /***@todo Implement this java.sql.DatabaseMetaData method*/
390 throw new java.lang.UnsupportedOperationException("Method supportsOpenCursorsAcrossRollback() not yet implemented.");
391 }
392 public boolean supportsOpenStatementsAcrossCommit() throws SQLException {
393 /***@todo Implement this java.sql.DatabaseMetaData method*/
394 throw new java.lang.UnsupportedOperationException("Method supportsOpenStatementsAcrossCommit() not yet implemented.");
395 }
396 public boolean supportsOpenStatementsAcrossRollback() throws SQLException {
397 /***@todo Implement this java.sql.DatabaseMetaData method*/
398 throw new java.lang.UnsupportedOperationException("Method supportsOpenStatementsAcrossRollback() not yet implemented.");
399 }
400 public int getMaxBinaryLiteralLength() throws SQLException {
401 /***@todo Implement this java.sql.DatabaseMetaData method*/
402 throw new java.lang.UnsupportedOperationException("Method getMaxBinaryLiteralLength() not yet implemented.");
403 }
404 public int getMaxCharLiteralLength() throws SQLException {
405 /***@todo Implement this java.sql.DatabaseMetaData method*/
406 throw new java.lang.UnsupportedOperationException("Method getMaxCharLiteralLength() not yet implemented.");
407 }
408 public int getMaxColumnNameLength() throws SQLException {
409 /***@todo Implement this java.sql.DatabaseMetaData method*/
410 throw new java.lang.UnsupportedOperationException("Method getMaxColumnNameLength() not yet implemented.");
411 }
412 public int getMaxColumnsInGroupBy() throws SQLException {
413 /***@todo Implement this java.sql.DatabaseMetaData method*/
414 throw new java.lang.UnsupportedOperationException("Method getMaxColumnsInGroupBy() not yet implemented.");
415 }
416 public int getMaxColumnsInIndex() throws SQLException {
417 /***@todo Implement this java.sql.DatabaseMetaData method*/
418 throw new java.lang.UnsupportedOperationException("Method getMaxColumnsInIndex() not yet implemented.");
419 }
420 public int getMaxColumnsInOrderBy() throws SQLException {
421 /***@todo Implement this java.sql.DatabaseMetaData method*/
422 throw new java.lang.UnsupportedOperationException("Method getMaxColumnsInOrderBy() not yet implemented.");
423 }
424 public int getMaxColumnsInSelect() throws SQLException {
425 /***@todo Implement this java.sql.DatabaseMetaData method*/
426 throw new java.lang.UnsupportedOperationException("Method getMaxColumnsInSelect() not yet implemented.");
427 }
428 public int getMaxColumnsInTable() throws SQLException {
429 /***@todo Implement this java.sql.DatabaseMetaData method*/
430 throw new java.lang.UnsupportedOperationException("Method getMaxColumnsInTable() not yet implemented.");
431 }
432 public int getMaxConnections() throws SQLException {
433 /***@todo Implement this java.sql.DatabaseMetaData method*/
434 throw new java.lang.UnsupportedOperationException("Method getMaxConnections() not yet implemented.");
435 }
436 public int getMaxCursorNameLength() throws SQLException {
437 /***@todo Implement this java.sql.DatabaseMetaData method*/
438 throw new java.lang.UnsupportedOperationException("Method getMaxCursorNameLength() not yet implemented.");
439 }
440 public int getMaxIndexLength() throws SQLException {
441 /***@todo Implement this java.sql.DatabaseMetaData method*/
442 throw new java.lang.UnsupportedOperationException("Method getMaxIndexLength() not yet implemented.");
443 }
444 public int getMaxSchemaNameLength() throws SQLException {
445 /***@todo Implement this java.sql.DatabaseMetaData method*/
446 throw new java.lang.UnsupportedOperationException("Method getMaxSchemaNameLength() not yet implemented.");
447 }
448 public int getMaxProcedureNameLength() throws SQLException {
449 /***@todo Implement this java.sql.DatabaseMetaData method*/
450 throw new java.lang.UnsupportedOperationException("Method getMaxProcedureNameLength() not yet implemented.");
451 }
452 public int getMaxCatalogNameLength() throws SQLException {
453 /***@todo Implement this java.sql.DatabaseMetaData method*/
454 throw new java.lang.UnsupportedOperationException("Method getMaxCatalogNameLength() not yet implemented.");
455 }
456 public int getMaxRowSize() throws SQLException {
457 /***@todo Implement this java.sql.DatabaseMetaData method*/
458 throw new java.lang.UnsupportedOperationException("Method getMaxRowSize() not yet implemented.");
459 }
460 public boolean doesMaxRowSizeIncludeBlobs() throws SQLException {
461 /***@todo Implement this java.sql.DatabaseMetaData method*/
462 throw new java.lang.UnsupportedOperationException("Method doesMaxRowSizeIncludeBlobs() not yet implemented.");
463 }
464 public int getMaxStatementLength() throws SQLException {
465 /***@todo Implement this java.sql.DatabaseMetaData method*/
466 throw new java.lang.UnsupportedOperationException("Method getMaxStatementLength() not yet implemented.");
467 }
468 public int getMaxStatements() throws SQLException {
469 /***@todo Implement this java.sql.DatabaseMetaData method*/
470 throw new java.lang.UnsupportedOperationException("Method getMaxStatements() not yet implemented.");
471 }
472 public int getMaxTableNameLength() throws SQLException {
473 /***@todo Implement this java.sql.DatabaseMetaData method*/
474 throw new java.lang.UnsupportedOperationException("Method getMaxTableNameLength() not yet implemented.");
475 }
476 public int getMaxTablesInSelect() throws SQLException {
477 /***@todo Implement this java.sql.DatabaseMetaData method*/
478 throw new java.lang.UnsupportedOperationException("Method getMaxTablesInSelect() not yet implemented.");
479 }
480 public int getMaxUserNameLength() throws SQLException {
481 /***@todo Implement this java.sql.DatabaseMetaData method*/
482 throw new java.lang.UnsupportedOperationException("Method getMaxUserNameLength() not yet implemented.");
483 }
484 public int getDefaultTransactionIsolation() throws SQLException {
485 /***@todo Implement this java.sql.DatabaseMetaData method*/
486 throw new java.lang.UnsupportedOperationException("Method getDefaultTransactionIsolation() not yet implemented.");
487 }
488 public boolean supportsTransactions() throws SQLException {
489 /***@todo Implement this java.sql.DatabaseMetaData method*/
490 throw new java.lang.UnsupportedOperationException("Method supportsTransactions() not yet implemented.");
491 }
492 public boolean supportsTransactionIsolationLevel(int level) throws SQLException {
493 /***@todo Implement this java.sql.DatabaseMetaData method*/
494 throw new java.lang.UnsupportedOperationException("Method supportsTransactionIsolationLevel() not yet implemented.");
495 }
496 public boolean supportsDataDefinitionAndDataManipulationTransactions() throws SQLException {
497 /***@todo Implement this java.sql.DatabaseMetaData method*/
498 throw new java.lang.UnsupportedOperationException("Method supportsDataDefinitionAndDataManipulationTransactions() not yet implemented.");
499 }
500 public boolean supportsDataManipulationTransactionsOnly() throws SQLException {
501 /***@todo Implement this java.sql.DatabaseMetaData method*/
502 throw new java.lang.UnsupportedOperationException("Method supportsDataManipulationTransactionsOnly() not yet implemented.");
503 }
504 public boolean dataDefinitionCausesTransactionCommit() throws SQLException {
505 /***@todo Implement this java.sql.DatabaseMetaData method*/
506 throw new java.lang.UnsupportedOperationException("Method dataDefinitionCausesTransactionCommit() not yet implemented.");
507 }
508 public boolean dataDefinitionIgnoredInTransactions() throws SQLException {
509 /***@todo Implement this java.sql.DatabaseMetaData method*/
510 throw new java.lang.UnsupportedOperationException("Method dataDefinitionIgnoredInTransactions() not yet implemented.");
511 }
512 public ResultSet getProcedures(String catalog, String schemaPattern, String procedureNamePattern) throws SQLException {
513 /***@todo Implement this java.sql.DatabaseMetaData method*/
514 throw new java.lang.UnsupportedOperationException("Method getProcedures() not yet implemented.");
515 }
516 public ResultSet getProcedureColumns(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern) throws SQLException {
517 /***@todo Implement this java.sql.DatabaseMetaData method*/
518 throw new java.lang.UnsupportedOperationException("Method getProcedureColumns() not yet implemented.");
519 }
520 public ResultSet getTables(String catalog, String schemaPattern, String tableNamePattern, String[] types) throws SQLException {
521 XmlReader reader = new XmlReader( xmlConnection.getPath() );
522 String[] columnNames = { "TableName" };
523 XmlResultSet rset = new XmlResultSet(null, reader, null, columnNames, null, null);
524 rset.selectTableNames();
525 return rset;
526 }
527 public ResultSet getSchemas() throws SQLException {
528 /***@todo Implement this java.sql.DatabaseMetaData method*/
529 throw new java.lang.UnsupportedOperationException("Method getSchemas() not yet implemented.");
530 }
531 public ResultSet getCatalogs() throws SQLException {
532 /***@todo Implement this java.sql.DatabaseMetaData method*/
533 throw new java.lang.UnsupportedOperationException("Method getCatalogs() not yet implemented.");
534 }
535 public ResultSet getTableTypes() throws SQLException {
536 /***@todo Implement this java.sql.DatabaseMetaData method*/
537 throw new java.lang.UnsupportedOperationException("Method getTableTypes() not yet implemented.");
538 }
539 public ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException {
540 /***@todo Implement this java.sql.DatabaseMetaData method*/
541 throw new java.lang.UnsupportedOperationException("Method getColumns() not yet implemented.");
542 }
543 public ResultSet getColumnPrivileges(String catalog, String schema, String table, String columnNamePattern) throws SQLException {
544 /***@todo Implement this java.sql.DatabaseMetaData method*/
545 throw new java.lang.UnsupportedOperationException("Method getColumnPrivileges() not yet implemented.");
546 }
547 public ResultSet getTablePrivileges(String catalog, String schemaPattern, String tableNamePattern) throws SQLException {
548 /***@todo Implement this java.sql.DatabaseMetaData method*/
549 throw new java.lang.UnsupportedOperationException("Method getTablePrivileges() not yet implemented.");
550 }
551 public ResultSet getBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable) throws SQLException {
552 /***@todo Implement this java.sql.DatabaseMetaData method*/
553 throw new java.lang.UnsupportedOperationException("Method getBestRowIdentifier() not yet implemented.");
554 }
555 public ResultSet getVersionColumns(String catalog, String schema, String table) throws SQLException {
556 /***@todo Implement this java.sql.DatabaseMetaData method*/
557 throw new java.lang.UnsupportedOperationException("Method getVersionColumns() not yet implemented.");
558 }
559 public ResultSet getPrimaryKeys(String catalog, String schema, String table) throws SQLException {
560 /***@todo Implement this java.sql.DatabaseMetaData method*/
561 throw new java.lang.UnsupportedOperationException("Method getPrimaryKeys() not yet implemented.");
562 }
563 public ResultSet getImportedKeys(String catalog, String schema, String table) throws SQLException {
564 /***@todo Implement this java.sql.DatabaseMetaData method*/
565 throw new java.lang.UnsupportedOperationException("Method getImportedKeys() not yet implemented.");
566 }
567 public ResultSet getExportedKeys(String catalog, String schema, String table) throws SQLException {
568 /***@todo Implement this java.sql.DatabaseMetaData method*/
569 throw new java.lang.UnsupportedOperationException("Method getExportedKeys() not yet implemented.");
570 }
571 public ResultSet getCrossReference(String primaryCatalog, String primarySchema, String primaryTable, String foreignCatalog, String foreignSchema, String foreignTable) throws SQLException {
572 /***@todo Implement this java.sql.DatabaseMetaData method*/
573 throw new java.lang.UnsupportedOperationException("Method getCrossReference() not yet implemented.");
574 }
575 public ResultSet getTypeInfo() throws SQLException {
576 /***@todo Implement this java.sql.DatabaseMetaData method*/
577 throw new java.lang.UnsupportedOperationException("Method getTypeInfo() not yet implemented.");
578 }
579 public ResultSet getIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate) throws SQLException {
580 /***@todo Implement this java.sql.DatabaseMetaData method*/
581 throw new java.lang.UnsupportedOperationException("Method getIndexInfo() not yet implemented.");
582 }
583 public boolean supportsResultSetType(int type) throws SQLException {
584 /***@todo Implement this java.sql.DatabaseMetaData method*/
585 throw new java.lang.UnsupportedOperationException("Method supportsResultSetType() not yet implemented.");
586 }
587 public boolean supportsResultSetConcurrency(int type, int concurrency) throws SQLException {
588 /***@todo Implement this java.sql.DatabaseMetaData method*/
589 throw new java.lang.UnsupportedOperationException("Method supportsResultSetConcurrency() not yet implemented.");
590 }
591 public boolean ownUpdatesAreVisible(int type) throws SQLException {
592 /***@todo Implement this java.sql.DatabaseMetaData method*/
593 throw new java.lang.UnsupportedOperationException("Method ownUpdatesAreVisible() not yet implemented.");
594 }
595 public boolean ownDeletesAreVisible(int type) throws SQLException {
596 /***@todo Implement this java.sql.DatabaseMetaData method*/
597 throw new java.lang.UnsupportedOperationException("Method ownDeletesAreVisible() not yet implemented.");
598 }
599 public boolean ownInsertsAreVisible(int type) throws SQLException {
600 /***@todo Implement this java.sql.DatabaseMetaData method*/
601 throw new java.lang.UnsupportedOperationException("Method ownInsertsAreVisible() not yet implemented.");
602 }
603 public boolean othersUpdatesAreVisible(int type) throws SQLException {
604 /***@todo Implement this java.sql.DatabaseMetaData method*/
605 throw new java.lang.UnsupportedOperationException("Method othersUpdatesAreVisible() not yet implemented.");
606 }
607 public boolean othersDeletesAreVisible(int type) throws SQLException {
608 /***@todo Implement this java.sql.DatabaseMetaData method*/
609 throw new java.lang.UnsupportedOperationException("Method othersDeletesAreVisible() not yet implemented.");
610 }
611 public boolean othersInsertsAreVisible(int type) throws SQLException {
612 /***@todo Implement this java.sql.DatabaseMetaData method*/
613 throw new java.lang.UnsupportedOperationException("Method othersInsertsAreVisible() not yet implemented.");
614 }
615 public boolean updatesAreDetected(int type) throws SQLException {
616 /***@todo Implement this java.sql.DatabaseMetaData method*/
617 throw new java.lang.UnsupportedOperationException("Method updatesAreDetected() not yet implemented.");
618 }
619 public boolean deletesAreDetected(int type) throws SQLException {
620 /***@todo Implement this java.sql.DatabaseMetaData method*/
621 throw new java.lang.UnsupportedOperationException("Method deletesAreDetected() not yet implemented.");
622 }
623 public boolean insertsAreDetected(int type) throws SQLException {
624 /***@todo Implement this java.sql.DatabaseMetaData method*/
625 throw new java.lang.UnsupportedOperationException("Method insertsAreDetected() not yet implemented.");
626 }
627 public boolean supportsBatchUpdates() throws SQLException {
628 /***@todo Implement this java.sql.DatabaseMetaData method*/
629 throw new java.lang.UnsupportedOperationException("Method supportsBatchUpdates() not yet implemented.");
630 }
631 public ResultSet getUDTs(String catalog, String schemaPattern, String typeNamePattern, int[] types) throws SQLException {
632 /***@todo Implement this java.sql.DatabaseMetaData method*/
633 throw new java.lang.UnsupportedOperationException("Method getUDTs() not yet implemented.");
634 }
635 public Connection getConnection() throws SQLException {
636 /***@todo Implement this java.sql.DatabaseMetaData method*/
637 throw new java.lang.UnsupportedOperationException("Method getConnection() not yet implemented.");
638 }
639 public boolean supportsSavepoints() throws SQLException {
640 /***@todo Implement this java.sql.DatabaseMetaData method*/
641 throw new java.lang.UnsupportedOperationException("Method supportsSavepoints() not yet implemented.");
642 }
643 public boolean supportsNamedParameters() throws SQLException {
644 /***@todo Implement this java.sql.DatabaseMetaData method*/
645 throw new java.lang.UnsupportedOperationException("Method supportsNamedParameters() not yet implemented.");
646 }
647 public boolean supportsMultipleOpenResults() throws SQLException {
648 /***@todo Implement this java.sql.DatabaseMetaData method*/
649 throw new java.lang.UnsupportedOperationException("Method supportsMultipleOpenResults() not yet implemented.");
650 }
651 public boolean supportsGetGeneratedKeys() throws SQLException {
652 /***@todo Implement this java.sql.DatabaseMetaData method*/
653 throw new java.lang.UnsupportedOperationException("Method supportsGetGeneratedKeys() not yet implemented.");
654 }
655 public ResultSet getSuperTypes(String catalog, String schemaPattern, String typeNamePattern) throws SQLException {
656 /***@todo Implement this java.sql.DatabaseMetaData method*/
657 throw new java.lang.UnsupportedOperationException("Method getSuperTypes() not yet implemented.");
658 }
659 public ResultSet getSuperTables(String catalog, String schemaPattern, String tableNamePattern) throws SQLException {
660 /***@todo Implement this java.sql.DatabaseMetaData method*/
661 throw new java.lang.UnsupportedOperationException("Method getSuperTables() not yet implemented.");
662 }
663 public ResultSet getAttributes(String catalog, String schemaPattern, String typeNamePattern, String attributeNamePattern) throws SQLException {
664 /***@todo Implement this java.sql.DatabaseMetaData method*/
665 throw new java.lang.UnsupportedOperationException("Method getAttributes() not yet implemented.");
666 }
667 public boolean supportsResultSetHoldability(int holdability) throws SQLException {
668 /***@todo Implement this java.sql.DatabaseMetaData method*/
669 throw new java.lang.UnsupportedOperationException("Method supportsResultSetHoldability() not yet implemented.");
670 }
671 public int getResultSetHoldability() throws SQLException {
672 /***@todo Implement this java.sql.DatabaseMetaData method*/
673 throw new java.lang.UnsupportedOperationException("Method getResultSetHoldability() not yet implemented.");
674 }
675 public int getDatabaseMajorVersion() throws SQLException {
676 /***@todo Implement this java.sql.DatabaseMetaData method*/
677 throw new java.lang.UnsupportedOperationException("Method getDatabaseMajorVersion() not yet implemented.");
678 }
679 public int getDatabaseMinorVersion() throws SQLException {
680 /***@todo Implement this java.sql.DatabaseMetaData method*/
681 throw new java.lang.UnsupportedOperationException("Method getDatabaseMinorVersion() not yet implemented.");
682 }
683 public int getJDBCMajorVersion() throws SQLException {
684 /***@todo Implement this java.sql.DatabaseMetaData method*/
685 throw new java.lang.UnsupportedOperationException("Method getJDBCMajorVersion() not yet implemented.");
686 }
687 public int getJDBCMinorVersion() throws SQLException {
688 /***@todo Implement this java.sql.DatabaseMetaData method*/
689 throw new java.lang.UnsupportedOperationException("Method getJDBCMinorVersion() not yet implemented.");
690 }
691 public int getSQLStateType() throws SQLException {
692 /***@todo Implement this java.sql.DatabaseMetaData method*/
693 throw new java.lang.UnsupportedOperationException("Method getSQLStateType() not yet implemented.");
694 }
695 public boolean locatorsUpdateCopy() throws SQLException {
696 /***@todo Implement this java.sql.DatabaseMetaData method*/
697 throw new java.lang.UnsupportedOperationException("Method locatorsUpdateCopy() not yet implemented.");
698 }
699 public boolean supportsStatementPooling() throws SQLException {
700 /***@todo Implement this java.sql.DatabaseMetaData method*/
701 throw new java.lang.UnsupportedOperationException("Method supportsStatementPooling() not yet implemented.");
702 }
703 }
This page was automatically generated by Maven