/trunk/main/connectivity/source/drivers/dbase/ |
H A D | DIndex.cxx | 387 ::rtl::OUString sDir = m_pTable->getConnection()->getURL(); in getCompletePath() 400 ::rtl::OUString sCfgFile(m_pTable->getConnection()->getURL()); in createINFEntry() 428 aInfFile.WriteKey(aNewEntry,ByteString(sEntry,m_pTable->getConnection()->getTextEncoding())); in createINFEntry() 439 … m_pTable->getConnection()->throwGenericSQLException(STR_COULD_NOT_DELETE_INDEX,*m_pTable); in DropImpl() 444 ::rtl::OUString sCfgFile(m_pTable->getConnection()->getURL()); in DropImpl() 467 if(sEntry == String(aInfFile.ReadKey(aKeyName),m_pTable->getConnection()->getTextEncoding())) in DropImpl() 482 m_pTable->getConnection()->throwGenericSQLException(_nErrorId,*this); in impl_killFileAndthrowError_throw() 499 m_pTable->getConnection()->throwGenericSQLException(STR_ONL_ONE_COLUMN_PER_INDEX,*this); in CreateImpl() 538 xStmt.set( m_pTable->getConnection()->createStatement(), UNO_SET_THROW); in CreateImpl() 542 const String aQuote(m_pTable->getConnection()->getMetaData()->getIdentifierQuoteString()); in CreateImpl() [all …]
|
H A D | DTable.cxx | 339 const sal_Bool bCase = getConnection()->getMetaData()->supportsMixedCaseQuotedIdentifiers(); in fillColumns() 473 m_eEncoding = getConnection()->getTextEncoding(); in ODbaseTable() 491 m_eEncoding = getConnection()->getTextEncoding(); in ODbaseTable() 1180 const ::rtl::OUString sError( getConnection()->getResources().getResourceStringWithSubstitution( in throwInvalidColumnType() 2056 const ::rtl::OUString sError( getConnection()->getResources().getResourceStringWithSubstitution( in UpdateBuffer() 2275 xCpy = new OColumn(getConnection()->getMetaData()->supportsMixedCaseQuotedIdentifiers()); in alterColumn() 2291 xCpy = new OColumn(getConnection()->getMetaData()->supportsMixedCaseQuotedIdentifiers()); in alterColumn() 2344 return getConnection()->getMetaData(); in getMetaData() 2432 sal_Bool bCase = getConnection()->getMetaData()->supportsMixedCaseQuotedIdentifiers(); in addColumn() 2505 sal_Bool bCase = getConnection()->getMetaData()->supportsMixedCaseQuotedIdentifiers(); in dropColumn() [all …]
|
H A D | DTables.cxx | 56 …et = new ODbaseTable(this,(ODbaseConnection*)static_cast<OFileCatalog&>(m_rParent).getConnection(), in createObject() 71 …return new ODbaseTable(this,(ODbaseConnection*)static_cast<OFileCatalog&>(m_rParent).getConnection… in createDescriptor() 113 …op_Static(ODbaseTable::getEntry(static_cast<OFileCatalog&>(m_rParent).getConnection(),_sElementNam… in dropObject() 125 …const ::rtl::OUString sError( static_cast<OFileCatalog&>(m_rParent).getConnection()->getResources(… in dropObject()
|
H A D | DNoException.cxx | 157 ::rtl::OUString aStr(aBStr.GetBuffer(), aBStr.Len(),getConnection()->getTextEncoding()); in ReadMemo() 208 aStr += ::rtl::OUString(aBStr.GetBuffer(),aBStr.Len(), getConnection()->getTextEncoding()); in ReadMemo() 218 aStr += ::rtl::OUString(aBStr.GetBuffer(),aBStr.Len(), getConnection()->getTextEncoding()); in ReadMemo() 293 …aKey = ONDXKey(::rtl::OUString(aBuf.GetBuffer(),aBuf.Len(),rIndex.m_pTable->getConnection()->getTe… in Read() 329 ByteString aText(sValue.getStr(), rIndex.m_pTable->getConnection()->getTextEncoding()); in Write() 540 …r* )ByteString(rKey.getValue().getString().getStr(), rIndex.m_pTable->getConnection()->getTextEnco… in PrintPage()
|
/trunk/main/connectivity/source/commontools/ |
H A D | TKeys.cxx | 136 Reference< XConnection> xConnection = m_pTable->getConnection(); in appendObject() 168 … ::rtl::OUString aQuote = m_pTable->getConnection()->getMetaData()->getIdentifierQuoteString( ); in appendObject() 171 …aSql.append(composeTableName( m_pTable->getConnection()->getMetaData(), m_pTable, ::dbtools::eInTa… in appendObject() 201 …aSql.append(::dbtools::quoteTableName(m_pTable->getConnection()->getMetaData(),sReferencedName,::d… in appendObject() 217 Reference< XStatement > xStmt = m_pTable->getConnection()->createStatement( ); in appendObject() 273 Reference< XConnection> xConnection = m_pTable->getConnection(); in dropObject() 286 …aSql.append( composeTableName( m_pTable->getConnection()->getMetaData(), m_pTable,::dbtools::eInTa… in dropObject() 301 …const ::rtl::OUString aQuote = m_pTable->getConnection()->getMetaData()->getIdentifierQuoteString(… in dropObject() 305 Reference< XStatement > xStmt = m_pTable->getConnection()->createStatement( ); in dropObject()
|
H A D | TColumnsHelper.cxx | 90 Reference<XConnection> xConnection = m_pTable->getConnection(); in createObject() 179 Reference<XDatabaseMetaData> xMetaData = m_pTable->getConnection()->getMetaData(); in appendObject() 185 …aSql += ::dbtools::createStandardColumnPart(descriptor,m_pTable->getConnection(),NULL,m_pTable->ge… in appendObject() 187 Reference< XStatement > xStmt = m_pTable->getConnection()->createStatement( ); in appendObject() 203 Reference<XDatabaseMetaData> xMetaData = m_pTable->getConnection()->getMetaData(); in dropObject() 210 Reference< XStatement > xStmt = m_pTable->getConnection()->createStatement( ); in dropObject()
|
H A D | TIndexes.cxx | 60 Reference< XConnection> xConnection = m_pTable->getConnection(); in createObject() 133 Reference< XConnection> xConnection = m_pTable->getConnection(); in appendObject() 170 …bAddIndexAppendix = ::dbtools::getBooleanDataSourceSetting( m_pTable->getConnection(), "AddIndexAp… in appendObject() 206 Reference< XStatement > xStmt = m_pTable->getConnection()->createStatement( ); in appendObject() 221 Reference< XConnection> xConnection = m_pTable->getConnection(); in dropObject() 246 Reference< XStatement > xStmt = m_pTable->getConnection()->createStatement( ); in dropObject()
|
/trunk/main/connectivity/source/drivers/ado/ |
H A D | ATable.cxx | 97 …umns = new OColumns(*this,m_aMutex,aVector,aColumns,isCaseSensitive(),m_pCatalog->getConnection()); in refreshColumns() 114 m_pKeys = new OKeys(*this,m_aMutex,aVector,aKeys,isCaseSensitive(),m_pCatalog->getConnection()); in refreshKeys() 131 …exes = new OIndexes(*this,m_aMutex,aVector,aIndexes,isCaseSensitive(),m_pCatalog->getConnection()); in refreshIndexes() 165 ADOS::ThrowException(*(m_pCatalog->getConnection()->getConnection()),*this); in rename() 172 return m_pCatalog->getConnection()->getMetaData(); in getMetaData() 190 ADOS::ThrowException(*(m_pCatalog->getConnection()->getConnection()),*this); in alterColumnByName()
|
H A D | AUser.cxx | 190 ADOS::ThrowException(*m_pCatalog->getConnection()->getConnection(),*this); in getGrantablePrivileges() 199 ADOS::ThrowException(*m_pCatalog->getConnection()->getConnection(),*this); in grantPrivileges() 207 ADOS::ThrowException(*m_pCatalog->getConnection()->getConnection(),*this); in revokePrivileges() 216 ADOS::ThrowException(*m_pCatalog->getConnection()->getConnection(),*this); in changePassword()
|
H A D | AViews.cxx | 70 …m_pCatalog->getConnection()->throwGenericSQLException( STR_INVALID_VIEW_DESCRIPTOR_ERROR,static_ca… in appendObject() 75 …m_pCatalog->getConnection()->throwGenericSQLException( STR_VIEW_NO_COMMAND_ERROR,static_cast<XType… in appendObject() 82 …ADOS::ThrowException(*m_pCatalog->getConnection()->getConnection(),static_cast<XTypeProvider*>(thi… in appendObject() 95 …ADOS::ThrowException(*m_pCatalog->getConnection()->getConnection(),static_cast<XTypeProvider*>(thi… in dropObject()
|
H A D | ATables.cxx | 78 …m_pCatalog->getConnection()->throwGenericSQLException( STR_INVALID_TABLE_DESCRIPTOR_ERROR,static_c… in appendObject() 82 …ADOS::ThrowException(*m_pCatalog->getConnection()->getConnection(),static_cast<XTypeProvider*>(thi… in appendObject() 93 …ADOS::ThrowException(*m_pCatalog->getConnection()->getConnection(),static_cast<XTypeProvider*>(thi… in dropObject()
|
H A D | AKey.cxx | 111 ADOS::ThrowException(*m_pConnection->getConnection(),*this); in setFastPropertyValue_NoBroadcast() 119 ADOS::ThrowException(*m_pConnection->getConnection(),*this); in setFastPropertyValue_NoBroadcast() 127 ADOS::ThrowException(*m_pConnection->getConnection(),*this); in setFastPropertyValue_NoBroadcast() 135 ADOS::ThrowException(*m_pConnection->getConnection(),*this); in setFastPropertyValue_NoBroadcast() 143 ADOS::ThrowException(*m_pConnection->getConnection(),*this); in setFastPropertyValue_NoBroadcast()
|
/trunk/main/connectivity/source/drivers/file/ |
H A D | fcomp.cxx | 109 … m_pAnalyzer->getConnection()->throwGenericSQLException(STR_QUERY_COMPLEX_COUNT,NULL); in start() 255 m_pAnalyzer->getConnection()->throwGenericSQLException(STR_QUERY_TOO_COMPLEX,NULL); in execute_COMPARE() 305 m_pAnalyzer->getConnection()->throwGenericSQLException(STR_QUERY_TOO_COMPLEX,NULL); in execute_LIKE() 313 … m_pAnalyzer->getConnection()->throwGenericSQLException(STR_QUERY_INVALID_LIKE_STRING,NULL); in execute_LIKE() 318 m_pAnalyzer->getConnection()->throwGenericSQLException(STR_QUERY_INVALID_LIKE_STRING,NULL); in execute_LIKE() 349 m_pAnalyzer->getConnection()->throwGenericSQLException(STR_QUERY_INVALID_BETWEEN,NULL); in execute_BETWEEN() 457 …const ::rtl::OUString sError( m_pAnalyzer->getConnection()->getResources().getResourceStringWithSu… in execute_Operand() 472 …const ::rtl::OUString sError( m_pAnalyzer->getConnection()->getResources().getResourceStringWithSu… in execute_Operand() 533 m_pAnalyzer->getConnection()->throwGenericSQLException(STR_QUERY_TOO_COMPLEX,NULL); in execute_Operand() 553 m_pAnalyzer->getConnection()->throwGenericSQLException(STR_QUERY_TOO_COMPLEX,NULL); in execute_Operand() [all …]
|
/trunk/main/connectivity/source/drivers/adabas/ |
H A D | BViews.cxx | 74 Reference<XConnection> xConnection = static_cast<OAdabasCatalog&>(m_rParent).getConnection(); in createObject() 112 Reference<XConnection> xConnection = static_cast<OAdabasCatalog&>(m_rParent).getConnection(); in createDescriptor() 133 OAdabasConnection* pConnection = static_cast<OAdabasCatalog&>(m_rParent).getConnection(); in dropObject() 161 …::rtl::OUString aQuote = static_cast<OAdabasCatalog&>(m_rParent).getConnection()->getMetaData()->g… in createView() 169 …SCHEMANAME),makeAny(sSchema = static_cast<OAdabasCatalog&>(m_rParent).getConnection()->getMetaData… in createView() 176 OAdabasConnection* pConnection = static_cast<OAdabasCatalog&>(m_rParent).getConnection(); in createView()
|
H A D | BTables.cxx | 75 …AdabasTable* pRet = new OAdabasTable(this, static_cast<OAdabasCatalog&>(m_rParent).getConnection(), in createObject() 98 return new OAdabasTable(this,static_cast<OAdabasCatalog&>(m_rParent).getConnection()); in createDescriptor() 111 …::rtl::OUString aQuote = static_cast<OAdabasCatalog&>(m_rParent).getConnection()->getMetaData()->g… in setComments() 114 OAdabasConnection* pConnection = static_cast<OAdabasCatalog&>(m_rParent).getConnection(); in setComments() 166 OAdabasConnection* pConnection = static_cast<OAdabasCatalog&>(m_rParent).getConnection(); in dropObject() 201 …::rtl::OUString aQuote = static_cast<OAdabasCatalog&>(m_rParent).getConnection()->getMetaData()->g… in createTable() 209 …OPERTY_ID_SCHEMANAME),makeAny(static_cast<OAdabasCatalog&>(m_rParent).getConnection()->getUserName… in createTable() 348 OAdabasConnection* pConnection = static_cast<OAdabasCatalog&>(m_rParent).getConnection(); in createTable()
|
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/convwatch/ |
H A D | DB.java | 333 Connection aCon = new ShareConnection().getConnection(); in updatestate_status() 349 Connection aCon = new ShareConnection().getConnection(); in updateinfo_status() 362 Connection aCon = new ShareConnection().getConnection(); in updateerrorfile_status() 372 Connection aCon = new ShareConnection().getConnection(); in updatehtmlfile_status() 382 Connection aCon = new ShareConnection().getConnection(); in updatepagecount_documents() 421 Connection aCon = new ShareConnection().getConnection(); in getDBDistinct() 477 Connection aCon = new ShareConnection().getConnection(); in insertinto_documentcompare_impl()
|
/trunk/main/dbaccess/source/ui/tabledesign/ |
H A D | TableController.cxx | 313 Reference<XTablesSupplier> xTablesSup(getConnection(),UNO_QUERY); in doSaveDoc() 351 DynamicTableOrQueryNameCheck aNameChecker( getConnection(), CommandType::TABLE ); in doSaveDoc() 352 …OSaveAsDlg aDlg( getView(), CommandType::TABLE, getORB(), getConnection(), aDefaultName, aNameChec… in doSaveDoc() 418 …::dbaui::appendToFilter(getConnection(),m_sName,getORB(),getView()); // we are not interessted in … in doSaveDoc() 527 …iew(), aFieldNames, xIndexes, getConnection(),getORB(),isConnected() ? getConnection()->getMetaDat… in doEditIndexes() 556 …::dbaui::fillTypeInfo(getConnection(),m_sTypeNames,m_aTypeInfo,m_aTypeInfoIndex); // fill the n… in impl_initialize() 626 Reference<XTablesSupplier> xTablesSup(getConnection(),UNO_QUERY); in suspend() 973 DatabaseMetaData aMetaData( getConnection() ); in checkColumns() 1426 Reference<XTablesSupplier> xSup(getConnection(),UNO_QUERY); in assignTable() 1439 Reference<XDatabaseMetaData> xMeta = getConnection()->getMetaData(); in assignTable() [all …]
|
/trunk/main/dbaccess/source/sdbtools/connection/ |
H A D | connectiontools.cxx | 98 return new TableName( getContext(), getConnection() ); in createTableName() 105 return new ObjectNames( getContext(), getConnection() ); in getObjectNames() 112 return new DataSourceMetaData( getContext(), getConnection() ); in getDataSourceMetaData() 119 …ntainer::XNameAccess > xRet = ::dbtools::getFieldsByCommandDescriptor(getConnection(),commandType,… in getFieldsByCommandDescriptor() 128 dbtools::StatementComposer aComposer(getConnection(), command, commandType, sal_True ); in getComposer()
|
H A D | objectnames.cxx | 428 …NameCheck( NameCheckFactory::createExistenceCheck( getContext(), _CommandType, getConnection() ) ); in suggestName() 457 Reference< XDatabaseMetaData > xMeta( getConnection()->getMetaData(), UNO_QUERY_THROW ); in convertToSQLName() 466 …pNameCheck( NameCheckFactory::createExistenceCheck( getContext(), _CommandType, getConnection()) ); in isNameUsed() 475 … pNameCheck( NameCheckFactory::createValidityCheck( getContext(), _CommandType, getConnection()) ); in isNameValid() 484 …NameCheck( NameCheckFactory::createExistenceCheck( getContext(), _CommandType, getConnection() ) ); in checkNameForCreate() 487 … pNameCheck = NameCheckFactory::createValidityCheck( getContext(), _CommandType, getConnection() ); in checkNameForCreate()
|
/trunk/main/dbaccess/source/ui/querydesign/ |
H A D | querycontroller.cxx | 643 pNode->parseNodeToStr( sNewStatement, getConnection() ); in Execute() 779 pNode->parseNodeToStr(sTemp,getConnection()); in Execute() 971 Reference< XViewsSupplier > xViewsSup( getConnection(), UNO_QUERY ); in impl_initialize() 1091 Reference< XSQLQueryComposerFactory > xFactory(getConnection(), UNO_QUERY); in setQueryComposer() 1105 Reference<XTablesSupplier> xTablesSup(getConnection(), UNO_QUERY); in setQueryComposer() 1251 Reference< XViewsSupplier > xViewsSupp( getConnection(), UNO_QUERY ); in getObjectContainer() 1257 Reference< XQueriesSupplier > xQueriesSupp( getConnection(), UNO_QUERY ); in getObjectContainer() 1321 aProps[4].Value <<= getConnection(); in executeQuery() 1389 getConnection(), in askForNewName() 1545 ::dbaui::appendToFilter( getConnection(), m_sName, getORB(), getView() ); in doSaveAsDoc() [all …]
|
/trunk/main/connectivity/java/dbtools/src/org/apache/openoffice/comp/sdbc/dbtools/sdbcx/ |
H A D | OColumnContainer.java | 102 … String composedName = DbTools.composeTableNameForSelect(metadata.getConnection(), table); in createObject() 103 … extraColumnInfo = DbTools.collectColumnInformation(metadata.getConnection(), composedName, "*"); in createObject() 142 …DbTools.createStandardColumnPart(descriptor, table.getConnection(), null, table.getTypeCreatePatte… in appendObject() 145 statement = table.getConnection().createStatement(); in appendObject() 165 statement = table.getConnection().createStatement(); in dropObject()
|
/trunk/main/wizards/com/sun/star/wizards/db/ |
H A D | DBMetaData.java | 588 public boolean getConnection(PropertyValue[] curproperties) in getConnection() method in DBMetaData 611 return getConnection(xConnection); in getConnection() 625 return getConnection(sDataSourceName); in getConnection() 635 return getConnection(m_dataSource); in getConnection() 640 return getConnection(sDataSourceName); in getConnection() 659 private boolean getConnection(String _DataSourceName) in getConnection() method in DBMetaData 662 return getConnection( getDataSource() ); in getConnection() 665 private boolean getConnection(com.sun.star.sdbc.XConnection _DBConnection) in getConnection() method in DBMetaData 681 private boolean getConnection(XDataSource _dataSource) in getConnection() method in DBMetaData 695 … DBConnection = _dataSource.getConnection(PropertyNames.EMPTY_STRING, PropertyNames.EMPTY_STRING); in getConnection()
|
/trunk/main/connectivity/java/sdbc_postgresql/src/com/sun/star/sdbcx/comp/postgresql/ |
H A D | PostgresqlTable.java | 91 …List<ColumnDescription> columns = new SqlTableHelper().readColumns(getConnection().getMetaData(), … in refreshColumns() 92 …return new OColumnContainer(this, isCaseSensitive(), columns, this, getConnection().getMetaData()); in refreshColumns() 103 …List<String> indexes = new SqlTableHelper().readIndexes(getConnection().getMetaData(), catalogName… in refreshIndexes() 116 … getConnection().getMetaData(), catalogName, schemaName, getName(), isCaseSensitive(), this); in refreshKeys()
|
H A D | PostgresqlTables.java | 75 … ret = new PostgresqlTable(metadata.getConnection(), this, nameComponents.getTable(), in createObject() 113 statement = metadata.getConnection().createStatement(); in dropObject() 142 …String sql = DbTools.createSqlCreateTableStatement(descriptor, metadata.getConnection(), null, "(M… in createTable() 143 statement = metadata.getConnection().createStatement(); in createTable()
|
/trunk/main/connectivity/source/drivers/hsqldb/ |
H A D | HTables.cxx | 87 ,static_cast<OHCatalog&>(m_rParent).getConnection() in createObject() 115 return new OHSQLTable(this,static_cast<OHCatalog&>(m_rParent).getConnection()); in createDescriptor() 132 Reference< XConnection > xConnection = static_cast<OHCatalog&>(m_rParent).getConnection(); in dropObject() 168 Reference< XConnection > xConnection = static_cast<OHCatalog&>(m_rParent).getConnection(); in createTable()
|