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