/aoo41x/main/connectivity/source/commontools/ |
H A D | dbtools2.cxx | 72 Reference<XDatabaseMetaData> xMetaData = _xConnection->getMetaData(); in createStandardColumnPart() local 81 const ::rtl::OUString sQuoteString = xMetaData->getIdentifierQuoteString(); in createStandardColumnPart() 103 Reference<XResultSet> xRes = xMetaData->getTypeInfo(); in createStandardColumnPart() 196 Reference<XDatabaseMetaData> xMetaData = _xConnection->getMetaData(); in createStandardCreateStatement() local 257 Reference<XDatabaseMetaData> xMetaData = _xConnection->getMetaData(); in createStandardKeyStatement() local 291 aSql.append(generateColumnNames(xColumns,xMetaData)); in createStandardKeyStatement() 302 aSql.append(generateColumnNames(xColumns,xMetaData)); in createStandardKeyStatement() 315 ::dbtools::qualifiedNameComponents(xMetaData, in createStandardKeyStatement() 327 aSql.append(generateColumnNames(xColumns,xMetaData)); in createStandardKeyStatement() 397 Reference<XDatabaseMetaData> xMetaData = _xConnection->getMetaData(); in lcl_createSDBCXColumn() local [all …]
|
H A D | TColumnsHelper.cxx | 179 Reference<XDatabaseMetaData> xMetaData = m_pTable->getConnection()->getMetaData(); in appendObject() local 181 ::rtl::OUString aQuote = xMetaData->getIdentifierQuoteString( ); in appendObject() 183 …aSql += ::dbtools::composeTableName( xMetaData, m_pTable, ::dbtools::eInTableDefinitions, false, f… in appendObject() 203 Reference<XDatabaseMetaData> xMetaData = m_pTable->getConnection()->getMetaData(); in dropObject() local 204 ::rtl::OUString aQuote = xMetaData->getIdentifierQuoteString( ); in dropObject() 206 …aSql += ::dbtools::composeTableName( xMetaData, m_pTable, ::dbtools::eInTableDefinitions, false, f… in dropObject()
|
/aoo41x/main/dbaccess/source/ui/tabledesign/ |
H A D | TableController.cxx | 832 Reference< XDatabaseMetaData> xMetaData = getMetaData( ); in loadData() local 835 if(m_xTable.is() && xMetaData.is()) in loadData() 972 Reference< XDatabaseMetaData > xMetaData = getMetaData( ); in checkColumns() local 975 …::comphelper::UStringMixEqual bCase(xMetaData.is() ? xMetaData->supportsMixedCaseQuotedIdentifiers… in checkColumns() 1056 Reference< XDatabaseMetaData> xMetaData = getMetaData( ); in alterColumns() local 1463 Reference< XDatabaseMetaData > xMetaData = getMetaData( ); in isAddAllowed() local 1464 bAddAllowed = bAddAllowed || ( xMetaData.is() && xMetaData->supportsAlterTableWithAddColumn()); in isAddAllowed() 1485 Reference< XDatabaseMetaData> xMetaData = getMetaData( ); in isDropAllowed() local 1486 bDropAllowed = bDropAllowed || ( xMetaData.is() && xMetaData->supportsAlterTableWithDropColumn()); in isDropAllowed() 1522 Reference< XDatabaseMetaData> xMetaData = getMetaData( ); in createUniqueName() local [all …]
|
H A D | TEditControl.cxx | 321 …Reference< XDatabaseMetaData> xMetaData = xCon.is() ? xCon->getMetaData() : Reference< XDatabaseMe… in InitCellController() local 323 …nMaxTextLen = ((xub_StrLen)xMetaData.is() ? static_cast<xub_StrLen>(xMetaData->getMaxColumnNameLen… in InitCellController() 327 sExtraNameChars = xMetaData.is() ? xMetaData->getExtraNameCharacters() : ::rtl::OUString(); in InitCellController() 635 …Reference< XDatabaseMetaData> xMetaData = xCon.is() ? xCon->getMetaData() : Reference< XDatabaseMe… in HasFieldName() local 637 …::comphelper::UStringMixEqual bCase(xMetaData.is() ? xMetaData->supportsMixedCaseQuotedIdentifiers… in HasFieldName() 970 …Reference< XDatabaseMetaData> xMetaData = xCon.is() ? xCon->getMetaData() : Reference< XDatabaseMe… in GenerateName() local 972 xub_StrLen nMaxTextLen((xub_StrLen)( xMetaData.is() ? xMetaData->getMaxColumnNameLength() : 0)); in GenerateName()
|
/aoo41x/main/connectivity/source/drivers/dbase/ |
H A D | DConnection.cxx | 78 Reference< XDatabaseMetaData > xMetaData = m_xMetaData; in getMetaData() local 79 if(!xMetaData.is()) in getMetaData() 81 xMetaData = new ODbaseDatabaseMetaData(this); in getMetaData() 82 m_xMetaData = xMetaData; in getMetaData() 85 return xMetaData; in getMetaData()
|
/aoo41x/main/dbaccess/source/ui/dlg/ |
H A D | AdabasStat.cxx | 122 Reference<XDatabaseMetaData> xMetaData; in OAdabasStatistics() local 126 xMetaData = m_xConnection->getMetaData(); in OAdabasStatistics() 133 aStmt += ::dbtools::quoteTableName(xMetaData,sSchema,::dbtools::eInDataManipulation); in OAdabasStatistics() 187 aStmt += ::dbtools::quoteTableName(xMetaData,sSchema,::dbtools::eInDataManipulation); in OAdabasStatistics() 230 aStmt += ::dbtools::quoteTableName(xMetaData,sSchema,::dbtools::eInDataManipulation); in OAdabasStatistics() 243 aStmt += ::dbtools::quoteTableName(xMetaData,sSchema,::dbtools::eInDataManipulation); in OAdabasStatistics()
|
/aoo41x/main/connectivity/source/drivers/flat/ |
H A D | EConnection.cxx | 125 Reference< XDatabaseMetaData > xMetaData = m_xMetaData; in getMetaData() local 126 if(!xMetaData.is()) in getMetaData() 128 xMetaData = new OFlatDatabaseMetaData(this); in getMetaData() 129 m_xMetaData = xMetaData; in getMetaData() 132 return xMetaData; in getMetaData()
|
/aoo41x/main/connectivity/source/drivers/calc/ |
H A D | CConnection.cxx | 221 Reference< XDatabaseMetaData > xMetaData = m_xMetaData; in getMetaData() local 222 if(!xMetaData.is()) in getMetaData() 224 xMetaData = new OCalcDatabaseMetaData(this); in getMetaData() 225 m_xMetaData = xMetaData; in getMetaData() 228 return xMetaData; in getMetaData()
|
/aoo41x/main/connectivity/source/drivers/evoab2/ |
H A D | NConnection.cxx | 148 Reference< XDatabaseMetaData > xMetaData = m_xMetaData; in getMetaData() local 149 if(!xMetaData.is()) in getMetaData() 151 xMetaData = new OEvoabDatabaseMetaData(this); in getMetaData() 152 m_xMetaData = xMetaData; in getMetaData() 155 return xMetaData; in getMetaData()
|
/aoo41x/main/connectivity/source/drivers/kab/ |
H A D | KConnection.cxx | 173 Reference< XDatabaseMetaData > xMetaData = m_xMetaData; in getMetaData() local 174 if (!xMetaData.is()) in getMetaData() 176 xMetaData = new KabDatabaseMetaData(this); // need the connection because it can return it in getMetaData() 177 m_xMetaData = xMetaData; in getMetaData() 180 return xMetaData; in getMetaData()
|
/aoo41x/main/connectivity/source/drivers/macab/ |
H A D | MacabConnection.cxx | 168 Reference< XDatabaseMetaData > xMetaData = m_xMetaData; in getMetaData() local 169 if (!xMetaData.is()) in getMetaData() 171 xMetaData = new MacabDatabaseMetaData(this); // need the connection because it can return it in getMetaData() 172 m_xMetaData = xMetaData; in getMetaData() 175 return xMetaData; in getMetaData()
|
/aoo41x/main/connectivity/source/drivers/adabas/ |
H A D | BConnection.cxx | 194 Reference< XDatabaseMetaData > xMetaData = m_xMetaData; in getMetaData() local 195 if(!xMetaData.is()) in getMetaData() 197 xMetaData = new OAdabasDatabaseMetaData(m_aConnectionHandle,this); in getMetaData() 198 m_xMetaData = xMetaData; in getMetaData() 201 return xMetaData; in getMetaData()
|
/aoo41x/main/dbaccess/source/ui/misc/ |
H A D | WColumnSelect.cxx | 236 Reference< XDatabaseMetaData > xMetaData( m_pParent->m_xDestConnection->getMetaData() ); in IMPL_LINK() local 237 ::rtl::OUString sExtraChars = xMetaData->getExtraNameCharacters(); in IMPL_LINK() 240 ::comphelper::TStringMixEqualFunctor aCase(xMetaData->supportsMixedCaseQuotedIdentifiers()); in IMPL_LINK() 286 Reference< XDatabaseMetaData > xMetaData( m_pParent->m_xDestConnection->getMetaData() ); in IMPL_LINK() local 287 ::rtl::OUString sExtraChars = xMetaData->getExtraNameCharacters(); in IMPL_LINK() 290 ::comphelper::TStringMixEqualFunctor aCase(xMetaData->supportsMixedCaseQuotedIdentifiers()); in IMPL_LINK()
|
H A D | WCopyTable.cxx | 864 Reference< XDatabaseMetaData > xMetaData( m_xDestConnection->getMetaData() ); in CheckColumns() local 865 ::rtl::OUString sExtraChars = xMetaData->getExtraNameCharacters(); in CheckColumns() 1295 Reference< XDatabaseMetaData> xMetaData = m_xDestConnection->getMetaData(); in createTable() local 1296 ::dbtools::qualifiedNameComponents(xMetaData, in createTable() 1303 if ( !sCatalog.getLength() && xMetaData->supportsCatalogsInTableDefinitions() ) in createTable() 1308 if ( !sSchema.getLength() && xMetaData->supportsSchemasInTableDefinitions() ) in createTable() 1310 sSchema = xMetaData->getUserName(); in createTable() 1419 Reference< XDatabaseMetaData > xMetaData( _rxConnection->getMetaData(), UNO_SET_THROW ); in supportsViews() local 1426 Reference< XResultSet > xRs( xMetaData->getTableTypes(), UNO_SET_THROW ); in supportsViews() 1460 Reference< XDatabaseMetaData > xMetaData( m_xDestConnection->getMetaData(), UNO_SET_THROW ); in getMaxColumnNameLength() local [all …]
|
/aoo41x/main/dbaccess/source/ui/querydesign/ |
H A D | SelectionBrowseBox.cxx | 146 Reference< XDatabaseMetaData > xMetaData = _xConnection->getMetaData(); in lcl_SupportsCoreSQLGrammar() local 147 bSupportsCoreGrammar = xMetaData.is() && xMetaData->supportsCoreSQLGrammar(); in lcl_SupportsCoreSQLGrammar() 279 Reference< XDatabaseMetaData > xMetaData = xConnection->getMetaData(); in initialize() local 280 if ( xMetaData.is() ) in initialize() 282 m_bOrderByUnRelated = xMetaData->supportsOrderByUnrelated(); in initialize() 283 m_bGroupByUnRelated = xMetaData->supportsGroupByUnrelated(); in initialize() 426 Reference< XDatabaseMetaData > xMetaData = xConnection->getMetaData(); in Init() local 427 m_nMaxColumns = xMetaData.is() ? xMetaData->getMaxColumnsInSelect() : 0; in Init() 727 Reference< XDatabaseMetaData > xMetaData; in saveField() local 729 xMetaData = xConnection->getMetaData(); in saveField() [all …]
|
H A D | QueryDesignView.cxx | 383 const ::rtl::OUString aQuote = xMetaData->getIdentifierQuoteString(); in BuildJoinCriteria() 448 Reference< XDatabaseMetaData > xMetaData = _xConnection->getMetaData(); in BuildTable() local 454 ::rtl::OUString aQuote = xMetaData->getIdentifierQuoteString(); in BuildTable() 698 const ::rtl::OUString aQuote = xMetaData->getIdentifierQuoteString(); in GenerateSelectList() 803 const ::rtl::OUString aQuote = xMetaData->getIdentifierQuoteString(); in GenerateCriterias() 971 Reference< XDatabaseMetaData > xMetaData = xConnection->getMetaData(); in GenerateOrder() local 972 ::rtl::OUString aQuote = xMetaData->getIdentifierQuoteString(); in GenerateOrder() 1037 const sal_Int32 nMaxOrder = xMetaData->getMaxColumnsInOrderBy(); in GenerateOrder() 1231 const ::rtl::OUString aQuote = xMetaData->getIdentifierQuoteString(); in GenerateGroupBy() 1604 Reference< XDatabaseMetaData > xMetaData = xConnection->getMetaData(); in AddFunctionCondition() local [all …]
|
/aoo41x/main/odk/examples/DevelopersGuide/Database/DriverSkeleton/ |
H A D | SConnection.cxx | 221 Reference< XDatabaseMetaData > xMetaData = m_xMetaData; in getMetaData() local 222 if(!xMetaData.is()) in getMetaData() 224 xMetaData = new ODatabaseMetaData(this); // need the connection because it can return it in getMetaData() 225 m_xMetaData = xMetaData; in getMetaData() 228 return xMetaData; in getMetaData()
|
/aoo41x/main/connectivity/source/drivers/file/ |
H A D | FConnection.cxx | 295 Reference< XDatabaseMetaData > xMetaData = m_xMetaData; in getMetaData() local 296 if(!xMetaData.is()) in getMetaData() 298 xMetaData = new ODatabaseMetaData(this); in getMetaData() 299 m_xMetaData = xMetaData; in getMetaData() 302 return xMetaData; in getMetaData()
|
/aoo41x/main/extensions/source/dbpilots/ |
H A D | listcombowizard.cxx | 166 Reference< XDatabaseMetaData > xMetaData; in implApplySettings() local 168 xMetaData = xConn->getMetaData(); in implApplySettings() 171 if (xMetaData.is()) in implApplySettings() 173 ::rtl::OUString sQuoteString = xMetaData->getIdentifierQuoteString(); in implApplySettings() 178 …::dbtools::qualifiedNameComponents( xMetaData, getSettings().sListContentTable, sCatalog, sSchema,… in implApplySettings()
|
/aoo41x/main/dbaccess/source/core/api/ |
H A D | OptimisticSet.cxx | 238 Reference<XDatabaseMetaData> xMetaData = m_xConnection->getMetaData(); in updateRow() local 249 …::dbtools::qualifiedNameComponents(xMetaData,aSqlIter->first,sCatalog,sSchema,sTable,::dbtools::eI… in updateRow() 312 Reference<XDatabaseMetaData> xMetaData = m_xConnection->getMetaData(); in insertRow() local 324 …::dbtools::qualifiedNameComponents(xMetaData,aSqlIter->first,sCatalog,sSchema,sTable,::dbtools::eI… in insertRow() 403 Reference<XDatabaseMetaData> xMetaData = m_xConnection->getMetaData(); in deleteRow() local 414 …::dbtools::qualifiedNameComponents(xMetaData,aSqlIter->first,sCatalog,sSchema,sTable,::dbtools::eI… in deleteRow() 702 Reference<XDatabaseMetaData> xMetaData = m_xConnection->getMetaData(); in fillMissingValues() local 713 …::dbtools::qualifiedNameComponents(xMetaData,aSqlIter->first,sCatalog,sSchema,sTable,::dbtools::eI… in fillMissingValues()
|
H A D | preparedstatement.cxx | 182 Reference< XResultSetMetaData > xMetaData( xSuppMeta->getMetaData(), UNO_SET_THROW ); in getColumns() local 187 for (sal_Int32 i = 0, nCount = xMetaData->getColumnCount(); i < nCount; ++i) in getColumns() 190 rtl::OUString aName = xMetaData->getColumnName(i + 1); in getColumns() 191 OResultColumn* pColumn = new OResultColumn(xMetaData, i + 1, xDBMeta); in getColumns()
|
/aoo41x/main/mysqlc/source/ |
H A D | mysqlc_connection.cxx | 439 Reference< XDatabaseMetaData > xMetaData = m_xMetaData; in getMetaData() local 440 if (!xMetaData.is()) { in getMetaData() 442 xMetaData = new ODatabaseMetaData(*this); // need the connection because it can return it in getMetaData() 446 m_xMetaData = xMetaData; in getMetaData() 449 return xMetaData; in getMetaData()
|
/aoo41x/main/connectivity/source/drivers/ado/ |
H A D | AConnection.cxx | 279 Reference< XDatabaseMetaData > xMetaData = m_xMetaData; in getMetaData() local 280 if(!xMetaData.is()) in getMetaData() 282 xMetaData = new ODatabaseMetaData(this); in getMetaData() 283 m_xMetaData = xMetaData; in getMetaData() 286 return xMetaData; in getMetaData()
|
/aoo41x/main/connectivity/source/drivers/odbcbase/ |
H A D | OConnection.cxx | 371 Reference< XDatabaseMetaData > xMetaData = m_xMetaData; in getMetaData() local 372 if(!xMetaData.is()) in getMetaData() 374 xMetaData = new ODatabaseMetaData(m_aConnectionHandle,this); in getMetaData() 375 m_xMetaData = xMetaData; in getMetaData() 378 return xMetaData; in getMetaData()
|
/aoo41x/main/extensions/source/bibliography/ |
H A D | datman.cxx | 1018 Reference< XDatabaseMetaData > xMetaData = xConnection->getMetaData(); in createDatabaseForm() local 1019 aQuoteChar = xMetaData->getIdentifierQuoteString(); in createDatabaseForm() 1028 …::dbtools::qualifiedNameComponents( xMetaData, aActiveDataTable, sCatalog, sSchema, sName, ::dbtoo… in createDatabaseForm() 1214 Reference<XDatabaseMetaData> xMetaData(xConnection->getMetaData(),UNO_QUERY); in setActiveDataSource() local 1215 aQuoteChar = xMetaData->getIdentifierQuoteString(); in setActiveDataSource() 1218 …::dbtools::qualifiedNameComponents( xMetaData, aActiveDataTable, sCatalog, sSchema, sName, ::dbtoo… in setActiveDataSource() 1280 Reference< XDatabaseMetaData > xMetaData = xConnection->getMetaData(); in setActiveDataTable() local 1281 aQuoteChar = xMetaData->getIdentifierQuoteString(); in setActiveDataTable() 1290 …::dbtools::qualifiedNameComponents( xMetaData, aActiveDataTable, sCatalog, sSchema, sName, ::dbtoo… in setActiveDataTable()
|