1*cdf0e10cSrcweir /*************************************************************************
2*cdf0e10cSrcweir  *
3*cdf0e10cSrcweir  *  The Contents of this file are made available subject to the terms of
4*cdf0e10cSrcweir  *  the BSD license.
5*cdf0e10cSrcweir  *
6*cdf0e10cSrcweir  *  Copyright 2000, 2010 Oracle and/or its affiliates.
7*cdf0e10cSrcweir  *  All rights reserved.
8*cdf0e10cSrcweir  *
9*cdf0e10cSrcweir  *  Redistribution and use in source and binary forms, with or without
10*cdf0e10cSrcweir  *  modification, are permitted provided that the following conditions
11*cdf0e10cSrcweir  *  are met:
12*cdf0e10cSrcweir  *  1. Redistributions of source code must retain the above copyright
13*cdf0e10cSrcweir  *     notice, this list of conditions and the following disclaimer.
14*cdf0e10cSrcweir  *  2. Redistributions in binary form must reproduce the above copyright
15*cdf0e10cSrcweir  *     notice, this list of conditions and the following disclaimer in the
16*cdf0e10cSrcweir  *     documentation and/or other materials provided with the distribution.
17*cdf0e10cSrcweir  *  3. Neither the name of Sun Microsystems, Inc. nor the names of its
18*cdf0e10cSrcweir  *     contributors may be used to endorse or promote products derived
19*cdf0e10cSrcweir  *     from this software without specific prior written permission.
20*cdf0e10cSrcweir  *
21*cdf0e10cSrcweir  *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22*cdf0e10cSrcweir  *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23*cdf0e10cSrcweir  *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
24*cdf0e10cSrcweir  *  FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
25*cdf0e10cSrcweir  *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
26*cdf0e10cSrcweir  *  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
27*cdf0e10cSrcweir  *  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
28*cdf0e10cSrcweir  *  OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
29*cdf0e10cSrcweir  *  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
30*cdf0e10cSrcweir  *  TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
31*cdf0e10cSrcweir  *  USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32*cdf0e10cSrcweir  *
33*cdf0e10cSrcweir  *************************************************************************/
34*cdf0e10cSrcweir 
35*cdf0e10cSrcweir #include "SDatabaseMetaData.hxx"
36*cdf0e10cSrcweir #include <com/sun/star/sdbc/DataType.hpp>
37*cdf0e10cSrcweir #include <com/sun/star/sdbc/ResultSetType.hpp>
38*cdf0e10cSrcweir #include <com/sun/star/sdbc/ResultSetConcurrency.hpp>
39*cdf0e10cSrcweir #include <com/sun/star/sdbc/TransactionIsolation.hpp>
40*cdf0e10cSrcweir 
41*cdf0e10cSrcweir using namespace connectivity::skeleton;
42*cdf0e10cSrcweir using namespace com::sun::star::uno;
43*cdf0e10cSrcweir using namespace com::sun::star::lang;
44*cdf0e10cSrcweir using namespace com::sun::star::beans;
45*cdf0e10cSrcweir using namespace com::sun::star::sdbc;
46*cdf0e10cSrcweir 
47*cdf0e10cSrcweir ODatabaseMetaData::ODatabaseMetaData(OConnection* _pCon)
48*cdf0e10cSrcweir : m_pConnection(_pCon)
49*cdf0e10cSrcweir , m_bUseCatalog(sal_True)
50*cdf0e10cSrcweir {
51*cdf0e10cSrcweir 	OSL_ENSURE(m_pConnection,"ODatabaseMetaData::ODatabaseMetaData: No connection set!");
52*cdf0e10cSrcweir 	if(!m_pConnection->isCatalogUsed())
53*cdf0e10cSrcweir 	{
54*cdf0e10cSrcweir 		osl_incrementInterlockedCount( &m_refCount );
55*cdf0e10cSrcweir 		m_bUseCatalog	= !(usesLocalFiles() || usesLocalFilePerTable());
56*cdf0e10cSrcweir 		osl_decrementInterlockedCount( &m_refCount );
57*cdf0e10cSrcweir 	}
58*cdf0e10cSrcweir }
59*cdf0e10cSrcweir // -------------------------------------------------------------------------
60*cdf0e10cSrcweir ODatabaseMetaData::~ODatabaseMetaData()
61*cdf0e10cSrcweir {
62*cdf0e10cSrcweir }
63*cdf0e10cSrcweir // -------------------------------------------------------------------------
64*cdf0e10cSrcweir ::rtl::OUString SAL_CALL ODatabaseMetaData::getCatalogSeparator(  ) throw(SQLException, RuntimeException)
65*cdf0e10cSrcweir {
66*cdf0e10cSrcweir 	::rtl::OUString aVal;
67*cdf0e10cSrcweir 	if(m_bUseCatalog)
68*cdf0e10cSrcweir 	{ // do some special here for you database
69*cdf0e10cSrcweir 	}
70*cdf0e10cSrcweir 
71*cdf0e10cSrcweir 	return aVal;
72*cdf0e10cSrcweir }
73*cdf0e10cSrcweir // -------------------------------------------------------------------------
74*cdf0e10cSrcweir sal_Int32 SAL_CALL ODatabaseMetaData::getMaxBinaryLiteralLength(  ) throw(SQLException, RuntimeException)
75*cdf0e10cSrcweir {
76*cdf0e10cSrcweir 	sal_Int32 nValue = 0; // 0 means no limit
77*cdf0e10cSrcweir 	return nValue;
78*cdf0e10cSrcweir }
79*cdf0e10cSrcweir // -------------------------------------------------------------------------
80*cdf0e10cSrcweir sal_Int32 SAL_CALL ODatabaseMetaData::getMaxRowSize(  ) throw(SQLException, RuntimeException)
81*cdf0e10cSrcweir {
82*cdf0e10cSrcweir 	sal_Int32 nValue = 0; // 0 means no limit
83*cdf0e10cSrcweir 	return nValue;
84*cdf0e10cSrcweir }
85*cdf0e10cSrcweir // -------------------------------------------------------------------------
86*cdf0e10cSrcweir sal_Int32 SAL_CALL ODatabaseMetaData::getMaxCatalogNameLength(  ) throw(SQLException, RuntimeException)
87*cdf0e10cSrcweir {
88*cdf0e10cSrcweir 	sal_Int32 nValue = 0; // 0 means no limit
89*cdf0e10cSrcweir 	return nValue;
90*cdf0e10cSrcweir }
91*cdf0e10cSrcweir // -------------------------------------------------------------------------
92*cdf0e10cSrcweir sal_Int32 SAL_CALL ODatabaseMetaData::getMaxCharLiteralLength(  ) throw(SQLException, RuntimeException)
93*cdf0e10cSrcweir {
94*cdf0e10cSrcweir 	sal_Int32 nValue = 0; // 0 means no limit
95*cdf0e10cSrcweir 	return nValue;
96*cdf0e10cSrcweir }
97*cdf0e10cSrcweir // -------------------------------------------------------------------------
98*cdf0e10cSrcweir sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnNameLength(  ) throw(SQLException, RuntimeException)
99*cdf0e10cSrcweir {
100*cdf0e10cSrcweir 	sal_Int32 nValue = 0; // 0 means no limit
101*cdf0e10cSrcweir 	return nValue;
102*cdf0e10cSrcweir }
103*cdf0e10cSrcweir // -------------------------------------------------------------------------
104*cdf0e10cSrcweir sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInIndex(  ) throw(SQLException, RuntimeException)
105*cdf0e10cSrcweir {
106*cdf0e10cSrcweir 	sal_Int32 nValue = 0; // 0 means no limit
107*cdf0e10cSrcweir 	return nValue;
108*cdf0e10cSrcweir }
109*cdf0e10cSrcweir // -------------------------------------------------------------------------
110*cdf0e10cSrcweir sal_Int32 SAL_CALL ODatabaseMetaData::getMaxCursorNameLength(  ) throw(SQLException, RuntimeException)
111*cdf0e10cSrcweir {
112*cdf0e10cSrcweir 	sal_Int32 nValue = 0; // 0 means no limit
113*cdf0e10cSrcweir 	return nValue;
114*cdf0e10cSrcweir }
115*cdf0e10cSrcweir // -------------------------------------------------------------------------
116*cdf0e10cSrcweir sal_Int32 SAL_CALL ODatabaseMetaData::getMaxConnections(  ) throw(SQLException, RuntimeException)
117*cdf0e10cSrcweir {
118*cdf0e10cSrcweir 	sal_Int32 nValue = 0; // 0 means no limit
119*cdf0e10cSrcweir 	return nValue;
120*cdf0e10cSrcweir }
121*cdf0e10cSrcweir // -------------------------------------------------------------------------
122*cdf0e10cSrcweir sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInTable(  ) throw(SQLException, RuntimeException)
123*cdf0e10cSrcweir {
124*cdf0e10cSrcweir 	sal_Int32 nValue = 0; // 0 means no limit
125*cdf0e10cSrcweir 	return nValue;
126*cdf0e10cSrcweir }
127*cdf0e10cSrcweir // -------------------------------------------------------------------------
128*cdf0e10cSrcweir sal_Int32 SAL_CALL ODatabaseMetaData::getMaxStatementLength(  ) throw(SQLException, RuntimeException)
129*cdf0e10cSrcweir {
130*cdf0e10cSrcweir 	sal_Int32 nValue = 0; // 0 means no limit
131*cdf0e10cSrcweir 	return nValue;
132*cdf0e10cSrcweir }
133*cdf0e10cSrcweir // -------------------------------------------------------------------------
134*cdf0e10cSrcweir sal_Int32 SAL_CALL ODatabaseMetaData::getMaxTableNameLength(  ) throw(SQLException, RuntimeException)
135*cdf0e10cSrcweir {
136*cdf0e10cSrcweir 	sal_Int32 nValue = 0; // 0 means no limit
137*cdf0e10cSrcweir 	return nValue;
138*cdf0e10cSrcweir }
139*cdf0e10cSrcweir // -------------------------------------------------------------------------
140*cdf0e10cSrcweir sal_Int32 SAL_CALL ODatabaseMetaData::getMaxTablesInSelect(  ) throw(SQLException, RuntimeException)
141*cdf0e10cSrcweir {
142*cdf0e10cSrcweir 	sal_Int32 nValue = 0; // 0 means no limit
143*cdf0e10cSrcweir 	return nValue;
144*cdf0e10cSrcweir }
145*cdf0e10cSrcweir // -------------------------------------------------------------------------
146*cdf0e10cSrcweir // -------------------------------------------------------------------------
147*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::doesMaxRowSizeIncludeBlobs(  ) throw(SQLException, RuntimeException)
148*cdf0e10cSrcweir {
149*cdf0e10cSrcweir 	return sal_False;
150*cdf0e10cSrcweir }
151*cdf0e10cSrcweir // -------------------------------------------------------------------------
152*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::storesLowerCaseQuotedIdentifiers(  ) throw(SQLException, RuntimeException)
153*cdf0e10cSrcweir {
154*cdf0e10cSrcweir 	return sal_False;
155*cdf0e10cSrcweir }
156*cdf0e10cSrcweir // -------------------------------------------------------------------------
157*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::storesLowerCaseIdentifiers(  ) throw(SQLException, RuntimeException)
158*cdf0e10cSrcweir {
159*cdf0e10cSrcweir 	return sal_False;
160*cdf0e10cSrcweir }
161*cdf0e10cSrcweir // -------------------------------------------------------------------------
162*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::storesMixedCaseQuotedIdentifiers(  ) throw(SQLException, RuntimeException)
163*cdf0e10cSrcweir {
164*cdf0e10cSrcweir 	return sal_False;
165*cdf0e10cSrcweir }
166*cdf0e10cSrcweir // -------------------------------------------------------------------------
167*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::storesMixedCaseIdentifiers(  ) throw(SQLException, RuntimeException)
168*cdf0e10cSrcweir {
169*cdf0e10cSrcweir 	return sal_False;
170*cdf0e10cSrcweir }
171*cdf0e10cSrcweir // -------------------------------------------------------------------------
172*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::storesUpperCaseQuotedIdentifiers(  ) throw(SQLException, RuntimeException)
173*cdf0e10cSrcweir {
174*cdf0e10cSrcweir 	return sal_False;
175*cdf0e10cSrcweir }
176*cdf0e10cSrcweir // -------------------------------------------------------------------------
177*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::storesUpperCaseIdentifiers(  ) throw(SQLException, RuntimeException)
178*cdf0e10cSrcweir {
179*cdf0e10cSrcweir 	return sal_False;
180*cdf0e10cSrcweir }
181*cdf0e10cSrcweir // -------------------------------------------------------------------------
182*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsAlterTableWithAddColumn(  ) throw(SQLException, RuntimeException)
183*cdf0e10cSrcweir {
184*cdf0e10cSrcweir 	return sal_False;
185*cdf0e10cSrcweir }
186*cdf0e10cSrcweir // -------------------------------------------------------------------------
187*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsAlterTableWithDropColumn(  ) throw(SQLException, RuntimeException)
188*cdf0e10cSrcweir {
189*cdf0e10cSrcweir 	return sal_False;
190*cdf0e10cSrcweir }
191*cdf0e10cSrcweir // -------------------------------------------------------------------------
192*cdf0e10cSrcweir sal_Int32 SAL_CALL ODatabaseMetaData::getMaxIndexLength(  ) throw(SQLException, RuntimeException)
193*cdf0e10cSrcweir {
194*cdf0e10cSrcweir 	sal_Int32 nValue = 0; // 0 means no limit
195*cdf0e10cSrcweir 	return nValue;
196*cdf0e10cSrcweir }
197*cdf0e10cSrcweir // -------------------------------------------------------------------------
198*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsNonNullableColumns(  ) throw(SQLException, RuntimeException)
199*cdf0e10cSrcweir {
200*cdf0e10cSrcweir 	return sal_False;
201*cdf0e10cSrcweir }
202*cdf0e10cSrcweir // -------------------------------------------------------------------------
203*cdf0e10cSrcweir ::rtl::OUString SAL_CALL ODatabaseMetaData::getCatalogTerm(  ) throw(SQLException, RuntimeException)
204*cdf0e10cSrcweir {
205*cdf0e10cSrcweir 	::rtl::OUString aVal;
206*cdf0e10cSrcweir 	if(m_bUseCatalog)
207*cdf0e10cSrcweir 	{
208*cdf0e10cSrcweir 	}
209*cdf0e10cSrcweir 	return aVal;
210*cdf0e10cSrcweir }
211*cdf0e10cSrcweir // -------------------------------------------------------------------------
212*cdf0e10cSrcweir ::rtl::OUString SAL_CALL ODatabaseMetaData::getIdentifierQuoteString(  ) throw(SQLException, RuntimeException)
213*cdf0e10cSrcweir {
214*cdf0e10cSrcweir 	// normally this is "
215*cdf0e10cSrcweir 	::rtl::OUString aVal = ::rtl::OUString::createFromAscii("\"");
216*cdf0e10cSrcweir 	return aVal;
217*cdf0e10cSrcweir }
218*cdf0e10cSrcweir // -------------------------------------------------------------------------
219*cdf0e10cSrcweir ::rtl::OUString SAL_CALL ODatabaseMetaData::getExtraNameCharacters(  ) throw(SQLException, RuntimeException)
220*cdf0e10cSrcweir {
221*cdf0e10cSrcweir 	::rtl::OUString aVal;
222*cdf0e10cSrcweir 	return aVal;
223*cdf0e10cSrcweir }
224*cdf0e10cSrcweir // -------------------------------------------------------------------------
225*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsDifferentTableCorrelationNames(  ) throw(SQLException, RuntimeException)
226*cdf0e10cSrcweir {
227*cdf0e10cSrcweir 	return sal_False;
228*cdf0e10cSrcweir }
229*cdf0e10cSrcweir // -------------------------------------------------------------------------
230*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::isCatalogAtStart(  ) throw(SQLException, RuntimeException)
231*cdf0e10cSrcweir {
232*cdf0e10cSrcweir 	sal_Bool bValue = sal_False;
233*cdf0e10cSrcweir 	if(m_bUseCatalog)
234*cdf0e10cSrcweir 	{
235*cdf0e10cSrcweir 	}
236*cdf0e10cSrcweir 	return bValue;
237*cdf0e10cSrcweir }
238*cdf0e10cSrcweir // -------------------------------------------------------------------------
239*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::dataDefinitionIgnoredInTransactions(  ) throw(SQLException, RuntimeException)
240*cdf0e10cSrcweir {
241*cdf0e10cSrcweir 	return sal_True;
242*cdf0e10cSrcweir }
243*cdf0e10cSrcweir // -------------------------------------------------------------------------
244*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::dataDefinitionCausesTransactionCommit(  ) throw(SQLException, RuntimeException)
245*cdf0e10cSrcweir {
246*cdf0e10cSrcweir 	return sal_True;
247*cdf0e10cSrcweir }
248*cdf0e10cSrcweir // -------------------------------------------------------------------------
249*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsDataManipulationTransactionsOnly(  ) throw(SQLException, RuntimeException)
250*cdf0e10cSrcweir {
251*cdf0e10cSrcweir 	return sal_True;
252*cdf0e10cSrcweir }
253*cdf0e10cSrcweir // -------------------------------------------------------------------------
254*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsDataDefinitionAndDataManipulationTransactions(  ) throw(SQLException, RuntimeException)
255*cdf0e10cSrcweir {
256*cdf0e10cSrcweir 	return sal_True;
257*cdf0e10cSrcweir }
258*cdf0e10cSrcweir // -------------------------------------------------------------------------
259*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsPositionedDelete(  ) throw(SQLException, RuntimeException)
260*cdf0e10cSrcweir {
261*cdf0e10cSrcweir 	return sal_False;
262*cdf0e10cSrcweir }
263*cdf0e10cSrcweir // -------------------------------------------------------------------------
264*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsPositionedUpdate(  ) throw(SQLException, RuntimeException)
265*cdf0e10cSrcweir {
266*cdf0e10cSrcweir 	return sal_False;
267*cdf0e10cSrcweir }
268*cdf0e10cSrcweir // -------------------------------------------------------------------------
269*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenStatementsAcrossRollback(  ) throw(SQLException, RuntimeException)
270*cdf0e10cSrcweir {
271*cdf0e10cSrcweir 	return sal_False;
272*cdf0e10cSrcweir }
273*cdf0e10cSrcweir // -------------------------------------------------------------------------
274*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenStatementsAcrossCommit(  ) throw(SQLException, RuntimeException)
275*cdf0e10cSrcweir {
276*cdf0e10cSrcweir 	return sal_False;
277*cdf0e10cSrcweir }
278*cdf0e10cSrcweir // -------------------------------------------------------------------------
279*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenCursorsAcrossCommit(  ) throw(SQLException, RuntimeException)
280*cdf0e10cSrcweir {
281*cdf0e10cSrcweir 	return sal_False;
282*cdf0e10cSrcweir }
283*cdf0e10cSrcweir // -------------------------------------------------------------------------
284*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenCursorsAcrossRollback(  ) throw(SQLException, RuntimeException)
285*cdf0e10cSrcweir {
286*cdf0e10cSrcweir 	return sal_False;
287*cdf0e10cSrcweir }
288*cdf0e10cSrcweir // -------------------------------------------------------------------------
289*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsTransactionIsolationLevel( sal_Int32 level ) throw(SQLException, RuntimeException)
290*cdf0e10cSrcweir {
291*cdf0e10cSrcweir 	return sal_False;
292*cdf0e10cSrcweir }
293*cdf0e10cSrcweir // -------------------------------------------------------------------------
294*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInDataManipulation(  ) throw(SQLException, RuntimeException)
295*cdf0e10cSrcweir {
296*cdf0e10cSrcweir 	return sal_False;
297*cdf0e10cSrcweir }
298*cdf0e10cSrcweir // -------------------------------------------------------------------------
299*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsANSI92FullSQL(  ) throw(SQLException, RuntimeException)
300*cdf0e10cSrcweir {
301*cdf0e10cSrcweir 	return sal_False;
302*cdf0e10cSrcweir }
303*cdf0e10cSrcweir // -------------------------------------------------------------------------
304*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsANSI92EntryLevelSQL(  ) throw(SQLException, RuntimeException)
305*cdf0e10cSrcweir {
306*cdf0e10cSrcweir 	return sal_True; // should be supported at least
307*cdf0e10cSrcweir }
308*cdf0e10cSrcweir // -------------------------------------------------------------------------
309*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsIntegrityEnhancementFacility(  ) throw(SQLException, RuntimeException)
310*cdf0e10cSrcweir {
311*cdf0e10cSrcweir 	return sal_False;
312*cdf0e10cSrcweir }
313*cdf0e10cSrcweir // -------------------------------------------------------------------------
314*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInIndexDefinitions(  ) throw(SQLException, RuntimeException)
315*cdf0e10cSrcweir {
316*cdf0e10cSrcweir 	return sal_False;
317*cdf0e10cSrcweir }
318*cdf0e10cSrcweir // -------------------------------------------------------------------------
319*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInTableDefinitions(  ) throw(SQLException, RuntimeException)
320*cdf0e10cSrcweir {
321*cdf0e10cSrcweir 	return sal_False;
322*cdf0e10cSrcweir }
323*cdf0e10cSrcweir // -------------------------------------------------------------------------
324*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInTableDefinitions(  ) throw(SQLException, RuntimeException)
325*cdf0e10cSrcweir {
326*cdf0e10cSrcweir 	return sal_False;
327*cdf0e10cSrcweir }
328*cdf0e10cSrcweir // -------------------------------------------------------------------------
329*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInIndexDefinitions(  ) throw(SQLException, RuntimeException)
330*cdf0e10cSrcweir {
331*cdf0e10cSrcweir 	return sal_False;
332*cdf0e10cSrcweir }
333*cdf0e10cSrcweir // -------------------------------------------------------------------------
334*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInDataManipulation(  ) throw(SQLException, RuntimeException)
335*cdf0e10cSrcweir {
336*cdf0e10cSrcweir 	return sal_False;
337*cdf0e10cSrcweir }
338*cdf0e10cSrcweir // -------------------------------------------------------------------------
339*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsOuterJoins(  ) throw(SQLException, RuntimeException)
340*cdf0e10cSrcweir {
341*cdf0e10cSrcweir 	return sal_False;
342*cdf0e10cSrcweir }
343*cdf0e10cSrcweir // -------------------------------------------------------------------------
344*cdf0e10cSrcweir sal_Int32 SAL_CALL ODatabaseMetaData::getMaxStatements(  ) throw(SQLException, RuntimeException)
345*cdf0e10cSrcweir {
346*cdf0e10cSrcweir 	sal_Int32 nValue = 0; // 0 means no limit
347*cdf0e10cSrcweir 	return nValue;
348*cdf0e10cSrcweir }
349*cdf0e10cSrcweir // -------------------------------------------------------------------------
350*cdf0e10cSrcweir sal_Int32 SAL_CALL ODatabaseMetaData::getMaxProcedureNameLength(  ) throw(SQLException, RuntimeException)
351*cdf0e10cSrcweir {
352*cdf0e10cSrcweir 	sal_Int32 nValue = 0; // 0 means no limit
353*cdf0e10cSrcweir 	return nValue;
354*cdf0e10cSrcweir }
355*cdf0e10cSrcweir // -------------------------------------------------------------------------
356*cdf0e10cSrcweir sal_Int32 SAL_CALL ODatabaseMetaData::getMaxSchemaNameLength(  ) throw(SQLException, RuntimeException)
357*cdf0e10cSrcweir {
358*cdf0e10cSrcweir 	sal_Int32 nValue = 0; // 0 means no limit
359*cdf0e10cSrcweir 	return nValue;
360*cdf0e10cSrcweir }
361*cdf0e10cSrcweir // -------------------------------------------------------------------------
362*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsTransactions(  ) throw(SQLException, RuntimeException)
363*cdf0e10cSrcweir {
364*cdf0e10cSrcweir 	return sal_False;
365*cdf0e10cSrcweir }
366*cdf0e10cSrcweir // -------------------------------------------------------------------------
367*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::allProceduresAreCallable(  ) throw(SQLException, RuntimeException)
368*cdf0e10cSrcweir {
369*cdf0e10cSrcweir 	return sal_False;
370*cdf0e10cSrcweir }
371*cdf0e10cSrcweir // -------------------------------------------------------------------------
372*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsStoredProcedures(  ) throw(SQLException, RuntimeException)
373*cdf0e10cSrcweir {
374*cdf0e10cSrcweir 	return sal_False;
375*cdf0e10cSrcweir }
376*cdf0e10cSrcweir // -------------------------------------------------------------------------
377*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsSelectForUpdate(  ) throw(SQLException, RuntimeException)
378*cdf0e10cSrcweir {
379*cdf0e10cSrcweir 	return sal_False;
380*cdf0e10cSrcweir }
381*cdf0e10cSrcweir // -------------------------------------------------------------------------
382*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::allTablesAreSelectable(  ) throw(SQLException, RuntimeException)
383*cdf0e10cSrcweir {
384*cdf0e10cSrcweir 	return sal_False;
385*cdf0e10cSrcweir }
386*cdf0e10cSrcweir // -------------------------------------------------------------------------
387*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::isReadOnly(  ) throw(SQLException, RuntimeException)
388*cdf0e10cSrcweir {
389*cdf0e10cSrcweir 	return sal_False;
390*cdf0e10cSrcweir }
391*cdf0e10cSrcweir // -------------------------------------------------------------------------
392*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::usesLocalFiles(  ) throw(SQLException, RuntimeException)
393*cdf0e10cSrcweir {
394*cdf0e10cSrcweir 	return sal_False;
395*cdf0e10cSrcweir }
396*cdf0e10cSrcweir // -------------------------------------------------------------------------
397*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::usesLocalFilePerTable(  ) throw(SQLException, RuntimeException)
398*cdf0e10cSrcweir {
399*cdf0e10cSrcweir 	return sal_False;
400*cdf0e10cSrcweir }
401*cdf0e10cSrcweir // -------------------------------------------------------------------------
402*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsTypeConversion(  ) throw(SQLException, RuntimeException)
403*cdf0e10cSrcweir {
404*cdf0e10cSrcweir 	return sal_False;
405*cdf0e10cSrcweir }
406*cdf0e10cSrcweir // -------------------------------------------------------------------------
407*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::nullPlusNonNullIsNull(  ) throw(SQLException, RuntimeException)
408*cdf0e10cSrcweir {
409*cdf0e10cSrcweir 	return sal_False;
410*cdf0e10cSrcweir }
411*cdf0e10cSrcweir // -------------------------------------------------------------------------
412*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsColumnAliasing(  ) throw(SQLException, RuntimeException)
413*cdf0e10cSrcweir {
414*cdf0e10cSrcweir 	return sal_False;
415*cdf0e10cSrcweir }
416*cdf0e10cSrcweir // -------------------------------------------------------------------------
417*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsTableCorrelationNames(  ) throw(SQLException, RuntimeException)
418*cdf0e10cSrcweir {
419*cdf0e10cSrcweir 	return sal_False;
420*cdf0e10cSrcweir }
421*cdf0e10cSrcweir // -------------------------------------------------------------------------
422*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsConvert( sal_Int32 fromType, sal_Int32 toType ) throw(SQLException, RuntimeException)
423*cdf0e10cSrcweir {
424*cdf0e10cSrcweir 	return sal_False;
425*cdf0e10cSrcweir }
426*cdf0e10cSrcweir // -------------------------------------------------------------------------
427*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsExpressionsInOrderBy(  ) throw(SQLException, RuntimeException)
428*cdf0e10cSrcweir {
429*cdf0e10cSrcweir 	return sal_False;
430*cdf0e10cSrcweir }
431*cdf0e10cSrcweir // -------------------------------------------------------------------------
432*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsGroupBy(  ) throw(SQLException, RuntimeException)
433*cdf0e10cSrcweir {
434*cdf0e10cSrcweir 	return sal_False;
435*cdf0e10cSrcweir }
436*cdf0e10cSrcweir // -------------------------------------------------------------------------
437*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsGroupByBeyondSelect(  ) throw(SQLException, RuntimeException)
438*cdf0e10cSrcweir {
439*cdf0e10cSrcweir 	return sal_False;
440*cdf0e10cSrcweir }
441*cdf0e10cSrcweir // -------------------------------------------------------------------------
442*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsGroupByUnrelated(  ) throw(SQLException, RuntimeException)
443*cdf0e10cSrcweir {
444*cdf0e10cSrcweir 	return sal_False;
445*cdf0e10cSrcweir }
446*cdf0e10cSrcweir // -------------------------------------------------------------------------
447*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsMultipleTransactions(  ) throw(SQLException, RuntimeException)
448*cdf0e10cSrcweir {
449*cdf0e10cSrcweir 	return sal_False;
450*cdf0e10cSrcweir }
451*cdf0e10cSrcweir // -------------------------------------------------------------------------
452*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsMultipleResultSets(  ) throw(SQLException, RuntimeException)
453*cdf0e10cSrcweir {
454*cdf0e10cSrcweir 	return sal_False;
455*cdf0e10cSrcweir }
456*cdf0e10cSrcweir // -------------------------------------------------------------------------
457*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsLikeEscapeClause(  ) throw(SQLException, RuntimeException)
458*cdf0e10cSrcweir {
459*cdf0e10cSrcweir 	return sal_False;
460*cdf0e10cSrcweir }
461*cdf0e10cSrcweir // -------------------------------------------------------------------------
462*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsOrderByUnrelated(  ) throw(SQLException, RuntimeException)
463*cdf0e10cSrcweir {
464*cdf0e10cSrcweir 	return sal_False;
465*cdf0e10cSrcweir }
466*cdf0e10cSrcweir // -------------------------------------------------------------------------
467*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsUnion(  ) throw(SQLException, RuntimeException)
468*cdf0e10cSrcweir {
469*cdf0e10cSrcweir 	return sal_False;
470*cdf0e10cSrcweir }
471*cdf0e10cSrcweir // -------------------------------------------------------------------------
472*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsUnionAll(  ) throw(SQLException, RuntimeException)
473*cdf0e10cSrcweir {
474*cdf0e10cSrcweir 	return sal_False;
475*cdf0e10cSrcweir }
476*cdf0e10cSrcweir // -------------------------------------------------------------------------
477*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsMixedCaseIdentifiers(  ) throw(SQLException, RuntimeException)
478*cdf0e10cSrcweir {
479*cdf0e10cSrcweir 	return sal_False;
480*cdf0e10cSrcweir }
481*cdf0e10cSrcweir // -------------------------------------------------------------------------
482*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsMixedCaseQuotedIdentifiers(  ) throw(SQLException, RuntimeException)
483*cdf0e10cSrcweir {
484*cdf0e10cSrcweir 	return sal_False;
485*cdf0e10cSrcweir }
486*cdf0e10cSrcweir // -------------------------------------------------------------------------
487*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedAtEnd(  ) throw(SQLException, RuntimeException)
488*cdf0e10cSrcweir {
489*cdf0e10cSrcweir 	return sal_False;
490*cdf0e10cSrcweir }
491*cdf0e10cSrcweir // -------------------------------------------------------------------------
492*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedAtStart(  ) throw(SQLException, RuntimeException)
493*cdf0e10cSrcweir {
494*cdf0e10cSrcweir 	return sal_False;
495*cdf0e10cSrcweir }
496*cdf0e10cSrcweir // -------------------------------------------------------------------------
497*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedHigh(  ) throw(SQLException, RuntimeException)
498*cdf0e10cSrcweir {
499*cdf0e10cSrcweir 	return sal_False;
500*cdf0e10cSrcweir }
501*cdf0e10cSrcweir // -------------------------------------------------------------------------
502*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedLow(  ) throw(SQLException, RuntimeException)
503*cdf0e10cSrcweir {
504*cdf0e10cSrcweir 	return sal_False;
505*cdf0e10cSrcweir }
506*cdf0e10cSrcweir // -------------------------------------------------------------------------
507*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInProcedureCalls(  ) throw(SQLException, RuntimeException)
508*cdf0e10cSrcweir {
509*cdf0e10cSrcweir 	return sal_False;
510*cdf0e10cSrcweir }
511*cdf0e10cSrcweir // -------------------------------------------------------------------------
512*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInPrivilegeDefinitions(  ) throw(SQLException, RuntimeException)
513*cdf0e10cSrcweir {
514*cdf0e10cSrcweir 	return sal_False;
515*cdf0e10cSrcweir }
516*cdf0e10cSrcweir // -------------------------------------------------------------------------
517*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInProcedureCalls(  ) throw(SQLException, RuntimeException)
518*cdf0e10cSrcweir {
519*cdf0e10cSrcweir 	return sal_False;
520*cdf0e10cSrcweir }
521*cdf0e10cSrcweir // -------------------------------------------------------------------------
522*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInPrivilegeDefinitions(  ) throw(SQLException, RuntimeException)
523*cdf0e10cSrcweir {
524*cdf0e10cSrcweir 	return sal_False;
525*cdf0e10cSrcweir }
526*cdf0e10cSrcweir // -------------------------------------------------------------------------
527*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsCorrelatedSubqueries(  ) throw(SQLException, RuntimeException)
528*cdf0e10cSrcweir {
529*cdf0e10cSrcweir 	return sal_False;
530*cdf0e10cSrcweir }
531*cdf0e10cSrcweir // -------------------------------------------------------------------------
532*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInComparisons(  ) throw(SQLException, RuntimeException)
533*cdf0e10cSrcweir {
534*cdf0e10cSrcweir 	return sal_False;
535*cdf0e10cSrcweir }
536*cdf0e10cSrcweir // -------------------------------------------------------------------------
537*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInExists(  ) throw(SQLException, RuntimeException)
538*cdf0e10cSrcweir {
539*cdf0e10cSrcweir 	return sal_False;
540*cdf0e10cSrcweir }
541*cdf0e10cSrcweir // -------------------------------------------------------------------------
542*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInIns(  ) throw(SQLException, RuntimeException)
543*cdf0e10cSrcweir {
544*cdf0e10cSrcweir 	return sal_False;
545*cdf0e10cSrcweir }
546*cdf0e10cSrcweir // -------------------------------------------------------------------------
547*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInQuantifieds(  ) throw(SQLException, RuntimeException)
548*cdf0e10cSrcweir {
549*cdf0e10cSrcweir 	return sal_False;
550*cdf0e10cSrcweir }
551*cdf0e10cSrcweir // -------------------------------------------------------------------------
552*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsANSI92IntermediateSQL(  ) throw(SQLException, RuntimeException)
553*cdf0e10cSrcweir {
554*cdf0e10cSrcweir 	return sal_False;
555*cdf0e10cSrcweir }
556*cdf0e10cSrcweir // -------------------------------------------------------------------------
557*cdf0e10cSrcweir ::rtl::OUString SAL_CALL ODatabaseMetaData::getURL(  ) throw(SQLException, RuntimeException)
558*cdf0e10cSrcweir {
559*cdf0e10cSrcweir 	::rtl::OUString aValue = ::rtl::OUString::createFromAscii("sdbc:skeleton:");
560*cdf0e10cSrcweir 	return aValue;
561*cdf0e10cSrcweir }
562*cdf0e10cSrcweir // -------------------------------------------------------------------------
563*cdf0e10cSrcweir ::rtl::OUString SAL_CALL ODatabaseMetaData::getUserName(  ) throw(SQLException, RuntimeException)
564*cdf0e10cSrcweir {
565*cdf0e10cSrcweir 	::rtl::OUString aValue;
566*cdf0e10cSrcweir 	return aValue;
567*cdf0e10cSrcweir }
568*cdf0e10cSrcweir // -------------------------------------------------------------------------
569*cdf0e10cSrcweir ::rtl::OUString SAL_CALL ODatabaseMetaData::getDriverName(  ) throw(SQLException, RuntimeException)
570*cdf0e10cSrcweir {
571*cdf0e10cSrcweir 	::rtl::OUString aValue;
572*cdf0e10cSrcweir 	return aValue;
573*cdf0e10cSrcweir }
574*cdf0e10cSrcweir // -------------------------------------------------------------------------
575*cdf0e10cSrcweir ::rtl::OUString SAL_CALL ODatabaseMetaData::getDriverVersion() throw(SQLException, RuntimeException)
576*cdf0e10cSrcweir {
577*cdf0e10cSrcweir 	::rtl::OUString aValue;
578*cdf0e10cSrcweir 	return aValue;
579*cdf0e10cSrcweir }
580*cdf0e10cSrcweir // -------------------------------------------------------------------------
581*cdf0e10cSrcweir ::rtl::OUString SAL_CALL ODatabaseMetaData::getDatabaseProductVersion(  ) throw(SQLException, RuntimeException)
582*cdf0e10cSrcweir {
583*cdf0e10cSrcweir 	::rtl::OUString aValue;
584*cdf0e10cSrcweir 	return aValue;
585*cdf0e10cSrcweir }
586*cdf0e10cSrcweir // -------------------------------------------------------------------------
587*cdf0e10cSrcweir ::rtl::OUString SAL_CALL ODatabaseMetaData::getDatabaseProductName(  ) throw(SQLException, RuntimeException)
588*cdf0e10cSrcweir {
589*cdf0e10cSrcweir 	::rtl::OUString aValue;
590*cdf0e10cSrcweir 	return aValue;
591*cdf0e10cSrcweir }
592*cdf0e10cSrcweir // -------------------------------------------------------------------------
593*cdf0e10cSrcweir ::rtl::OUString SAL_CALL ODatabaseMetaData::getProcedureTerm(  ) throw(SQLException, RuntimeException)
594*cdf0e10cSrcweir {
595*cdf0e10cSrcweir 	::rtl::OUString aValue;
596*cdf0e10cSrcweir 	return aValue;
597*cdf0e10cSrcweir }
598*cdf0e10cSrcweir // -------------------------------------------------------------------------
599*cdf0e10cSrcweir ::rtl::OUString SAL_CALL ODatabaseMetaData::getSchemaTerm(  ) throw(SQLException, RuntimeException)
600*cdf0e10cSrcweir {
601*cdf0e10cSrcweir 	::rtl::OUString aValue;
602*cdf0e10cSrcweir 	return aValue;
603*cdf0e10cSrcweir }
604*cdf0e10cSrcweir // -------------------------------------------------------------------------
605*cdf0e10cSrcweir sal_Int32 SAL_CALL ODatabaseMetaData::getDriverMajorVersion(  ) throw(RuntimeException)
606*cdf0e10cSrcweir {
607*cdf0e10cSrcweir 	return 1;
608*cdf0e10cSrcweir }
609*cdf0e10cSrcweir // -------------------------------------------------------------------------
610*cdf0e10cSrcweir sal_Int32 SAL_CALL ODatabaseMetaData::getDefaultTransactionIsolation(  ) throw(SQLException, RuntimeException)
611*cdf0e10cSrcweir {
612*cdf0e10cSrcweir 	return TransactionIsolation::NONE;
613*cdf0e10cSrcweir }
614*cdf0e10cSrcweir // -------------------------------------------------------------------------
615*cdf0e10cSrcweir sal_Int32 SAL_CALL ODatabaseMetaData::getDriverMinorVersion(  ) throw(RuntimeException)
616*cdf0e10cSrcweir {
617*cdf0e10cSrcweir 	return 0;
618*cdf0e10cSrcweir }
619*cdf0e10cSrcweir // -------------------------------------------------------------------------
620*cdf0e10cSrcweir ::rtl::OUString SAL_CALL ODatabaseMetaData::getSQLKeywords(  ) throw(SQLException, RuntimeException)
621*cdf0e10cSrcweir {
622*cdf0e10cSrcweir 	::rtl::OUString aValue;
623*cdf0e10cSrcweir 	return aValue;
624*cdf0e10cSrcweir }
625*cdf0e10cSrcweir // -------------------------------------------------------------------------
626*cdf0e10cSrcweir ::rtl::OUString SAL_CALL ODatabaseMetaData::getSearchStringEscape(  ) throw(SQLException, RuntimeException)
627*cdf0e10cSrcweir {
628*cdf0e10cSrcweir 	::rtl::OUString aValue;
629*cdf0e10cSrcweir 	return aValue;
630*cdf0e10cSrcweir }
631*cdf0e10cSrcweir // -------------------------------------------------------------------------
632*cdf0e10cSrcweir ::rtl::OUString SAL_CALL ODatabaseMetaData::getStringFunctions(  ) throw(SQLException, RuntimeException)
633*cdf0e10cSrcweir {
634*cdf0e10cSrcweir 	return ::rtl::OUString();
635*cdf0e10cSrcweir }
636*cdf0e10cSrcweir // -------------------------------------------------------------------------
637*cdf0e10cSrcweir ::rtl::OUString SAL_CALL ODatabaseMetaData::getTimeDateFunctions(  ) throw(SQLException, RuntimeException)
638*cdf0e10cSrcweir {
639*cdf0e10cSrcweir 	return ::rtl::OUString();
640*cdf0e10cSrcweir }
641*cdf0e10cSrcweir // -------------------------------------------------------------------------
642*cdf0e10cSrcweir ::rtl::OUString SAL_CALL ODatabaseMetaData::getSystemFunctions(  ) throw(SQLException, RuntimeException)
643*cdf0e10cSrcweir {
644*cdf0e10cSrcweir 	return ::rtl::OUString();
645*cdf0e10cSrcweir }
646*cdf0e10cSrcweir // -------------------------------------------------------------------------
647*cdf0e10cSrcweir ::rtl::OUString SAL_CALL ODatabaseMetaData::getNumericFunctions(  ) throw(SQLException, RuntimeException)
648*cdf0e10cSrcweir {
649*cdf0e10cSrcweir 	return ::rtl::OUString();
650*cdf0e10cSrcweir }
651*cdf0e10cSrcweir // -------------------------------------------------------------------------
652*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsExtendedSQLGrammar(  ) throw(SQLException, RuntimeException)
653*cdf0e10cSrcweir {
654*cdf0e10cSrcweir 	return sal_False;
655*cdf0e10cSrcweir }
656*cdf0e10cSrcweir // -------------------------------------------------------------------------
657*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsCoreSQLGrammar(  ) throw(SQLException, RuntimeException)
658*cdf0e10cSrcweir {
659*cdf0e10cSrcweir 	return sal_False;
660*cdf0e10cSrcweir }
661*cdf0e10cSrcweir // -------------------------------------------------------------------------
662*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsMinimumSQLGrammar(  ) throw(SQLException, RuntimeException)
663*cdf0e10cSrcweir {
664*cdf0e10cSrcweir 	return sal_True;
665*cdf0e10cSrcweir }
666*cdf0e10cSrcweir // -------------------------------------------------------------------------
667*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsFullOuterJoins(  ) throw(SQLException, RuntimeException)
668*cdf0e10cSrcweir {
669*cdf0e10cSrcweir 	return sal_False;
670*cdf0e10cSrcweir }
671*cdf0e10cSrcweir // -------------------------------------------------------------------------
672*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsLimitedOuterJoins(  ) throw(SQLException, RuntimeException)
673*cdf0e10cSrcweir {
674*cdf0e10cSrcweir 	return sal_False;
675*cdf0e10cSrcweir }
676*cdf0e10cSrcweir // -------------------------------------------------------------------------
677*cdf0e10cSrcweir sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInGroupBy(  ) throw(SQLException, RuntimeException)
678*cdf0e10cSrcweir {
679*cdf0e10cSrcweir 	sal_Int32 nValue = 0; // 0 means no limit
680*cdf0e10cSrcweir 	return nValue;
681*cdf0e10cSrcweir }
682*cdf0e10cSrcweir // -------------------------------------------------------------------------
683*cdf0e10cSrcweir sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInOrderBy(  ) throw(SQLException, RuntimeException)
684*cdf0e10cSrcweir {
685*cdf0e10cSrcweir 	sal_Int32 nValue = 0; // 0 means no limit
686*cdf0e10cSrcweir 	return nValue;
687*cdf0e10cSrcweir }
688*cdf0e10cSrcweir // -------------------------------------------------------------------------
689*cdf0e10cSrcweir sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInSelect(  ) throw(SQLException, RuntimeException)
690*cdf0e10cSrcweir {
691*cdf0e10cSrcweir 	sal_Int32 nValue = 0; // 0 means no limit
692*cdf0e10cSrcweir 	return nValue;
693*cdf0e10cSrcweir }
694*cdf0e10cSrcweir // -------------------------------------------------------------------------
695*cdf0e10cSrcweir sal_Int32 SAL_CALL ODatabaseMetaData::getMaxUserNameLength(  ) throw(SQLException, RuntimeException)
696*cdf0e10cSrcweir {
697*cdf0e10cSrcweir 	sal_Int32 nValue = 0; // 0 means no limit
698*cdf0e10cSrcweir 	return nValue;
699*cdf0e10cSrcweir }
700*cdf0e10cSrcweir // -------------------------------------------------------------------------
701*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsResultSetType( sal_Int32 setType ) throw(SQLException, RuntimeException)
702*cdf0e10cSrcweir {
703*cdf0e10cSrcweir 	return sal_False;
704*cdf0e10cSrcweir }
705*cdf0e10cSrcweir // -------------------------------------------------------------------------
706*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsResultSetConcurrency( sal_Int32 setType, sal_Int32 concurrency ) throw(SQLException, RuntimeException)
707*cdf0e10cSrcweir {
708*cdf0e10cSrcweir 	return sal_False;
709*cdf0e10cSrcweir }
710*cdf0e10cSrcweir // -------------------------------------------------------------------------
711*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::ownUpdatesAreVisible( sal_Int32 setType ) throw(SQLException, RuntimeException)
712*cdf0e10cSrcweir {
713*cdf0e10cSrcweir 	return sal_False;
714*cdf0e10cSrcweir }
715*cdf0e10cSrcweir // -------------------------------------------------------------------------
716*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::ownDeletesAreVisible( sal_Int32 setType ) throw(SQLException, RuntimeException)
717*cdf0e10cSrcweir {
718*cdf0e10cSrcweir 	return sal_False;
719*cdf0e10cSrcweir }
720*cdf0e10cSrcweir // -------------------------------------------------------------------------
721*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::ownInsertsAreVisible( sal_Int32 setType ) throw(SQLException, RuntimeException)
722*cdf0e10cSrcweir {
723*cdf0e10cSrcweir 	return sal_False;
724*cdf0e10cSrcweir }
725*cdf0e10cSrcweir // -------------------------------------------------------------------------
726*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::othersUpdatesAreVisible( sal_Int32 setType ) throw(SQLException, RuntimeException)
727*cdf0e10cSrcweir {
728*cdf0e10cSrcweir 	return sal_False;
729*cdf0e10cSrcweir }
730*cdf0e10cSrcweir // -------------------------------------------------------------------------
731*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::othersDeletesAreVisible( sal_Int32 setType ) throw(SQLException, RuntimeException)
732*cdf0e10cSrcweir {
733*cdf0e10cSrcweir 	return sal_False;
734*cdf0e10cSrcweir }
735*cdf0e10cSrcweir // -------------------------------------------------------------------------
736*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::othersInsertsAreVisible( sal_Int32 setType ) throw(SQLException, RuntimeException)
737*cdf0e10cSrcweir {
738*cdf0e10cSrcweir 	return sal_False;
739*cdf0e10cSrcweir }
740*cdf0e10cSrcweir // -------------------------------------------------------------------------
741*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::updatesAreDetected( sal_Int32 setType ) throw(SQLException, RuntimeException)
742*cdf0e10cSrcweir {
743*cdf0e10cSrcweir 	return sal_False;
744*cdf0e10cSrcweir }
745*cdf0e10cSrcweir // -------------------------------------------------------------------------
746*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::deletesAreDetected( sal_Int32 setType ) throw(SQLException, RuntimeException)
747*cdf0e10cSrcweir {
748*cdf0e10cSrcweir 	return sal_False;
749*cdf0e10cSrcweir }
750*cdf0e10cSrcweir // -------------------------------------------------------------------------
751*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::insertsAreDetected( sal_Int32 setType ) throw(SQLException, RuntimeException)
752*cdf0e10cSrcweir {
753*cdf0e10cSrcweir 	return sal_False;
754*cdf0e10cSrcweir }
755*cdf0e10cSrcweir // -------------------------------------------------------------------------
756*cdf0e10cSrcweir sal_Bool SAL_CALL ODatabaseMetaData::supportsBatchUpdates(  ) throw(SQLException, RuntimeException)
757*cdf0e10cSrcweir {
758*cdf0e10cSrcweir 	return sal_False;
759*cdf0e10cSrcweir }
760*cdf0e10cSrcweir // -------------------------------------------------------------------------
761*cdf0e10cSrcweir Reference< XConnection > SAL_CALL ODatabaseMetaData::getConnection(  ) throw(SQLException, RuntimeException)
762*cdf0e10cSrcweir {
763*cdf0e10cSrcweir 	return (Reference< XConnection >)m_pConnection;//new OConnection(m_aConnectionHandle);
764*cdf0e10cSrcweir }
765*cdf0e10cSrcweir // -------------------------------------------------------------------------
766*cdf0e10cSrcweir // here follow all methods which return a resultset
767*cdf0e10cSrcweir // the first methods is an example implementation how to use this resultset
768*cdf0e10cSrcweir // of course you could implement it on your and you should do this because
769*cdf0e10cSrcweir // the general way is more memory expensive
770*cdf0e10cSrcweir // -------------------------------------------------------------------------
771*cdf0e10cSrcweir Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTableTypes(  ) throw(SQLException, RuntimeException)
772*cdf0e10cSrcweir {
773*cdf0e10cSrcweir 	return NULL;
774*cdf0e10cSrcweir }
775*cdf0e10cSrcweir // -------------------------------------------------------------------------
776*cdf0e10cSrcweir Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTypeInfo(  ) throw(SQLException, RuntimeException)
777*cdf0e10cSrcweir {
778*cdf0e10cSrcweir 	return NULL;
779*cdf0e10cSrcweir }
780*cdf0e10cSrcweir // -------------------------------------------------------------------------
781*cdf0e10cSrcweir Reference< XResultSet > SAL_CALL ODatabaseMetaData::getCatalogs(  ) throw(SQLException, RuntimeException)
782*cdf0e10cSrcweir {
783*cdf0e10cSrcweir 	return NULL;
784*cdf0e10cSrcweir }
785*cdf0e10cSrcweir // -----------------------------------------------------------------------------
786*cdf0e10cSrcweir Reference< XResultSet > SAL_CALL ODatabaseMetaData::getSchemas(  ) throw(SQLException, RuntimeException)
787*cdf0e10cSrcweir {
788*cdf0e10cSrcweir 	return NULL;
789*cdf0e10cSrcweir }
790*cdf0e10cSrcweir // -------------------------------------------------------------------------
791*cdf0e10cSrcweir Reference< XResultSet > SAL_CALL ODatabaseMetaData::getColumnPrivileges(
792*cdf0e10cSrcweir 	const Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table,
793*cdf0e10cSrcweir 	const ::rtl::OUString& columnNamePattern ) throw(SQLException, RuntimeException)
794*cdf0e10cSrcweir {
795*cdf0e10cSrcweir 	return NULL;
796*cdf0e10cSrcweir }
797*cdf0e10cSrcweir // -------------------------------------------------------------------------
798*cdf0e10cSrcweir Reference< XResultSet > SAL_CALL ODatabaseMetaData::getColumns(
799*cdf0e10cSrcweir 	const Any& catalog, const ::rtl::OUString& schemaPattern, const ::rtl::OUString& tableNamePattern,
800*cdf0e10cSrcweir 	const ::rtl::OUString& columnNamePattern ) throw(SQLException, RuntimeException)
801*cdf0e10cSrcweir {
802*cdf0e10cSrcweir 	return NULL;
803*cdf0e10cSrcweir }
804*cdf0e10cSrcweir // -------------------------------------------------------------------------
805*cdf0e10cSrcweir Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTables(
806*cdf0e10cSrcweir 	const Any& catalog, const ::rtl::OUString& schemaPattern,
807*cdf0e10cSrcweir 	const ::rtl::OUString& tableNamePattern, const Sequence< ::rtl::OUString >& types ) throw(SQLException, RuntimeException)
808*cdf0e10cSrcweir {
809*cdf0e10cSrcweir 	return NULL;
810*cdf0e10cSrcweir }
811*cdf0e10cSrcweir // -------------------------------------------------------------------------
812*cdf0e10cSrcweir Reference< XResultSet > SAL_CALL ODatabaseMetaData::getProcedureColumns(
813*cdf0e10cSrcweir 	const Any& catalog, const ::rtl::OUString& schemaPattern,
814*cdf0e10cSrcweir 	const ::rtl::OUString& procedureNamePattern, const ::rtl::OUString& columnNamePattern ) throw(SQLException, RuntimeException)
815*cdf0e10cSrcweir {
816*cdf0e10cSrcweir 	return NULL;
817*cdf0e10cSrcweir }
818*cdf0e10cSrcweir // -------------------------------------------------------------------------
819*cdf0e10cSrcweir Reference< XResultSet > SAL_CALL ODatabaseMetaData::getProcedures(
820*cdf0e10cSrcweir 	const Any& catalog, const ::rtl::OUString& schemaPattern,
821*cdf0e10cSrcweir 	const ::rtl::OUString& procedureNamePattern ) throw(SQLException, RuntimeException)
822*cdf0e10cSrcweir {
823*cdf0e10cSrcweir 	return NULL;
824*cdf0e10cSrcweir }
825*cdf0e10cSrcweir // -------------------------------------------------------------------------
826*cdf0e10cSrcweir Reference< XResultSet > SAL_CALL ODatabaseMetaData::getVersionColumns(
827*cdf0e10cSrcweir 	const Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table ) throw(SQLException, RuntimeException)
828*cdf0e10cSrcweir {
829*cdf0e10cSrcweir 	return NULL;
830*cdf0e10cSrcweir }
831*cdf0e10cSrcweir // -------------------------------------------------------------------------
832*cdf0e10cSrcweir Reference< XResultSet > SAL_CALL ODatabaseMetaData::getExportedKeys(
833*cdf0e10cSrcweir 	const Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table ) throw(SQLException, RuntimeException)
834*cdf0e10cSrcweir {
835*cdf0e10cSrcweir 	return NULL;
836*cdf0e10cSrcweir }
837*cdf0e10cSrcweir // -------------------------------------------------------------------------
838*cdf0e10cSrcweir Reference< XResultSet > SAL_CALL ODatabaseMetaData::getImportedKeys(
839*cdf0e10cSrcweir 	const Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table ) throw(SQLException, RuntimeException)
840*cdf0e10cSrcweir {
841*cdf0e10cSrcweir 	return NULL;
842*cdf0e10cSrcweir }
843*cdf0e10cSrcweir // -------------------------------------------------------------------------
844*cdf0e10cSrcweir Reference< XResultSet > SAL_CALL ODatabaseMetaData::getPrimaryKeys(
845*cdf0e10cSrcweir 	const Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table ) throw(SQLException, RuntimeException)
846*cdf0e10cSrcweir {
847*cdf0e10cSrcweir 	return NULL;
848*cdf0e10cSrcweir }
849*cdf0e10cSrcweir // -------------------------------------------------------------------------
850*cdf0e10cSrcweir Reference< XResultSet > SAL_CALL ODatabaseMetaData::getIndexInfo(
851*cdf0e10cSrcweir 	const Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table,
852*cdf0e10cSrcweir 	sal_Bool unique, sal_Bool approximate ) throw(SQLException, RuntimeException)
853*cdf0e10cSrcweir {
854*cdf0e10cSrcweir 	return NULL;
855*cdf0e10cSrcweir }
856*cdf0e10cSrcweir // -------------------------------------------------------------------------
857*cdf0e10cSrcweir Reference< XResultSet > SAL_CALL ODatabaseMetaData::getBestRowIdentifier(
858*cdf0e10cSrcweir 	const Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table, sal_Int32 scope,
859*cdf0e10cSrcweir 	sal_Bool nullable ) throw(SQLException, RuntimeException)
860*cdf0e10cSrcweir {
861*cdf0e10cSrcweir 	return NULL;
862*cdf0e10cSrcweir }
863*cdf0e10cSrcweir // -------------------------------------------------------------------------
864*cdf0e10cSrcweir Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTablePrivileges(
865*cdf0e10cSrcweir 	const Any& catalog, const ::rtl::OUString& schemaPattern, const ::rtl::OUString& tableNamePattern ) throw(SQLException, RuntimeException)
866*cdf0e10cSrcweir {
867*cdf0e10cSrcweir 	return NULL;
868*cdf0e10cSrcweir }
869*cdf0e10cSrcweir // -------------------------------------------------------------------------
870*cdf0e10cSrcweir Reference< XResultSet > SAL_CALL ODatabaseMetaData::getCrossReference(
871*cdf0e10cSrcweir 	const Any& primaryCatalog, const ::rtl::OUString& primarySchema,
872*cdf0e10cSrcweir 	const ::rtl::OUString& primaryTable, const Any& foreignCatalog,
873*cdf0e10cSrcweir 	const ::rtl::OUString& foreignSchema, const ::rtl::OUString& foreignTable ) throw(SQLException, RuntimeException)
874*cdf0e10cSrcweir {
875*cdf0e10cSrcweir 	return NULL;
876*cdf0e10cSrcweir }
877*cdf0e10cSrcweir // -------------------------------------------------------------------------
878*cdf0e10cSrcweir Reference< XResultSet > SAL_CALL ODatabaseMetaData::getUDTs( const Any& catalog, const ::rtl::OUString& schemaPattern, const ::rtl::OUString& typeNamePattern, const Sequence< sal_Int32 >& types ) throw(SQLException, RuntimeException)
879*cdf0e10cSrcweir {
880*cdf0e10cSrcweir 	OSL_ENSURE(0,"Not implemented yet!");
881*cdf0e10cSrcweir 	throw SQLException();
882*cdf0e10cSrcweir 	return NULL;
883*cdf0e10cSrcweir }
884*cdf0e10cSrcweir // -----------------------------------------------------------------------------
885*cdf0e10cSrcweir 
886*cdf0e10cSrcweir 
887*cdf0e10cSrcweir 
888