Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
5 : * This Source Code Form is subject to the terms of the Mozilla Public
6 : * License, v. 2.0. If a copy of the MPL was not distributed with this
7 : * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 : *
9 : * This file incorporates work covered by the following license notice:
10 : *
11 : * Licensed to the Apache Software Foundation (ASF) under one or more
12 : * contributor license agreements. See the NOTICE file distributed
13 : * with this work for additional information regarding copyright
14 : * ownership. The ASF licenses this file to you under the Apache
15 : * License, Version 2.0 (the "License"); you may not use this file
16 : * except in compliance with the License. You may obtain a copy of
17 : * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 : */
19 :
20 : #include "file/FDatabaseMetaData.hxx"
21 : #include "FDatabaseMetaDataResultSet.hxx"
22 : #include <com/sun/star/sdbc/DataType.hpp>
23 : #include <com/sun/star/sdbc/ResultSetType.hpp>
24 : #include <com/sun/star/sdbc/ResultSetConcurrency.hpp>
25 : #include <com/sun/star/ucb/SearchRecursion.hpp>
26 : #include <com/sun/star/ucb/SearchCommandArgument.hpp>
27 : #include <com/sun/star/ucb/UniversalContentBroker.hpp>
28 : #include <com/sun/star/ucb/SortedDynamicResultSetFactory.hpp>
29 : #include <com/sun/star/lang/XUnoTunnel.hpp>
30 : #include <tools/urlobj.hxx>
31 : #include "file/FDriver.hxx"
32 : #include "file/FTable.hxx"
33 : #include <comphelper/extract.hxx>
34 : #include <comphelper/processfactory.hxx>
35 : #include <tools/debug.hxx>
36 : #include <rtl/logfile.hxx>
37 : #include <ucbhelper/content.hxx>
38 :
39 : using namespace com::sun::star::ucb;
40 : using namespace connectivity::file;
41 : using namespace connectivity;
42 : using namespace com::sun::star::uno;
43 : using namespace com::sun::star::lang;
44 : using namespace com::sun::star::beans;
45 : using namespace com::sun::star::sdbc;
46 : using namespace com::sun::star::sdbcx;
47 : using namespace com::sun::star::lang;
48 : using namespace com::sun::star::container;
49 :
50 : DBG_NAME( file_ODatabaseMetaData )
51 0 : ODatabaseMetaData::ODatabaseMetaData(OConnection* _pCon) : ::connectivity::ODatabaseMetaDataBase(_pCon,_pCon->getConnectionInfo())
52 0 : ,m_pConnection(_pCon)
53 : {
54 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::ODatabaseMetaData" );
55 : DBG_CTOR( file_ODatabaseMetaData, NULL );
56 0 : }
57 : // -------------------------------------------------------------------------
58 0 : ODatabaseMetaData::~ODatabaseMetaData()
59 : {
60 : DBG_DTOR( file_ODatabaseMetaData, NULL );
61 0 : }
62 : // -------------------------------------------------------------------------
63 0 : Reference< XResultSet > ODatabaseMetaData::impl_getTypeInfo_throw( )
64 : {
65 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::impl_getTypeInfo_throw" );
66 0 : return new ODatabaseMetaDataResultSet( ODatabaseMetaDataResultSet::eTypeInfo );
67 : }
68 : // -------------------------------------------------------------------------
69 0 : ::rtl::OUString ODatabaseMetaData::impl_getCatalogSeparator_throw( )
70 : {
71 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::impl_getCatalogSeparator_throw" );
72 0 : return ::rtl::OUString();
73 : }
74 : // -------------------------------------------------------------------------
75 0 : Reference< XResultSet > SAL_CALL ODatabaseMetaData::getColumns(
76 : const Any& /*catalog*/, const ::rtl::OUString& /*schemaPattern*/, const ::rtl::OUString& /*tableNamePattern*/,
77 : const ::rtl::OUString& /*columnNamePattern*/ ) throw(SQLException, RuntimeException)
78 : {
79 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getColumns" );
80 : OSL_FAIL("Should be overloaded!");
81 0 : return new ODatabaseMetaDataResultSet( ODatabaseMetaDataResultSet::eColumns );
82 : }
83 :
84 : // -------------------------------------------------------------------------
85 : namespace
86 : {
87 0 : sal_Int16 isCaseSensitiveParentFolder( const String& _rFolderOrDoc, const String& _rDocName )
88 : {
89 0 : sal_Int16 nIsCS = 1;
90 : try
91 : {
92 : // first get the real content for the URL
93 0 : INetURLObject aContentURL( _rFolderOrDoc );
94 0 : ::ucbhelper::Content aContent1;
95 : {
96 0 : ::ucbhelper::Content aFolderOrDoc( _rFolderOrDoc, Reference< XCommandEnvironment >(), comphelper::getProcessComponentContext() );
97 0 : if ( aFolderOrDoc.isDocument() )
98 0 : aContent1 = aFolderOrDoc;
99 : else
100 : {
101 0 : aContentURL = INetURLObject( _rFolderOrDoc, INetURLObject::WAS_ENCODED );
102 0 : aContentURL.Append( _rDocName );
103 0 : aContent1 = ::ucbhelper::Content( aContentURL.GetMainURL( INetURLObject::NO_DECODE ), Reference< XCommandEnvironment >(), comphelper::getProcessComponentContext() );
104 0 : }
105 : }
106 :
107 : // get two extensions which differ by case only
108 0 : String sExtension1 = aContentURL.getExtension();
109 0 : String sExtension2( sExtension1 );
110 0 : sExtension2.ToLowerAscii();
111 0 : if ( sExtension2 == sExtension1 )
112 : // the extension was already in lower case
113 0 : sExtension2.ToUpperAscii();
114 :
115 : // the complete URL for the second extension
116 0 : INetURLObject aURL2( aContentURL );
117 0 : if ( sExtension2.Len() )
118 0 : aURL2.SetExtension( sExtension2 );
119 0 : if ( aURL2.GetMainURL(INetURLObject::NO_DECODE) == aContentURL.GetMainURL(INetURLObject::NO_DECODE) )
120 0 : return -1;
121 :
122 : // the second context
123 0 : sal_Bool bCanAccess = sal_False;
124 0 : ::ucbhelper::Content aContent2;
125 : try
126 : {
127 0 : aContent2 = ::ucbhelper::Content( aURL2.GetMainURL( INetURLObject::NO_DECODE ), Reference< XCommandEnvironment >(), comphelper::getProcessComponentContext() );
128 0 : bCanAccess = aContent2.isDocument();
129 : }
130 0 : catch( const Exception& )
131 : {
132 : }
133 :
134 0 : if ( bCanAccess )
135 : {
136 : // here we have two contents whose URLs differ by case only.
137 : // Now let's check if both really refer to the same object ....
138 0 : Reference< XContent > xContent1 = aContent1.get();
139 0 : Reference< XContent > xContent2 = aContent2.get();
140 : OSL_ENSURE( xContent1.is() && xContent2.is(), "isCaseSensitiveParentFolder: invalid content interfaces!" );
141 0 : if ( xContent1.is() && xContent2.is() )
142 : {
143 0 : Reference< XContentIdentifier > xID1 = xContent1->getIdentifier();
144 0 : Reference< XContentIdentifier > xID2 = xContent2->getIdentifier();
145 : OSL_ENSURE( xID1.is() && xID2.is(), "isCaseSensitiveParentFolder: invalid ID interfaces!" );
146 0 : if ( xID1.is() && xID2.is()
147 : && ( UniversalContentBroker::create(
148 0 : comphelper::getProcessComponentContext() )->
149 0 : compareContentIds( xID1, xID2 ) == 0 ) )
150 : {
151 : // finally, we know that the folder is not case-sensitive ....
152 0 : nIsCS = 0;
153 0 : }
154 0 : }
155 0 : }
156 : }
157 0 : catch( const Exception& )
158 : {
159 : OSL_FAIL( "isCaseSensitiveParentFolder: caught an unexpected exception!" );
160 : }
161 :
162 0 : return nIsCS;
163 : }
164 : }
165 :
166 : // -------------------------------------------------------------------------
167 0 : Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTables(
168 : const Any& /*catalog*/, const ::rtl::OUString& /*schemaPattern*/,
169 : const ::rtl::OUString& tableNamePattern, const Sequence< ::rtl::OUString >& types ) throw(SQLException, RuntimeException)
170 : {
171 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getTables" );
172 0 : ::osl::MutexGuard aGuard( m_aMutex );
173 :
174 :
175 0 : ODatabaseMetaDataResultSet* pResult = new ODatabaseMetaDataResultSet( ODatabaseMetaDataResultSet::eTables );
176 0 : Reference< XResultSet > xRef = pResult;
177 :
178 : // check if any type is given
179 : // when no types are given then we have to return all tables e.g. TABLE
180 :
181 0 : static const ::rtl::OUString aTable("TABLE");
182 :
183 0 : sal_Bool bTableFound = sal_True;
184 0 : sal_Int32 nLength = types.getLength();
185 0 : if(nLength)
186 : {
187 0 : bTableFound = sal_False;
188 :
189 0 : const ::rtl::OUString* pBegin = types.getConstArray();
190 0 : const ::rtl::OUString* pEnd = pBegin + nLength;
191 0 : for(;pBegin != pEnd;++pBegin)
192 : {
193 0 : if(*pBegin == aTable)
194 : {
195 0 : bTableFound = sal_True;
196 0 : break;
197 : }
198 : }
199 : }
200 0 : if(!bTableFound)
201 : return xRef;
202 :
203 0 : Reference<XDynamicResultSet> xContent = m_pConnection->getDir();
204 : Reference < XSortedDynamicResultSetFactory > xSRSFac =
205 0 : SortedDynamicResultSetFactory::create( comphelper::getComponentContext( m_pConnection->getDriver()->getFactory() ) );
206 :
207 0 : Sequence< NumberedSortingInfo > aSortInfo( 1 );
208 0 : NumberedSortingInfo* pInfo = aSortInfo.getArray();
209 0 : pInfo[ 0 ].ColumnIndex = 1;
210 0 : pInfo[ 0 ].Ascending = sal_True;
211 :
212 0 : Reference < XAnyCompareFactory > xFactory;
213 0 : Reference< XDynamicResultSet > xDynamicResultSet;
214 0 : xDynamicResultSet = xSRSFac->createSortedDynamicResultSet( xContent, aSortInfo, xFactory );
215 0 : Reference<XResultSet> xResultSet = xDynamicResultSet->getStaticResultSet();
216 :
217 0 : Reference<XRow> xRow(xResultSet,UNO_QUERY);
218 :
219 0 : String aFilenameExtension = m_pConnection->getExtension();
220 0 : String sThisContentExtension;
221 0 : ODatabaseMetaDataResultSet::ORows aRows;
222 : // scan the directory for tables
223 0 : ::rtl::OUString aName;
224 0 : INetURLObject aURL;
225 0 : xResultSet->beforeFirst();
226 :
227 0 : sal_Bool bKnowCaseSensivity = sal_False;
228 0 : sal_Bool bCaseSensitiveDir = sal_True;
229 0 : sal_Bool bCheckEnabled = m_pConnection->isCheckEnabled();
230 :
231 0 : while(xResultSet->next())
232 : {
233 0 : aName = xRow->getString(1);
234 0 : aURL.SetSmartProtocol(INET_PROT_FILE);
235 0 : String sUrl = m_pConnection->getURL() + ::rtl::OUString("/") + aName;
236 0 : aURL.SetSmartURL( sUrl );
237 0 : sThisContentExtension = aURL.getExtension();
238 :
239 0 : ODatabaseMetaDataResultSet::ORow aRow(3);
240 0 : aRow.reserve(6);
241 0 : sal_Bool bNewRow = sal_False;
242 :
243 0 : if ( !bKnowCaseSensivity )
244 : {
245 0 : bKnowCaseSensivity = sal_True;
246 0 : sal_Int16 nCase = isCaseSensitiveParentFolder( m_pConnection->getURL(), aURL.getName() );
247 0 : switch( nCase )
248 : {
249 : case 1:
250 0 : bCaseSensitiveDir = sal_True;
251 0 : break;
252 : case -1:
253 0 : bKnowCaseSensivity = sal_False;
254 : /** run through */
255 : case 0:
256 0 : bCaseSensitiveDir = sal_False;
257 : }
258 0 : if ( bKnowCaseSensivity )
259 : {
260 0 : m_pConnection->setCaseSensitiveExtension( bCaseSensitiveDir, OConnection::GrantAccess() );
261 0 : if ( !bCaseSensitiveDir )
262 0 : aFilenameExtension.ToLowerAscii();
263 : }
264 : }
265 :
266 0 : if (aFilenameExtension.Len())
267 : {
268 0 : if ( !bCaseSensitiveDir )
269 0 : sThisContentExtension.ToLowerAscii();
270 :
271 0 : if ( sThisContentExtension == aFilenameExtension )
272 : {
273 0 : aName = aName.replaceAt(aName.getLength()-(aFilenameExtension.Len()+1),aFilenameExtension.Len()+1,::rtl::OUString());
274 0 : sal_Unicode nChar = aName.toChar();
275 0 : if ( match(tableNamePattern,aName,'\0') && ( !bCheckEnabled || ( bCheckEnabled && ((nChar < '0' || nChar > '9')))) )
276 : {
277 0 : aRow.push_back(new ORowSetValueDecorator(aName));
278 0 : bNewRow = sal_True;
279 : }
280 : }
281 : }
282 : else // no extension, filter myself
283 : {
284 0 : sal_Bool bErg = sal_False;
285 0 : do
286 : {
287 0 : if (aURL.getExtension().isEmpty())
288 : {
289 0 : sal_Unicode nChar = aURL.getBase().getStr()[0];
290 0 : if(match(tableNamePattern,aURL.getBase(),'\0') && ( !bCheckEnabled || ( bCheckEnabled && ((nChar < '0' || nChar > '9')))) )
291 : {
292 0 : aRow.push_back(new ORowSetValueDecorator(::rtl::OUString(aURL.getBase())));
293 0 : bNewRow = sal_True;
294 : }
295 0 : break;
296 : }
297 0 : else if ( ( bErg = xResultSet->next() ) != sal_False )
298 : {
299 0 : aName = xRow->getString(1);
300 0 : aURL.SetSmartURL(aName);
301 : }
302 : } while (bErg);
303 : }
304 0 : if(bNewRow)
305 : {
306 0 : aRow.push_back(new ORowSetValueDecorator(aTable));
307 0 : aRow.push_back(ODatabaseMetaDataResultSet::getEmptyValue());
308 :
309 0 : aRows.push_back(aRow);
310 : }
311 0 : }
312 :
313 0 : pResult->setRows(aRows);
314 :
315 0 : return xRef;
316 : }
317 : // -------------------------------------------------------------------------
318 0 : sal_Int32 SAL_CALL ODatabaseMetaData::getMaxBinaryLiteralLength( ) throw(SQLException, RuntimeException)
319 : {
320 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getMaxBinaryLiteralLength" );
321 0 : return 0;
322 : }
323 : // -------------------------------------------------------------------------
324 0 : sal_Int32 SAL_CALL ODatabaseMetaData::getMaxRowSize( ) throw(SQLException, RuntimeException)
325 : {
326 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getMaxRowSize" );
327 0 : return 0;
328 : }
329 : // -------------------------------------------------------------------------
330 0 : sal_Int32 SAL_CALL ODatabaseMetaData::getMaxCatalogNameLength( ) throw(SQLException, RuntimeException)
331 : {
332 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getMaxCatalogNameLength" );
333 0 : return 0;
334 : }
335 : // -------------------------------------------------------------------------
336 0 : sal_Int32 SAL_CALL ODatabaseMetaData::getMaxCharLiteralLength( ) throw(SQLException, RuntimeException)
337 : {
338 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getMaxCharLiteralLength" );
339 0 : return STRING_MAXLEN;
340 : }
341 : // -------------------------------------------------------------------------
342 0 : sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnNameLength( ) throw(SQLException, RuntimeException)
343 : {
344 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getMaxColumnNameLength" );
345 0 : return 0;
346 : }
347 : // -------------------------------------------------------------------------
348 0 : sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInIndex( ) throw(SQLException, RuntimeException)
349 : {
350 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getMaxColumnsInIndex" );
351 0 : return 0;
352 : }
353 : // -------------------------------------------------------------------------
354 0 : sal_Int32 SAL_CALL ODatabaseMetaData::getMaxCursorNameLength( ) throw(SQLException, RuntimeException)
355 : {
356 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getMaxCursorNameLength" );
357 0 : return 0;
358 : }
359 : // -------------------------------------------------------------------------
360 0 : sal_Int32 SAL_CALL ODatabaseMetaData::getMaxConnections( ) throw(SQLException, RuntimeException)
361 : {
362 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getMaxConnections" );
363 0 : return 0;
364 : }
365 : // -------------------------------------------------------------------------
366 0 : sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInTable( ) throw(SQLException, RuntimeException)
367 : {
368 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getMaxColumnsInTable" );
369 0 : return 0;
370 : }
371 : // -------------------------------------------------------------------------
372 0 : sal_Int32 ODatabaseMetaData::impl_getMaxStatements_throw( )
373 : {
374 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::impl_getMaxStatements_throw" );
375 0 : return 0;
376 : }
377 : // -------------------------------------------------------------------------
378 0 : sal_Int32 SAL_CALL ODatabaseMetaData::getMaxTableNameLength( ) throw(SQLException, RuntimeException)
379 : {
380 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getMaxTableNameLength" );
381 0 : return 0;
382 : }
383 : // -------------------------------------------------------------------------
384 0 : sal_Int32 ODatabaseMetaData::impl_getMaxTablesInSelect_throw( )
385 : {
386 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::impl_getMaxTablesInSelect_throw" );
387 0 : return 1;
388 : }
389 : // -------------------------------------------------------------------------
390 0 : Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTablePrivileges(
391 : const Any& /*catalog*/, const ::rtl::OUString& /*schemaPattern*/, const ::rtl::OUString& tableNamePattern ) throw(SQLException, RuntimeException)
392 : {
393 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getTablePrivileges" );
394 0 : ::osl::MutexGuard aGuard( m_aMutex );
395 :
396 0 : ODatabaseMetaDataResultSet* pResult = new ODatabaseMetaDataResultSet( ODatabaseMetaDataResultSet::eTablePrivileges );
397 0 : Reference< XResultSet > xRef = pResult;
398 0 : ODatabaseMetaDataResultSet::ORows aRows;
399 :
400 :
401 0 : Reference< XTablesSupplier > xTabSup = m_pConnection->createCatalog();
402 0 : if( xTabSup.is())
403 : {
404 0 : Reference< XNameAccess> xNames = xTabSup->getTables();
405 0 : Sequence< ::rtl::OUString > aNames = xNames->getElementNames();
406 0 : const ::rtl::OUString* pBegin = aNames.getConstArray();
407 0 : const ::rtl::OUString* pEnd = pBegin + aNames.getLength();
408 0 : for(;pBegin != pEnd;++pBegin)
409 : {
410 0 : if(match(tableNamePattern,*pBegin,'\0'))
411 : {
412 0 : static ODatabaseMetaDataResultSet::ORow aRow(8);
413 :
414 0 : aRow[2] = new ORowSetValueDecorator(*pBegin);
415 0 : aRow[6] = ODatabaseMetaDataResultSet::getSelectValue();
416 0 : aRow[7] = new ORowSetValueDecorator(::rtl::OUString("NO"));
417 0 : aRows.push_back(aRow);
418 :
419 0 : Reference< XPropertySet> xTable;
420 0 : ::cppu::extractInterface(xTable,xNames->getByName(*pBegin));
421 0 : if(xTable.is())
422 : {
423 0 : Reference<XUnoTunnel> xTunnel(xTable,UNO_QUERY);
424 0 : if(xTunnel.is())
425 : {
426 0 : OFileTable* pTable = reinterpret_cast< OFileTable* >( xTunnel->getSomething(OFileTable::getUnoTunnelImplementationId()) );
427 0 : if(pTable)
428 : {
429 0 : if(!pTable->isReadOnly())
430 : {
431 0 : aRow[6] = ODatabaseMetaDataResultSet::getInsertValue();
432 0 : aRows.push_back(aRow);
433 0 : if(!m_pConnection->showDeleted())
434 : {
435 0 : aRow[6] = ODatabaseMetaDataResultSet::getDeleteValue();
436 0 : aRows.push_back(aRow);
437 : }
438 0 : aRow[6] = ODatabaseMetaDataResultSet::getUpdateValue();
439 0 : aRows.push_back(aRow);
440 0 : aRow[6] = ODatabaseMetaDataResultSet::getCreateValue();
441 0 : aRows.push_back(aRow);
442 0 : aRow[6] = ODatabaseMetaDataResultSet::getReadValue();
443 0 : aRows.push_back(aRow);
444 0 : aRow[6] = ODatabaseMetaDataResultSet::getAlterValue();
445 0 : aRows.push_back(aRow);
446 0 : aRow[6] = ODatabaseMetaDataResultSet::getDropValue();
447 0 : aRows.push_back(aRow);
448 : }
449 : }
450 0 : }
451 0 : }
452 : }
453 0 : }
454 : }
455 :
456 0 : pResult->setRows(aRows);
457 0 : return xRef;
458 : }
459 : // -------------------------------------------------------------------------
460 0 : sal_Bool SAL_CALL ODatabaseMetaData::doesMaxRowSizeIncludeBlobs( ) throw(SQLException, RuntimeException)
461 : {
462 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::doesMaxRowSizeIncludeBlobs" );
463 0 : return sal_True;
464 : }
465 : // -------------------------------------------------------------------------
466 0 : sal_Bool SAL_CALL ODatabaseMetaData::storesLowerCaseQuotedIdentifiers( ) throw(SQLException, RuntimeException)
467 : {
468 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::storesLowerCaseQuotedIdentifiers" );
469 0 : return sal_False;
470 : }
471 : // -------------------------------------------------------------------------
472 0 : sal_Bool SAL_CALL ODatabaseMetaData::storesLowerCaseIdentifiers( ) throw(SQLException, RuntimeException)
473 : {
474 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::storesLowerCaseIdentifiers" );
475 0 : return sal_False;
476 : }
477 : // -------------------------------------------------------------------------
478 0 : sal_Bool ODatabaseMetaData::impl_storesMixedCaseQuotedIdentifiers_throw( )
479 : {
480 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::impl_storesMixedCaseQuotedIdentifiers_throw" );
481 0 : return sal_False;
482 : }
483 : // -------------------------------------------------------------------------
484 0 : sal_Bool SAL_CALL ODatabaseMetaData::storesMixedCaseIdentifiers( ) throw(SQLException, RuntimeException)
485 : {
486 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::storesMixedCaseIdentifiers" );
487 0 : return sal_False;
488 : }
489 : // -------------------------------------------------------------------------
490 0 : sal_Bool SAL_CALL ODatabaseMetaData::storesUpperCaseQuotedIdentifiers( ) throw(SQLException, RuntimeException)
491 : {
492 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::storesUpperCaseQuotedIdentifiers" );
493 0 : return sal_False;
494 : }
495 : // -------------------------------------------------------------------------
496 0 : sal_Bool SAL_CALL ODatabaseMetaData::storesUpperCaseIdentifiers( ) throw(SQLException, RuntimeException)
497 : {
498 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::storesUpperCaseIdentifiers" );
499 0 : return sal_False;
500 : }
501 : // -------------------------------------------------------------------------
502 0 : sal_Bool ODatabaseMetaData::impl_supportsAlterTableWithAddColumn_throw( )
503 : {
504 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::impl_supportsAlterTableWithAddColumn_throw" );
505 0 : return sal_False;
506 : }
507 : // -------------------------------------------------------------------------
508 0 : sal_Bool ODatabaseMetaData::impl_supportsAlterTableWithDropColumn_throw( )
509 : {
510 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::impl_supportsAlterTableWithDropColumn_throw" );
511 0 : return sal_False;
512 : }
513 : // -------------------------------------------------------------------------
514 0 : sal_Int32 SAL_CALL ODatabaseMetaData::getMaxIndexLength( ) throw(SQLException, RuntimeException)
515 : {
516 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getMaxIndexLength" );
517 0 : return 0;
518 : }
519 : // -------------------------------------------------------------------------
520 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsNonNullableColumns( ) throw(SQLException, RuntimeException)
521 : {
522 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsNonNullableColumns" );
523 0 : return sal_False;
524 : }
525 : // -------------------------------------------------------------------------
526 0 : ::rtl::OUString SAL_CALL ODatabaseMetaData::getCatalogTerm( ) throw(SQLException, RuntimeException)
527 : {
528 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getCatalogTerm" );
529 0 : return ::rtl::OUString();
530 : }
531 : // -------------------------------------------------------------------------
532 0 : ::rtl::OUString ODatabaseMetaData::impl_getIdentifierQuoteString_throw( )
533 : {
534 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::impl_getIdentifierQuoteString_throw" );
535 0 : static const ::rtl::OUString sQuote("\"");
536 0 : return sQuote;
537 : }
538 : // -------------------------------------------------------------------------
539 0 : ::rtl::OUString SAL_CALL ODatabaseMetaData::getExtraNameCharacters( ) throw(SQLException, RuntimeException)
540 : {
541 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getExtraNameCharacters" );
542 0 : return ::rtl::OUString();
543 : }
544 : // -------------------------------------------------------------------------
545 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsDifferentTableCorrelationNames( ) throw(SQLException, RuntimeException)
546 : {
547 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsDifferentTableCorrelationNames" );
548 0 : return sal_True;
549 : }
550 : // -------------------------------------------------------------------------
551 0 : sal_Bool ODatabaseMetaData::impl_isCatalogAtStart_throw( )
552 : {
553 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::impl_isCatalogAtStart_throw" );
554 0 : return sal_True;
555 : }
556 : // -------------------------------------------------------------------------
557 0 : sal_Bool SAL_CALL ODatabaseMetaData::dataDefinitionIgnoredInTransactions( ) throw(SQLException, RuntimeException)
558 : {
559 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::dataDefinitionIgnoredInTransactions" );
560 0 : return sal_True;
561 : }
562 : // -------------------------------------------------------------------------
563 0 : sal_Bool SAL_CALL ODatabaseMetaData::dataDefinitionCausesTransactionCommit( ) throw(SQLException, RuntimeException)
564 : {
565 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::dataDefinitionCausesTransactionCommit" );
566 0 : return sal_True;
567 : }
568 : // -------------------------------------------------------------------------
569 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsDataManipulationTransactionsOnly( ) throw(SQLException, RuntimeException)
570 : {
571 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsDataManipulationTransactionsOnly" );
572 0 : return sal_False;
573 : }
574 : // -------------------------------------------------------------------------
575 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsDataDefinitionAndDataManipulationTransactions( ) throw(SQLException, RuntimeException)
576 : {
577 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsDataDefinitionAndDataManipulationTransactions" );
578 0 : return sal_False;
579 : }
580 : // -------------------------------------------------------------------------
581 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsPositionedDelete( ) throw(SQLException, RuntimeException)
582 : {
583 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsPositionedDelete" );
584 0 : return sal_False;
585 : }
586 : // -------------------------------------------------------------------------
587 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsPositionedUpdate( ) throw(SQLException, RuntimeException)
588 : {
589 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsPositionedUpdate" );
590 0 : return sal_False;
591 : }
592 : // -------------------------------------------------------------------------
593 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenStatementsAcrossRollback( ) throw(SQLException, RuntimeException)
594 : {
595 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsOpenStatementsAcrossRollback" );
596 0 : return sal_False;
597 : }
598 : // -------------------------------------------------------------------------
599 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenStatementsAcrossCommit( ) throw(SQLException, RuntimeException)
600 : {
601 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsOpenStatementsAcrossCommit" );
602 0 : return sal_False;
603 : }
604 : // -------------------------------------------------------------------------
605 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenCursorsAcrossCommit( ) throw(SQLException, RuntimeException)
606 : {
607 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsOpenCursorsAcrossCommit" );
608 0 : return sal_False;
609 : }
610 : // -------------------------------------------------------------------------
611 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenCursorsAcrossRollback( ) throw(SQLException, RuntimeException)
612 : {
613 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsOpenCursorsAcrossRollback" );
614 0 : return sal_False;
615 : }
616 : // -------------------------------------------------------------------------
617 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsTransactionIsolationLevel( sal_Int32 /*level*/ ) throw(SQLException, RuntimeException)
618 : {
619 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsTransactionIsolationLevel" );
620 0 : return sal_False;
621 : }
622 : // -------------------------------------------------------------------------
623 0 : sal_Bool ODatabaseMetaData::impl_supportsSchemasInDataManipulation_throw( )
624 : {
625 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::impl_supportsSchemasInDataManipulation_throw" );
626 0 : return sal_False;
627 : }
628 : // -------------------------------------------------------------------------
629 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsANSI92FullSQL( ) throw(SQLException, RuntimeException)
630 : {
631 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsANSI92FullSQL" );
632 0 : return sal_False;
633 : }
634 : // -------------------------------------------------------------------------
635 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsANSI92EntryLevelSQL( ) throw(SQLException, RuntimeException)
636 : {
637 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsANSI92EntryLevelSQL" );
638 0 : return sal_False;
639 : }
640 : // -------------------------------------------------------------------------
641 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsIntegrityEnhancementFacility( ) throw(SQLException, RuntimeException)
642 : {
643 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsIntegrityEnhancementFacility" );
644 0 : return sal_False;
645 : }
646 : // -------------------------------------------------------------------------
647 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInIndexDefinitions( ) throw(SQLException, RuntimeException)
648 : {
649 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsSchemasInIndexDefinitions" );
650 0 : return sal_False;
651 : }
652 : // -------------------------------------------------------------------------
653 0 : sal_Bool ODatabaseMetaData::impl_supportsSchemasInTableDefinitions_throw( )
654 : {
655 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::impl_supportsSchemasInTableDefinitions_throw" );
656 0 : return sal_False;
657 : }
658 : // -------------------------------------------------------------------------
659 0 : sal_Bool ODatabaseMetaData::impl_supportsCatalogsInTableDefinitions_throw( )
660 : {
661 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::impl_supportsCatalogsInTableDefinitions_throw" );
662 0 : return sal_False;
663 : }
664 : // -------------------------------------------------------------------------
665 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInIndexDefinitions( ) throw(SQLException, RuntimeException)
666 : {
667 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsCatalogsInIndexDefinitions" );
668 0 : return sal_False;
669 : }
670 : // -------------------------------------------------------------------------
671 0 : sal_Bool ODatabaseMetaData::impl_supportsCatalogsInDataManipulation_throw( )
672 : {
673 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::impl_supportsCatalogsInDataManipulation_throw" );
674 0 : return sal_False;
675 : }
676 : // -------------------------------------------------------------------------
677 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsOuterJoins( ) throw(SQLException, RuntimeException)
678 : {
679 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsOuterJoins" );
680 0 : return sal_False;
681 : }
682 : // -------------------------------------------------------------------------
683 0 : Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTableTypes( ) throw(SQLException, RuntimeException)
684 : {
685 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getTableTypes" );
686 0 : ::osl::MutexGuard aGuard( m_aMutex );
687 :
688 0 : ODatabaseMetaDataResultSet* pResult = new ODatabaseMetaDataResultSet( ODatabaseMetaDataResultSet::eTableTypes );
689 0 : Reference< XResultSet > xRef = pResult;
690 0 : static ODatabaseMetaDataResultSet::ORows aRows;
691 0 : if(aRows.empty())
692 : {
693 0 : ODatabaseMetaDataResultSet::ORow aRow;
694 0 : aRow.push_back(ODatabaseMetaDataResultSet::getEmptyValue());
695 0 : aRow.push_back(new ORowSetValueDecorator(::rtl::OUString("TABLE")));
696 0 : aRows.push_back(aRow);
697 : }
698 0 : pResult->setRows(aRows);
699 0 : return xRef;
700 : }
701 : // -------------------------------------------------------------------------
702 0 : sal_Int32 SAL_CALL ODatabaseMetaData::getMaxStatementLength( ) throw(SQLException, RuntimeException)
703 : {
704 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getMaxStatementLength" );
705 0 : return 0;
706 : }
707 : // -------------------------------------------------------------------------
708 0 : sal_Int32 SAL_CALL ODatabaseMetaData::getMaxProcedureNameLength( ) throw(SQLException, RuntimeException)
709 : {
710 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getMaxProcedureNameLength" );
711 0 : return 0;
712 : }
713 : // -------------------------------------------------------------------------
714 0 : sal_Int32 SAL_CALL ODatabaseMetaData::getMaxSchemaNameLength( ) throw(SQLException, RuntimeException)
715 : {
716 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getMaxSchemaNameLength" );
717 0 : return 0;
718 : }
719 : // -------------------------------------------------------------------------
720 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsTransactions( ) throw(SQLException, RuntimeException)
721 : {
722 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsTransactions" );
723 0 : return sal_False;
724 : }
725 : // -------------------------------------------------------------------------
726 0 : sal_Bool SAL_CALL ODatabaseMetaData::allProceduresAreCallable( ) throw(SQLException, RuntimeException)
727 : {
728 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::allProceduresAreCallable" );
729 0 : return sal_False;
730 : }
731 : // -------------------------------------------------------------------------
732 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsStoredProcedures( ) throw(SQLException, RuntimeException)
733 : {
734 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsStoredProcedures" );
735 0 : return sal_False;
736 : }
737 : // -------------------------------------------------------------------------
738 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsSelectForUpdate( ) throw(SQLException, RuntimeException)
739 : {
740 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsSelectForUpdate" );
741 0 : return sal_False;
742 : }
743 : // -------------------------------------------------------------------------
744 0 : sal_Bool SAL_CALL ODatabaseMetaData::allTablesAreSelectable( ) throw(SQLException, RuntimeException)
745 : {
746 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::allTablesAreSelectable" );
747 0 : return sal_True;
748 : }
749 : // -------------------------------------------------------------------------
750 0 : sal_Bool SAL_CALL ODatabaseMetaData::isReadOnly( ) throw(SQLException, RuntimeException)
751 : {
752 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::isReadOnly" );
753 0 : return sal_True;
754 : }
755 : // -------------------------------------------------------------------------
756 0 : sal_Bool SAL_CALL ODatabaseMetaData::usesLocalFiles( ) throw(SQLException, RuntimeException)
757 : {
758 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::usesLocalFiles" );
759 0 : return sal_True;
760 : }
761 : // -------------------------------------------------------------------------
762 0 : sal_Bool SAL_CALL ODatabaseMetaData::usesLocalFilePerTable( ) throw(SQLException, RuntimeException)
763 : {
764 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::usesLocalFilePerTable" );
765 0 : return sal_True;
766 : }
767 : // -------------------------------------------------------------------------
768 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsTypeConversion( ) throw(SQLException, RuntimeException)
769 : {
770 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsTypeConversion" );
771 0 : return sal_False;
772 : }
773 : // -------------------------------------------------------------------------
774 0 : sal_Bool SAL_CALL ODatabaseMetaData::nullPlusNonNullIsNull( ) throw(SQLException, RuntimeException)
775 : {
776 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::nullPlusNonNullIsNull" );
777 0 : return sal_True;
778 : }
779 : // -------------------------------------------------------------------------
780 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsColumnAliasing( ) throw(SQLException, RuntimeException)
781 : {
782 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsColumnAliasing" );
783 0 : return sal_True;
784 : }
785 : // -------------------------------------------------------------------------
786 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsTableCorrelationNames( ) throw(SQLException, RuntimeException)
787 : {
788 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsTableCorrelationNames" );
789 0 : return sal_True;
790 : }
791 : // -------------------------------------------------------------------------
792 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsConvert( sal_Int32 /*fromType*/, sal_Int32 /*toType*/ ) throw(SQLException, RuntimeException)
793 : {
794 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsConvert" );
795 0 : return sal_False;
796 : }
797 : // -------------------------------------------------------------------------
798 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsExpressionsInOrderBy( ) throw(SQLException, RuntimeException)
799 : {
800 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsExpressionsInOrderBy" );
801 0 : return sal_False;
802 : }
803 : // -------------------------------------------------------------------------
804 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsGroupBy( ) throw(SQLException, RuntimeException)
805 : {
806 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsGroupBy" );
807 0 : return sal_False;
808 : }
809 : // -------------------------------------------------------------------------
810 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsGroupByBeyondSelect( ) throw(SQLException, RuntimeException)
811 : {
812 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsGroupByBeyondSelect" );
813 0 : return sal_False;
814 : }
815 : // -------------------------------------------------------------------------
816 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsGroupByUnrelated( ) throw(SQLException, RuntimeException)
817 : {
818 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsGroupByUnrelated" );
819 0 : return sal_False;
820 : }
821 : // -------------------------------------------------------------------------
822 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsMultipleTransactions( ) throw(SQLException, RuntimeException)
823 : {
824 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsMultipleTransactions" );
825 0 : return sal_False;
826 : }
827 : // -------------------------------------------------------------------------
828 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsMultipleResultSets( ) throw(SQLException, RuntimeException)
829 : {
830 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsMultipleResultSets" );
831 0 : return sal_False;
832 : }
833 : // -------------------------------------------------------------------------
834 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsLikeEscapeClause( ) throw(SQLException, RuntimeException)
835 : {
836 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsLikeEscapeClause" );
837 0 : return sal_False;
838 : }
839 : // -------------------------------------------------------------------------
840 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsOrderByUnrelated( ) throw(SQLException, RuntimeException)
841 : {
842 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsOrderByUnrelated" );
843 0 : return sal_True;
844 : }
845 : // -------------------------------------------------------------------------
846 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsUnion( ) throw(SQLException, RuntimeException)
847 : {
848 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsUnion" );
849 0 : return sal_False;
850 : }
851 : // -------------------------------------------------------------------------
852 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsUnionAll( ) throw(SQLException, RuntimeException)
853 : {
854 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsUnionAll" );
855 0 : return sal_False;
856 : }
857 : // -------------------------------------------------------------------------
858 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsMixedCaseIdentifiers( ) throw(SQLException, RuntimeException)
859 : {
860 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsMixedCaseIdentifiers" );
861 0 : return sal_True;
862 : }
863 : // -------------------------------------------------------------------------
864 0 : sal_Bool ODatabaseMetaData::impl_supportsMixedCaseQuotedIdentifiers_throw( )
865 : {
866 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::impl_supportsMixedCaseQuotedIdentifiers_throw" );
867 0 : return sal_False;
868 : }
869 : // -------------------------------------------------------------------------
870 0 : sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedAtEnd( ) throw(SQLException, RuntimeException)
871 : {
872 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::nullsAreSortedAtEnd" );
873 0 : return sal_False;
874 : }
875 : // -------------------------------------------------------------------------
876 0 : sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedAtStart( ) throw(SQLException, RuntimeException)
877 : {
878 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::nullsAreSortedAtStart" );
879 0 : return sal_True;
880 : }
881 : // -------------------------------------------------------------------------
882 0 : sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedHigh( ) throw(SQLException, RuntimeException)
883 : {
884 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::nullsAreSortedHigh" );
885 0 : return sal_False;
886 : }
887 : // -------------------------------------------------------------------------
888 0 : sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedLow( ) throw(SQLException, RuntimeException)
889 : {
890 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::nullsAreSortedLow" );
891 0 : return sal_True;
892 : }
893 : // -------------------------------------------------------------------------
894 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInProcedureCalls( ) throw(SQLException, RuntimeException)
895 : {
896 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsSchemasInProcedureCalls" );
897 0 : return sal_False;
898 : }
899 : // -------------------------------------------------------------------------
900 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInPrivilegeDefinitions( ) throw(SQLException, RuntimeException)
901 : {
902 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsSchemasInPrivilegeDefinitions" );
903 0 : return sal_False;
904 : }
905 : // -------------------------------------------------------------------------
906 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInProcedureCalls( ) throw(SQLException, RuntimeException)
907 : {
908 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsCatalogsInProcedureCalls" );
909 0 : return sal_False;
910 : }
911 : // -------------------------------------------------------------------------
912 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInPrivilegeDefinitions( ) throw(SQLException, RuntimeException)
913 : {
914 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsCatalogsInPrivilegeDefinitions" );
915 0 : return sal_False;
916 : }
917 : // -------------------------------------------------------------------------
918 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsCorrelatedSubqueries( ) throw(SQLException, RuntimeException)
919 : {
920 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsCorrelatedSubqueries" );
921 0 : return sal_False;
922 : }
923 : // -------------------------------------------------------------------------
924 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInComparisons( ) throw(SQLException, RuntimeException)
925 : {
926 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsSubqueriesInComparisons" );
927 0 : return sal_False;
928 : }
929 : // -------------------------------------------------------------------------
930 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInExists( ) throw(SQLException, RuntimeException)
931 : {
932 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsSubqueriesInExists" );
933 0 : return sal_False;
934 : }
935 : // -------------------------------------------------------------------------
936 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInIns( ) throw(SQLException, RuntimeException)
937 : {
938 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsSubqueriesInIns" );
939 0 : return sal_False;
940 : }
941 : // -------------------------------------------------------------------------
942 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInQuantifieds( ) throw(SQLException, RuntimeException)
943 : {
944 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsSubqueriesInQuantifieds" );
945 0 : return sal_False;
946 : }
947 : // -------------------------------------------------------------------------
948 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsANSI92IntermediateSQL( ) throw(SQLException, RuntimeException)
949 : {
950 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsANSI92IntermediateSQL" );
951 0 : return sal_False;
952 : }
953 : // -------------------------------------------------------------------------
954 0 : ::rtl::OUString SAL_CALL ODatabaseMetaData::getURL( ) throw(SQLException, RuntimeException)
955 : {
956 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getURL" );
957 0 : static const ::rtl::OUString aValue( "sdbc:file:" );
958 0 : return aValue;
959 : }
960 : // -------------------------------------------------------------------------
961 0 : ::rtl::OUString SAL_CALL ODatabaseMetaData::getUserName( ) throw(SQLException, RuntimeException)
962 : {
963 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getUserName" );
964 0 : return ::rtl::OUString();
965 : }
966 : // -------------------------------------------------------------------------
967 0 : ::rtl::OUString SAL_CALL ODatabaseMetaData::getDriverName( ) throw(SQLException, RuntimeException)
968 : {
969 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getDriverName" );
970 0 : return ::rtl::OUString();
971 : }
972 : // -------------------------------------------------------------------------
973 0 : ::rtl::OUString SAL_CALL ODatabaseMetaData::getDriverVersion( ) throw(SQLException, RuntimeException)
974 : {
975 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getDriverVersion" );
976 0 : return ::rtl::OUString::valueOf((sal_Int32)1);
977 : }
978 : // -------------------------------------------------------------------------
979 0 : ::rtl::OUString SAL_CALL ODatabaseMetaData::getDatabaseProductVersion( ) throw(SQLException, RuntimeException)
980 : {
981 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getDatabaseProductVersion" );
982 0 : return ::rtl::OUString::valueOf((sal_Int32)0);
983 : }
984 : // -------------------------------------------------------------------------
985 0 : ::rtl::OUString SAL_CALL ODatabaseMetaData::getDatabaseProductName( ) throw(SQLException, RuntimeException)
986 : {
987 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getDatabaseProductName" );
988 0 : return ::rtl::OUString();
989 : }
990 : // -------------------------------------------------------------------------
991 0 : ::rtl::OUString SAL_CALL ODatabaseMetaData::getProcedureTerm( ) throw(SQLException, RuntimeException)
992 : {
993 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getProcedureTerm" );
994 0 : return ::rtl::OUString();
995 : }
996 : // -------------------------------------------------------------------------
997 0 : ::rtl::OUString SAL_CALL ODatabaseMetaData::getSchemaTerm( ) throw(SQLException, RuntimeException)
998 : {
999 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getSchemaTerm" );
1000 0 : return ::rtl::OUString();
1001 : }
1002 : // -------------------------------------------------------------------------
1003 0 : sal_Int32 SAL_CALL ODatabaseMetaData::getDriverMajorVersion( ) throw(RuntimeException)
1004 : {
1005 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getDriverMajorVersion" );
1006 0 : return 0;
1007 : }
1008 : // -------------------------------------------------------------------------
1009 0 : sal_Int32 SAL_CALL ODatabaseMetaData::getDefaultTransactionIsolation( ) throw(SQLException, RuntimeException)
1010 : {
1011 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getDefaultTransactionIsolation" );
1012 0 : return 0;
1013 : }
1014 : // -------------------------------------------------------------------------
1015 0 : sal_Int32 SAL_CALL ODatabaseMetaData::getDriverMinorVersion( ) throw(RuntimeException)
1016 : {
1017 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getDriverMinorVersion" );
1018 0 : return 0;
1019 : }
1020 : // -------------------------------------------------------------------------
1021 0 : ::rtl::OUString SAL_CALL ODatabaseMetaData::getSQLKeywords( ) throw(SQLException, RuntimeException)
1022 : {
1023 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getSQLKeywords" );
1024 0 : return ::rtl::OUString();
1025 : }
1026 : // -------------------------------------------------------------------------
1027 0 : ::rtl::OUString SAL_CALL ODatabaseMetaData::getSearchStringEscape( ) throw(SQLException, RuntimeException)
1028 : {
1029 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getSearchStringEscape" );
1030 0 : return ::rtl::OUString();
1031 : }
1032 : // -------------------------------------------------------------------------
1033 0 : ::rtl::OUString SAL_CALL ODatabaseMetaData::getStringFunctions( ) throw(SQLException, RuntimeException)
1034 : {
1035 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getStringFunctions" );
1036 0 : return ::rtl::OUString("UCASE,LCASE,ASCII,LENGTH,OCTET_LENGTH,CHAR_LENGTH,CHARACTER_LENGTH,CHAR,CONCAT,LOCATE,SUBSTRING,LTRIM,RTRIM,SPACE,REPLACE,REPEAT,INSERT,LEFT,RIGHT");
1037 : }
1038 : // -------------------------------------------------------------------------
1039 0 : ::rtl::OUString SAL_CALL ODatabaseMetaData::getTimeDateFunctions( ) throw(SQLException, RuntimeException)
1040 : {
1041 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getTimeDateFunctions" );
1042 0 : return ::rtl::OUString("DAYOFWEEK,DAYOFMONTH,DAYOFYEAR,MONTH,DAYNAME,MONTHNAME,QUARTER,WEEK,YEAR,HOUR,MINUTE,SECOND,CURDATE,CURTIME,NOW");
1043 : }
1044 : // -------------------------------------------------------------------------
1045 0 : ::rtl::OUString SAL_CALL ODatabaseMetaData::getSystemFunctions( ) throw(SQLException, RuntimeException)
1046 : {
1047 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getSystemFunctions" );
1048 0 : return ::rtl::OUString();
1049 : }
1050 : // -------------------------------------------------------------------------
1051 0 : ::rtl::OUString SAL_CALL ODatabaseMetaData::getNumericFunctions( ) throw(SQLException, RuntimeException)
1052 : {
1053 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getNumericFunctions" );
1054 0 : return ::rtl::OUString("ABS,SIGN,MOD,FLOOR,CEILING,ROUND,EXP,LN,LOG,LOG10,POWER,SQRT,PI,COS,SIN,TAN,ACOS,ASIN,ATAN,ATAN2,DEGREES,RADIANS");
1055 : }
1056 : // -------------------------------------------------------------------------
1057 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsExtendedSQLGrammar( ) throw(SQLException, RuntimeException)
1058 : {
1059 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsExtendedSQLGrammar" );
1060 0 : return sal_False;
1061 : }
1062 : // -------------------------------------------------------------------------
1063 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsCoreSQLGrammar( ) throw(SQLException, RuntimeException)
1064 : {
1065 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsCoreSQLGrammar" );
1066 0 : return sal_False;
1067 : }
1068 : // -------------------------------------------------------------------------
1069 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsMinimumSQLGrammar( ) throw(SQLException, RuntimeException)
1070 : {
1071 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsMinimumSQLGrammar" );
1072 0 : return sal_True;
1073 : }
1074 : // -------------------------------------------------------------------------
1075 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsFullOuterJoins( ) throw(SQLException, RuntimeException)
1076 : {
1077 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsFullOuterJoins" );
1078 0 : return sal_False;
1079 : }
1080 : // -------------------------------------------------------------------------
1081 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsLimitedOuterJoins( ) throw(SQLException, RuntimeException)
1082 : {
1083 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsLimitedOuterJoins" );
1084 0 : return sal_False;
1085 : }
1086 : // -------------------------------------------------------------------------
1087 0 : sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInGroupBy( ) throw(SQLException, RuntimeException)
1088 : {
1089 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getMaxColumnsInGroupBy" );
1090 0 : return 0;
1091 : }
1092 : // -------------------------------------------------------------------------
1093 0 : sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInOrderBy( ) throw(SQLException, RuntimeException)
1094 : {
1095 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getMaxColumnsInOrderBy" );
1096 0 : return 0;
1097 : }
1098 : // -------------------------------------------------------------------------
1099 0 : sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInSelect( ) throw(SQLException, RuntimeException)
1100 : {
1101 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getMaxColumnsInSelect" );
1102 0 : return 0;
1103 : }
1104 : // -------------------------------------------------------------------------
1105 0 : sal_Int32 SAL_CALL ODatabaseMetaData::getMaxUserNameLength( ) throw(SQLException, RuntimeException)
1106 : {
1107 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getMaxUserNameLength" );
1108 0 : return 0;
1109 : }
1110 : // -------------------------------------------------------------------------
1111 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsResultSetType( sal_Int32 setType ) throw(SQLException, RuntimeException)
1112 : {
1113 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsResultSetType" );
1114 0 : switch(setType)
1115 : {
1116 : case ResultSetType::FORWARD_ONLY:
1117 0 : return sal_True;
1118 : case ResultSetType::SCROLL_INSENSITIVE:
1119 : case ResultSetType::SCROLL_SENSITIVE:
1120 0 : break;
1121 : }
1122 0 : return sal_False;
1123 : }
1124 : // -------------------------------------------------------------------------
1125 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsResultSetConcurrency( sal_Int32 setType, sal_Int32 /*concurrency*/ ) throw(SQLException, RuntimeException)
1126 : {
1127 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsResultSetConcurrency" );
1128 0 : switch(setType)
1129 : {
1130 : case ResultSetType::FORWARD_ONLY:
1131 0 : return sal_True;
1132 : case ResultSetType::SCROLL_INSENSITIVE:
1133 : case ResultSetType::SCROLL_SENSITIVE:
1134 0 : break;
1135 : }
1136 0 : return sal_False;
1137 : }
1138 : // -------------------------------------------------------------------------
1139 0 : sal_Bool SAL_CALL ODatabaseMetaData::ownUpdatesAreVisible( sal_Int32 /*setType*/ ) throw(SQLException, RuntimeException)
1140 : {
1141 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::ownUpdatesAreVisible" );
1142 0 : return sal_True;
1143 : }
1144 : // -------------------------------------------------------------------------
1145 0 : sal_Bool SAL_CALL ODatabaseMetaData::ownDeletesAreVisible( sal_Int32 /*setType*/ ) throw(SQLException, RuntimeException)
1146 : {
1147 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::ownDeletesAreVisible" );
1148 0 : return sal_True;
1149 : }
1150 : // -------------------------------------------------------------------------
1151 0 : sal_Bool SAL_CALL ODatabaseMetaData::ownInsertsAreVisible( sal_Int32 /*setType*/ ) throw(SQLException, RuntimeException)
1152 : {
1153 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::ownInsertsAreVisible" );
1154 0 : return sal_True;
1155 : }
1156 : // -------------------------------------------------------------------------
1157 0 : sal_Bool SAL_CALL ODatabaseMetaData::othersUpdatesAreVisible( sal_Int32 /*setType*/ ) throw(SQLException, RuntimeException)
1158 : {
1159 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::othersUpdatesAreVisible" );
1160 0 : return sal_True;
1161 : }
1162 : // -------------------------------------------------------------------------
1163 0 : sal_Bool SAL_CALL ODatabaseMetaData::othersDeletesAreVisible( sal_Int32 /*setType*/ ) throw(SQLException, RuntimeException)
1164 : {
1165 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::othersDeletesAreVisible" );
1166 0 : return sal_True;
1167 : }
1168 : // -------------------------------------------------------------------------
1169 0 : sal_Bool SAL_CALL ODatabaseMetaData::othersInsertsAreVisible( sal_Int32 /*setType*/ ) throw(SQLException, RuntimeException)
1170 : {
1171 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::othersInsertsAreVisible" );
1172 0 : return sal_True;
1173 : }
1174 : // -------------------------------------------------------------------------
1175 0 : sal_Bool SAL_CALL ODatabaseMetaData::updatesAreDetected( sal_Int32 /*setType*/ ) throw(SQLException, RuntimeException)
1176 : {
1177 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::updatesAreDetected" );
1178 0 : return sal_False;
1179 : }
1180 : // -------------------------------------------------------------------------
1181 0 : sal_Bool SAL_CALL ODatabaseMetaData::deletesAreDetected( sal_Int32 /*setType*/ ) throw(SQLException, RuntimeException)
1182 : {
1183 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::deletesAreDetected" );
1184 0 : return sal_False;
1185 : }
1186 : // -------------------------------------------------------------------------
1187 0 : sal_Bool SAL_CALL ODatabaseMetaData::insertsAreDetected( sal_Int32 /*setType*/ ) throw(SQLException, RuntimeException)
1188 : {
1189 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::insertsAreDetected" );
1190 0 : return sal_False;
1191 : }
1192 : // -------------------------------------------------------------------------
1193 0 : sal_Bool SAL_CALL ODatabaseMetaData::supportsBatchUpdates( ) throw(SQLException, RuntimeException)
1194 : {
1195 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::supportsBatchUpdates" );
1196 0 : return sal_False;
1197 : }
1198 : // -------------------------------------------------------------------------
1199 0 : 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)
1200 : {
1201 : RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "ODatabaseMetaData::getUDTs" );
1202 0 : return NULL;
1203 : }
1204 :
1205 :
1206 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|