tdf#154285 Check upper bound of arguments in SbRtl_Minute function
[LibreOffice.git] / odk / examples / DevelopersGuide / Database / DriverSkeleton / SDatabaseMetaData.cxx
blob7bba5be082258ac092684dcf432f03d276f233af
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * The Contents of this file are made available subject to the terms of
5 * the BSD license.
7 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * All rights reserved.
10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions
12 * are met:
13 * 1. Redistributions of source code must retain the above copyright
14 * notice, this list of conditions and the following disclaimer.
15 * 2. Redistributions in binary form must reproduce the above copyright
16 * notice, this list of conditions and the following disclaimer in the
17 * documentation and/or other materials provided with the distribution.
18 * 3. Neither the name of Sun Microsystems, Inc. nor the names of its
19 * contributors may be used to endorse or promote products derived
20 * from this software without specific prior written permission.
22 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
23 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
25 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
26 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
27 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
28 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
29 * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
31 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
32 * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34 *************************************************************************/
36 #include "SDatabaseMetaData.hxx"
37 #include <com/sun/star/sdbc/DataType.hpp>
38 #include <com/sun/star/sdbc/ResultSetType.hpp>
39 #include <com/sun/star/sdbc/ResultSetConcurrency.hpp>
40 #include <com/sun/star/sdbc/TransactionIsolation.hpp>
42 using namespace connectivity::skeleton;
43 using namespace com::sun::star::uno;
44 using namespace com::sun::star::lang;
45 using namespace com::sun::star::beans;
46 using namespace com::sun::star::sdbc;
48 ODatabaseMetaData::ODatabaseMetaData(OConnection* _pCon)
49 : m_pConnection(_pCon)
50 , m_bUseCatalog(sal_True)
52 OSL_ENSURE(m_pConnection,"ODatabaseMetaData::ODatabaseMetaData: No connection set!");
53 if(!m_pConnection->isCatalogUsed())
55 osl_atomic_increment( &m_refCount );
56 m_bUseCatalog = !(usesLocalFiles() || usesLocalFilePerTable());
57 osl_atomic_decrement( &m_refCount );
61 ODatabaseMetaData::~ODatabaseMetaData()
65 ::rtl::OUString SAL_CALL ODatabaseMetaData::getCatalogSeparator( )
67 ::rtl::OUString aVal;
68 if(m_bUseCatalog)
69 { // do some special here for you database
72 return aVal;
75 sal_Int32 SAL_CALL ODatabaseMetaData::getMaxBinaryLiteralLength( )
77 sal_Int32 nValue = 0; // 0 means no limit
78 return nValue;
81 sal_Int32 SAL_CALL ODatabaseMetaData::getMaxRowSize( )
83 sal_Int32 nValue = 0; // 0 means no limit
84 return nValue;
87 sal_Int32 SAL_CALL ODatabaseMetaData::getMaxCatalogNameLength( )
89 sal_Int32 nValue = 0; // 0 means no limit
90 return nValue;
93 sal_Int32 SAL_CALL ODatabaseMetaData::getMaxCharLiteralLength( )
95 sal_Int32 nValue = 0; // 0 means no limit
96 return nValue;
99 sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnNameLength( )
101 sal_Int32 nValue = 0; // 0 means no limit
102 return nValue;
105 sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInIndex( )
107 sal_Int32 nValue = 0; // 0 means no limit
108 return nValue;
111 sal_Int32 SAL_CALL ODatabaseMetaData::getMaxCursorNameLength( )
113 sal_Int32 nValue = 0; // 0 means no limit
114 return nValue;
117 sal_Int32 SAL_CALL ODatabaseMetaData::getMaxConnections( )
119 sal_Int32 nValue = 0; // 0 means no limit
120 return nValue;
123 sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInTable( )
125 sal_Int32 nValue = 0; // 0 means no limit
126 return nValue;
129 sal_Int32 SAL_CALL ODatabaseMetaData::getMaxStatementLength( )
131 sal_Int32 nValue = 0; // 0 means no limit
132 return nValue;
135 sal_Int32 SAL_CALL ODatabaseMetaData::getMaxTableNameLength( )
137 sal_Int32 nValue = 0; // 0 means no limit
138 return nValue;
141 sal_Int32 SAL_CALL ODatabaseMetaData::getMaxTablesInSelect( )
143 sal_Int32 nValue = 0; // 0 means no limit
144 return nValue;
148 sal_Bool SAL_CALL ODatabaseMetaData::doesMaxRowSizeIncludeBlobs( )
150 return sal_False;
153 sal_Bool SAL_CALL ODatabaseMetaData::storesLowerCaseQuotedIdentifiers( )
155 return sal_False;
158 sal_Bool SAL_CALL ODatabaseMetaData::storesLowerCaseIdentifiers( )
160 return sal_False;
163 sal_Bool SAL_CALL ODatabaseMetaData::storesMixedCaseQuotedIdentifiers( )
165 return sal_False;
168 sal_Bool SAL_CALL ODatabaseMetaData::storesMixedCaseIdentifiers( )
170 return sal_False;
173 sal_Bool SAL_CALL ODatabaseMetaData::storesUpperCaseQuotedIdentifiers( )
175 return sal_False;
178 sal_Bool SAL_CALL ODatabaseMetaData::storesUpperCaseIdentifiers( )
180 return sal_False;
183 sal_Bool SAL_CALL ODatabaseMetaData::supportsAlterTableWithAddColumn( )
185 return sal_False;
188 sal_Bool SAL_CALL ODatabaseMetaData::supportsAlterTableWithDropColumn( )
190 return sal_False;
193 sal_Int32 SAL_CALL ODatabaseMetaData::getMaxIndexLength( )
195 sal_Int32 nValue = 0; // 0 means no limit
196 return nValue;
199 sal_Bool SAL_CALL ODatabaseMetaData::supportsNonNullableColumns( )
201 return sal_False;
204 ::rtl::OUString SAL_CALL ODatabaseMetaData::getCatalogTerm( )
206 ::rtl::OUString aVal;
207 if(m_bUseCatalog)
210 return aVal;
213 ::rtl::OUString SAL_CALL ODatabaseMetaData::getIdentifierQuoteString( )
215 // normally this is "
216 ::rtl::OUString aVal("\"");
217 return aVal;
220 ::rtl::OUString SAL_CALL ODatabaseMetaData::getExtraNameCharacters( )
222 ::rtl::OUString aVal;
223 return aVal;
226 sal_Bool SAL_CALL ODatabaseMetaData::supportsDifferentTableCorrelationNames( )
228 return sal_False;
231 sal_Bool SAL_CALL ODatabaseMetaData::isCatalogAtStart( )
233 sal_Bool bValue = sal_False;
234 if(m_bUseCatalog)
237 return bValue;
240 sal_Bool SAL_CALL ODatabaseMetaData::dataDefinitionIgnoredInTransactions( )
242 return sal_True;
245 sal_Bool SAL_CALL ODatabaseMetaData::dataDefinitionCausesTransactionCommit( )
247 return sal_True;
250 sal_Bool SAL_CALL ODatabaseMetaData::supportsDataManipulationTransactionsOnly( )
252 return sal_True;
255 sal_Bool SAL_CALL ODatabaseMetaData::supportsDataDefinitionAndDataManipulationTransactions( )
257 return sal_True;
260 sal_Bool SAL_CALL ODatabaseMetaData::supportsPositionedDelete( )
262 return sal_False;
265 sal_Bool SAL_CALL ODatabaseMetaData::supportsPositionedUpdate( )
267 return sal_False;
270 sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenStatementsAcrossRollback( )
272 return sal_False;
275 sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenStatementsAcrossCommit( )
277 return sal_False;
280 sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenCursorsAcrossCommit( )
282 return sal_False;
285 sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenCursorsAcrossRollback( )
287 return sal_False;
290 sal_Bool SAL_CALL ODatabaseMetaData::supportsTransactionIsolationLevel( sal_Int32 level )
292 return sal_False;
295 sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInDataManipulation( )
297 return sal_False;
300 sal_Bool SAL_CALL ODatabaseMetaData::supportsANSI92FullSQL( )
302 return sal_False;
305 sal_Bool SAL_CALL ODatabaseMetaData::supportsANSI92EntryLevelSQL( )
307 return sal_True; // should be supported at least
310 sal_Bool SAL_CALL ODatabaseMetaData::supportsIntegrityEnhancementFacility( )
312 return sal_False;
315 sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInIndexDefinitions( )
317 return sal_False;
320 sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInTableDefinitions( )
322 return sal_False;
325 sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInTableDefinitions( )
327 return sal_False;
330 sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInIndexDefinitions( )
332 return sal_False;
335 sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInDataManipulation( )
337 return sal_False;
340 sal_Bool SAL_CALL ODatabaseMetaData::supportsOuterJoins( )
342 return sal_False;
345 sal_Int32 SAL_CALL ODatabaseMetaData::getMaxStatements( )
347 sal_Int32 nValue = 0; // 0 means no limit
348 return nValue;
351 sal_Int32 SAL_CALL ODatabaseMetaData::getMaxProcedureNameLength( )
353 sal_Int32 nValue = 0; // 0 means no limit
354 return nValue;
357 sal_Int32 SAL_CALL ODatabaseMetaData::getMaxSchemaNameLength( )
359 sal_Int32 nValue = 0; // 0 means no limit
360 return nValue;
363 sal_Bool SAL_CALL ODatabaseMetaData::supportsTransactions( )
365 return sal_False;
368 sal_Bool SAL_CALL ODatabaseMetaData::allProceduresAreCallable( )
370 return sal_False;
373 sal_Bool SAL_CALL ODatabaseMetaData::supportsStoredProcedures( )
375 return sal_False;
378 sal_Bool SAL_CALL ODatabaseMetaData::supportsSelectForUpdate( )
380 return sal_False;
383 sal_Bool SAL_CALL ODatabaseMetaData::allTablesAreSelectable( )
385 return sal_False;
388 sal_Bool SAL_CALL ODatabaseMetaData::isReadOnly( )
390 return sal_False;
393 sal_Bool SAL_CALL ODatabaseMetaData::usesLocalFiles( )
395 return sal_False;
398 sal_Bool SAL_CALL ODatabaseMetaData::usesLocalFilePerTable( )
400 return sal_False;
403 sal_Bool SAL_CALL ODatabaseMetaData::supportsTypeConversion( )
405 return sal_False;
408 sal_Bool SAL_CALL ODatabaseMetaData::nullPlusNonNullIsNull( )
410 return sal_False;
413 sal_Bool SAL_CALL ODatabaseMetaData::supportsColumnAliasing( )
415 return sal_False;
418 sal_Bool SAL_CALL ODatabaseMetaData::supportsTableCorrelationNames( )
420 return sal_False;
423 sal_Bool SAL_CALL ODatabaseMetaData::supportsConvert( sal_Int32 fromType, sal_Int32 toType )
425 return sal_False;
428 sal_Bool SAL_CALL ODatabaseMetaData::supportsExpressionsInOrderBy( )
430 return sal_False;
433 sal_Bool SAL_CALL ODatabaseMetaData::supportsGroupBy( )
435 return sal_False;
438 sal_Bool SAL_CALL ODatabaseMetaData::supportsGroupByBeyondSelect( )
440 return sal_False;
443 sal_Bool SAL_CALL ODatabaseMetaData::supportsGroupByUnrelated( )
445 return sal_False;
448 sal_Bool SAL_CALL ODatabaseMetaData::supportsMultipleTransactions( )
450 return sal_False;
453 sal_Bool SAL_CALL ODatabaseMetaData::supportsMultipleResultSets( )
455 return sal_False;
458 sal_Bool SAL_CALL ODatabaseMetaData::supportsLikeEscapeClause( )
460 return sal_False;
463 sal_Bool SAL_CALL ODatabaseMetaData::supportsOrderByUnrelated( )
465 return sal_False;
468 sal_Bool SAL_CALL ODatabaseMetaData::supportsUnion( )
470 return sal_False;
473 sal_Bool SAL_CALL ODatabaseMetaData::supportsUnionAll( )
475 return sal_False;
478 sal_Bool SAL_CALL ODatabaseMetaData::supportsMixedCaseIdentifiers( )
480 return sal_False;
483 sal_Bool SAL_CALL ODatabaseMetaData::supportsMixedCaseQuotedIdentifiers( )
485 return sal_False;
488 sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedAtEnd( )
490 return sal_False;
493 sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedAtStart( )
495 return sal_False;
498 sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedHigh( )
500 return sal_False;
503 sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedLow( )
505 return sal_False;
508 sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInProcedureCalls( )
510 return sal_False;
513 sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInPrivilegeDefinitions( )
515 return sal_False;
518 sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInProcedureCalls( )
520 return sal_False;
523 sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInPrivilegeDefinitions( )
525 return sal_False;
528 sal_Bool SAL_CALL ODatabaseMetaData::supportsCorrelatedSubqueries( )
530 return sal_False;
533 sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInComparisons( )
535 return sal_False;
538 sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInExists( )
540 return sal_False;
543 sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInIns( )
545 return sal_False;
548 sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInQuantifieds( )
550 return sal_False;
553 sal_Bool SAL_CALL ODatabaseMetaData::supportsANSI92IntermediateSQL( )
555 return sal_False;
558 ::rtl::OUString SAL_CALL ODatabaseMetaData::getURL( )
560 ::rtl::OUString aValue("sdbc:skeleton:");
561 return aValue;
564 ::rtl::OUString SAL_CALL ODatabaseMetaData::getUserName( )
566 ::rtl::OUString aValue;
567 return aValue;
570 ::rtl::OUString SAL_CALL ODatabaseMetaData::getDriverName( )
572 ::rtl::OUString aValue;
573 return aValue;
576 ::rtl::OUString SAL_CALL ODatabaseMetaData::getDriverVersion()
578 ::rtl::OUString aValue;
579 return aValue;
582 ::rtl::OUString SAL_CALL ODatabaseMetaData::getDatabaseProductVersion( )
584 ::rtl::OUString aValue;
585 return aValue;
588 ::rtl::OUString SAL_CALL ODatabaseMetaData::getDatabaseProductName( )
590 ::rtl::OUString aValue;
591 return aValue;
594 ::rtl::OUString SAL_CALL ODatabaseMetaData::getProcedureTerm( )
596 ::rtl::OUString aValue;
597 return aValue;
600 ::rtl::OUString SAL_CALL ODatabaseMetaData::getSchemaTerm( )
602 ::rtl::OUString aValue;
603 return aValue;
606 sal_Int32 SAL_CALL ODatabaseMetaData::getDriverMajorVersion( )
608 return 1;
611 sal_Int32 SAL_CALL ODatabaseMetaData::getDefaultTransactionIsolation( )
613 return TransactionIsolation::NONE;
616 sal_Int32 SAL_CALL ODatabaseMetaData::getDriverMinorVersion( )
618 return 0;
621 ::rtl::OUString SAL_CALL ODatabaseMetaData::getSQLKeywords( )
623 ::rtl::OUString aValue;
624 return aValue;
627 ::rtl::OUString SAL_CALL ODatabaseMetaData::getSearchStringEscape( )
629 ::rtl::OUString aValue;
630 return aValue;
633 ::rtl::OUString SAL_CALL ODatabaseMetaData::getStringFunctions( )
635 return ::rtl::OUString();
638 ::rtl::OUString SAL_CALL ODatabaseMetaData::getTimeDateFunctions( )
640 return ::rtl::OUString();
643 ::rtl::OUString SAL_CALL ODatabaseMetaData::getSystemFunctions( )
645 return ::rtl::OUString();
648 ::rtl::OUString SAL_CALL ODatabaseMetaData::getNumericFunctions( )
650 return ::rtl::OUString();
653 sal_Bool SAL_CALL ODatabaseMetaData::supportsExtendedSQLGrammar( )
655 return sal_False;
658 sal_Bool SAL_CALL ODatabaseMetaData::supportsCoreSQLGrammar( )
660 return sal_False;
663 sal_Bool SAL_CALL ODatabaseMetaData::supportsMinimumSQLGrammar( )
665 return sal_True;
668 sal_Bool SAL_CALL ODatabaseMetaData::supportsFullOuterJoins( )
670 return sal_False;
673 sal_Bool SAL_CALL ODatabaseMetaData::supportsLimitedOuterJoins( )
675 return sal_False;
678 sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInGroupBy( )
680 sal_Int32 nValue = 0; // 0 means no limit
681 return nValue;
684 sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInOrderBy( )
686 sal_Int32 nValue = 0; // 0 means no limit
687 return nValue;
690 sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInSelect( )
692 sal_Int32 nValue = 0; // 0 means no limit
693 return nValue;
696 sal_Int32 SAL_CALL ODatabaseMetaData::getMaxUserNameLength( )
698 sal_Int32 nValue = 0; // 0 means no limit
699 return nValue;
702 sal_Bool SAL_CALL ODatabaseMetaData::supportsResultSetType( sal_Int32 setType )
704 return sal_False;
707 sal_Bool SAL_CALL ODatabaseMetaData::supportsResultSetConcurrency( sal_Int32 setType, sal_Int32 concurrency )
709 return sal_False;
712 sal_Bool SAL_CALL ODatabaseMetaData::ownUpdatesAreVisible( sal_Int32 setType )
714 return sal_False;
717 sal_Bool SAL_CALL ODatabaseMetaData::ownDeletesAreVisible( sal_Int32 setType )
719 return sal_False;
722 sal_Bool SAL_CALL ODatabaseMetaData::ownInsertsAreVisible( sal_Int32 setType )
724 return sal_False;
727 sal_Bool SAL_CALL ODatabaseMetaData::othersUpdatesAreVisible( sal_Int32 setType )
729 return sal_False;
732 sal_Bool SAL_CALL ODatabaseMetaData::othersDeletesAreVisible( sal_Int32 setType )
734 return sal_False;
737 sal_Bool SAL_CALL ODatabaseMetaData::othersInsertsAreVisible( sal_Int32 setType )
739 return sal_False;
742 sal_Bool SAL_CALL ODatabaseMetaData::updatesAreDetected( sal_Int32 setType )
744 return sal_False;
747 sal_Bool SAL_CALL ODatabaseMetaData::deletesAreDetected( sal_Int32 setType )
749 return sal_False;
752 sal_Bool SAL_CALL ODatabaseMetaData::insertsAreDetected( sal_Int32 setType )
754 return sal_False;
757 sal_Bool SAL_CALL ODatabaseMetaData::supportsBatchUpdates( )
759 return sal_False;
762 Reference< XConnection > SAL_CALL ODatabaseMetaData::getConnection( )
764 return (Reference< XConnection >)m_pConnection;//new OConnection(m_aConnectionHandle);
767 // here follow all methods which return a resultset
768 // the first methods is an example implementation how to use this resultset
769 // of course you could implement it on your and you should do this because
770 // the general way is more memory expensive
772 Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTableTypes( )
774 return NULL;
777 Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTypeInfo( )
779 return NULL;
782 Reference< XResultSet > SAL_CALL ODatabaseMetaData::getCatalogs( )
784 return NULL;
787 Reference< XResultSet > SAL_CALL ODatabaseMetaData::getSchemas( )
789 return NULL;
792 Reference< XResultSet > SAL_CALL ODatabaseMetaData::getColumnPrivileges(
793 const Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table,
794 const ::rtl::OUString& columnNamePattern )
796 return NULL;
799 Reference< XResultSet > SAL_CALL ODatabaseMetaData::getColumns(
800 const Any& catalog, const ::rtl::OUString& schemaPattern, const ::rtl::OUString& tableNamePattern,
801 const ::rtl::OUString& columnNamePattern )
803 return NULL;
806 Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTables(
807 const Any& catalog, const ::rtl::OUString& schemaPattern,
808 const ::rtl::OUString& tableNamePattern, const Sequence< ::rtl::OUString >& types )
810 return NULL;
813 Reference< XResultSet > SAL_CALL ODatabaseMetaData::getProcedureColumns(
814 const Any& catalog, const ::rtl::OUString& schemaPattern,
815 const ::rtl::OUString& procedureNamePattern, const ::rtl::OUString& columnNamePattern )
817 return NULL;
820 Reference< XResultSet > SAL_CALL ODatabaseMetaData::getProcedures(
821 const Any& catalog, const ::rtl::OUString& schemaPattern,
822 const ::rtl::OUString& procedureNamePattern )
824 return NULL;
827 Reference< XResultSet > SAL_CALL ODatabaseMetaData::getVersionColumns(
828 const Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table )
830 return NULL;
833 Reference< XResultSet > SAL_CALL ODatabaseMetaData::getExportedKeys(
834 const Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table )
836 return NULL;
839 Reference< XResultSet > SAL_CALL ODatabaseMetaData::getImportedKeys(
840 const Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table )
842 return NULL;
845 Reference< XResultSet > SAL_CALL ODatabaseMetaData::getPrimaryKeys(
846 const Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table )
848 return NULL;
851 Reference< XResultSet > SAL_CALL ODatabaseMetaData::getIndexInfo(
852 const Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table,
853 sal_Bool unique, sal_Bool approximate )
855 return NULL;
858 Reference< XResultSet > SAL_CALL ODatabaseMetaData::getBestRowIdentifier(
859 const Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table, sal_Int32 scope,
860 sal_Bool nullable )
862 return NULL;
865 Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTablePrivileges(
866 const Any& catalog, const ::rtl::OUString& schemaPattern, const ::rtl::OUString& tableNamePattern )
868 return NULL;
871 Reference< XResultSet > SAL_CALL ODatabaseMetaData::getCrossReference(
872 const Any& primaryCatalog, const ::rtl::OUString& primarySchema,
873 const ::rtl::OUString& primaryTable, const Any& foreignCatalog,
874 const ::rtl::OUString& foreignSchema, const ::rtl::OUString& foreignTable )
876 return NULL;
879 Reference< XResultSet > SAL_CALL ODatabaseMetaData::getUDTs( const Any& catalog, const ::rtl::OUString& schemaPattern, const ::rtl::OUString& typeNamePattern, const Sequence< sal_Int32 >& types )
881 OSL_FAIL("Not implemented yet!");
882 throw SQLException();
883 return NULL;
887 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */