/trunk/main/connectivity/source/cpool/ |
H A D | ZConnectionWrapper.cxx | 94 return m_xConnection->nativeSQL(sql); in nativeSQL() 120 m_xConnection->commit(); in commit() 129 m_xConnection->rollback(); in rollback() 136 return m_xConnection->isClosed(); in isClosed() 145 return m_xConnection->getMetaData(); in getMetaData() 154 m_xConnection->setReadOnly(readOnly); in setReadOnly() 163 return m_xConnection->isReadOnly(); in isReadOnly() 172 m_xConnection->setCatalog(catalog); in setCatalog() 181 return m_xConnection->getCatalog(); in getCatalog() 208 return m_xConnection->getTypeMap(); in getTypeMap() [all …]
|
/trunk/main/dbaccess/source/core/dataaccess/ |
H A D | SharedConnection.cxx | 86 return m_xConnection->prepareCall(sql); in prepareCall() 95 return m_xConnection->nativeSQL(sql); in nativeSQL() 104 return m_xConnection->getAutoCommit(); in getAutoCommit() 113 m_xConnection->commit(); in commit() 122 m_xConnection->rollback(); in rollback() 128 if ( !m_xConnection.is() ) in isClosed() 131 return m_xConnection->isClosed(); in isClosed() 140 return m_xConnection->getMetaData(); in getMetaData() 149 return m_xConnection->isReadOnly(); in isReadOnly() 158 return m_xConnection->getCatalog(); in getCatalog() [all …]
|
/trunk/main/dbaccess/source/ui/misc/ |
H A D | dbsubcomponentcontroller.cxx | 144 SharedConnection m_xConnection; member 268 m_pImpl->m_aSdbMetaData.reset( m_pImpl->m_xConnection ); in initializeConnection() 269 startConnectionListening( m_pImpl->m_xConnection ); in initializeConnection() 323 stopConnectionListening( m_pImpl->m_xConnection ); in reconnect() 325 m_pImpl->m_xConnection.clear(); in reconnect() 339 m_pImpl->m_aSdbMetaData.reset( m_pImpl->m_xConnection ); in reconnect() 349 stopConnectionListening(m_pImpl->m_xConnection); in disconnect() 351 m_pImpl->m_xConnection.clear(); in disconnect() 391 … m_pImpl->m_xConnection.reset( m_pImpl->m_xConnection, SharedConnection::NoTakeOwnership ); in disposing() 500 return m_pImpl->m_xConnection; in getConnection() [all …]
|
H A D | TokenWriter.cxx | 133 ,m_xConnection(_rxConnection) in ODatabaseImportExport() 173 Reference< XComponent > xComponent(m_xConnection, UNO_QUERY); in dispose() 179 m_xConnection.clear(); in dispose() 196 if(m_xConnection.is() && m_xConnection == xCon) in disposing() 198 m_xConnection.clear(); in disposing() 226 m_xConnection.reset( xPureConn, SharedConnection::NoTakeOwnership ); in impl_initFromDescriptor() 228 Reference< XComponent > xComponent(m_xConnection, UNO_QUERY); in impl_initFromDescriptor() 283 if ( !m_xConnection.is() ) in initialize() 291 m_xConnection.reset( xConnection ); in initialize() 303 Reference<XTablesSupplier> xSup(m_xConnection,UNO_QUERY); in initialize() [all …]
|
/trunk/main/dbaccess/source/sdbtools/connection/ |
H A D | objectnames.cxx | 102 Reference< XConnection > m_xConnection; member in sdbtools::PlainExistenceCheck 108 ,m_xConnection( _rxConnection ) in PlainExistenceCheck() 128 ::dbtools::DatabaseMetaData aMeta( m_xConnection ); in validateName_throw() 145 const Reference< XConnection > m_xConnection; member in sdbtools::TableValidityCheck 150 ,m_xConnection( _rxConnection ) in TableValidityCheck() 156 ::dbtools::DatabaseMetaData aMeta( m_xConnection ); in validateName() 164 … ::rtl::OUString sExtraNameCharacters( m_xConnection->getMetaData()->getExtraNameCharacters() ); in validateName() 180 aErrors.raiseException( ErrorCondition::DB_INVALID_SQL_NAME, m_xConnection, _rName ); in validateName_throw() 190 const Reference< XConnection > m_xConnection; member in sdbtools::QueryValidityCheck 195 ,m_xConnection( _rxConnection ) in QueryValidityCheck() [all …]
|
H A D | connectiondependent.hxx | 60 m_xConnection; 90 getConnection() const { return m_xConnection; } in getConnection() 103 …m_xConnection = (::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >)m_aConnec… in acquireConnection() 104 return m_xConnection.is(); in acquireConnection() 108 m_xConnection.clear(); in releaseConnection()
|
/trunk/main/dbaccess/source/ui/control/ |
H A D | ColumnControlWindow.cxx | 120 …Reference< XNumberFormatsSupplier > xSupplier(::dbtools::getNumberFormats(m_xConnection, sal_True… in GetFormatter() 148 if ( m_xConnection.is() ) in getMetaData() 149 return m_xConnection->getMetaData(); in getMetaData() 155 return m_xConnection; in getConnection() 160 m_xConnection = _xCon; in setConnection() 165 if ( m_xConnection.is() ) in setConnection() 169 ::dbaui::fillTypeInfo(m_xConnection,m_sTypeNames,m_aDestTypeInfo,m_aDestTypeInfoIndex); in setConnection() 171 ::dbaui::fillAutoIncrementValue(m_xConnection,m_bAutoIncrementEnabled,m_sAutoIncrementValue); in setConnection()
|
/trunk/main/dbaccess/source/core/api/ |
H A D | OptimisticSet.cxx | 121 Reference<XDatabaseMetaData> xMeta = m_xConnection->getMetaData(); in construct() 145 Reference< XMultiServiceFactory > xFactory(m_xConnection, UNO_QUERY_THROW); in construct() 167 m_xStatement = m_xConnection->prepareStatement(xAnalyzer->getQueryWithSubstitution()); in construct() 230 …rowSQLException( DBACORE_RESSTRING( RID_STR_NO_VALUE_CHANGED ), SQL_GENERAL_ERROR, m_xConnection ); in updateRow() 238 Reference<XDatabaseMetaData> xMetaData = m_xConnection->getMetaData(); in updateRow() 250 sSql.append( ::dbtools::composeTableNameForSelect( m_xConnection, sCatalog, sSchema, sTable ) ); in updateRow() 312 Reference<XDatabaseMetaData> xMetaData = m_xConnection->getMetaData(); in insertRow() 403 Reference<XDatabaseMetaData> xMetaData = m_xConnection->getMetaData(); in deleteRow() 415 sSql.append( ::dbtools::composeTableNameForSelect( m_xConnection, sCatalog, sSchema, sTable ) ); in deleteRow() 428 Reference< XPreparedStatement > xPrep(m_xConnection->prepareStatement(i_sSQL)); in executeDelete() [all …]
|
H A D | tablecontainer.cxx | 213 …leDecorator* pTable = new ODBTableDecorator( m_xConnection, xSup, ::dbtools::getNumberFormats( m_x… in createObject() 245 ,m_xConnection in createObject() 261 this, m_xTableDefinitions.get(), m_xConnection, OContainerMediator::eTables ); in createObject() 281 …ator* pTable = new ODBTableDecorator( m_xConnection, xMasterColumnsSup, ::dbtools::getNumberFormat… in createDescriptor() 287 ODBTable* pTable = new ODBTable(this, m_xConnection); in createDescriptor() 307 Reference< XConnection > xConnection( m_xConnection.get(), UNO_QUERY ); in appendObject() 321 ::rtl::OUString aSql = ::dbtools::createSqlCreateTableStatement(descriptor,m_xConnection); in appendObject() 323 Reference<XConnection> xCon = m_xConnection; in appendObject() 424 Reference<XConnection> xCon = m_xConnection; in dropObject()
|
H A D | SingleSelectQueryComposer.cxx | 250 ,m_xConnection(_xConnection) in DBG_NAME() 261 if ( !m_aContext.is() || !m_xConnection.is() || !m_xConnectionTables.is() ) in DBG_NAME() 283 Reference< XQueriesSupplier > xQueriesAccess(m_xConnection, UNO_QUERY); in DBG_NAME() 318 m_xConnection = NULL; in disposing() 1068 pCondition->parseNodeToStr( aValue, m_xConnection, NULL ); in setANDCriteria() 1503 pNode->parseNodeToStr( sResult, m_xConnection ); in getStatementPart() 1616 sal_Int32 nSearchable = dbtools::getSearchColumnFlag(m_xConnection,nType); in setConditionByColumn() 1804 pCondition->parseNodeToStr( sCondition, m_xConnection ); in getStructuredCondition() 1811 pCondition->parseNodeToStr( sCondition, m_xConnection ); in getStructuredCondition() 1818 pCondition->parseNodeToStr( sCondition, m_xConnection ); in getStructuredCondition() [all …]
|
H A D | query.cxx | 136 ,m_xConnection(_rxConn) in DBG_NAME() 163 DBG_ASSERT(m_xConnection.is(), "OQuery::OQuery : invalid connection !"); in DBG_NAME() 192 …m_pColumnMediator = new OContainerMediator( m_pColumns, xColumnDefinitions, m_xConnection, OContai… in IMPLEMENT_FORWARD_XINTERFACE3() 196 Reference< XMultiServiceFactory > xFactory( m_xConnection, UNO_QUERY_THROW ); in IMPLEMENT_FORWARD_XINTERFACE3() 214 … xPreparedStatement.set( m_xConnection->prepareStatement( m_sCommand ), UNO_QUERY_THROW ); in IMPLEMENT_FORWARD_XINTERFACE3() 223 Reference< XDatabaseMetaData > xDBMeta( m_xConnection->getMetaData(), UNO_QUERY_THROW ); in IMPLEMENT_FORWARD_XINTERFACE3() 244 OQueryColumn* pColumn = new OQueryColumn( xSource, m_xConnection, sLabel); in IMPLEMENT_FORWARD_XINTERFACE3()
|
H A D | KeySet.cxx | 193 Reference<XDatabaseMetaData> xMeta = m_xConnection->getMetaData(); in initColumns() 277 Reference<XDatabaseMetaData> xMeta = m_xConnection->getMetaData(); in createKeyFilter() 299 Reference<XDatabaseMetaData> xMeta = m_xConnection->getMetaData(); in construct() 312 Reference< XMultiServiceFactory > xFactory(m_xConnection, UNO_QUERY_THROW); in construct() 386 m_xStatement = m_xConnection->prepareStatement(io_xAnalyzer->getQueryWithSubstitution()); in executeStatement() 647 Reference< XPreparedStatement > xPrep(m_xConnection->prepareStatement(i_sSQL)); in executeUpdate() 758 Reference< XPreparedStatement > xPrep(m_xConnection->prepareStatement(i_sSQL)); in executeInsert() 859 sStmt += ::dbtools::composeTableNameForSelect( m_xConnection, sCatalog, sSchema, sTable ); in executeInsert() 863 Reference<XStatement> xStatement = m_xConnection->createStatement(); in executeInsert() 1067 Reference< XPreparedStatement > xPrep(m_xConnection->prepareStatement(aSql.makeStringAndClear())); in deleteRow() [all …]
|
H A D | CacheSet.cxx | 121 if ( m_xConnection.is() && (xMeta = m_xConnection->getMetaData()).is() ) in getIdentifierQuoteString() 153 m_xConnection = xStmt->getConnection(); in construct() 158 m_xConnection = xPrepStmt->getConnection(); in construct() 170 m_xConnection = NULL; in ~OCacheSet() 190 Reference<XDatabaseMetaData> xMeta(m_xConnection->getMetaData()); in fillTableName() 230 Reference< XPreparedStatement > xPrep(m_xConnection->prepareStatement(aSql.makeStringAndClear())); in insertRow() 375 … Reference< XPreparedStatement > xPrep(m_xConnection->prepareStatement(aSql.makeStringAndClear())); in updateRow() 443 … Reference< XPreparedStatement > xPrep(m_xConnection->prepareStatement(aSql.makeStringAndClear())); in deleteRow()
|
/trunk/main/connectivity/source/commontools/ |
H A D | ConnectionWrapper.cxx | 63 ::comphelper::query_aggregation(m_xProxyConnection,m_xConnection); in setDelegation() 64 m_xTypeProvider.set(m_xConnection,UNO_QUERY); in setDelegation() 65 m_xUnoTunnel.set(m_xConnection,UNO_QUERY); in setDelegation() 66 m_xServiceInfo.set(m_xConnection,UNO_QUERY); in setDelegation() 83 m_xConnection = _xConnection; in setDelegation() 84 m_xTypeProvider.set(m_xConnection,UNO_QUERY); in setDelegation() 85 m_xUnoTunnel.set(m_xConnection,UNO_QUERY); in setDelegation() 86 m_xServiceInfo.set(m_xConnection,UNO_QUERY); in setDelegation() 105 m_xConnection.clear(); in disposing()
|
H A D | predicateinput.cxx | 102 ,m_xConnection( _rxConnection ) in OPredicateInputController() 117 …Reference< XNumberFormatsSupplier > xNumberFormats = ::dbtools::getNumberFormats( m_xConnection, … in OPredicateInputController() 251 OSL_ENSURE( m_xConnection.is() && m_xFormatter.is() && _rxField.is(), in normalizePredicateString() 255 if ( m_xConnection.is() && m_xFormatter.is() && _rxField.is() ) in normalizePredicateString() 272 sTransformedText, m_xConnection, m_xFormatter, _rxField, in normalizePredicateString() 365 Reference<XDatabaseMetaData> xMeta = m_xConnection->getMetaData(); in getPredicateValue() 401 …pFuncSpecParent->parseNodeToStr(sReturn, m_xConnection, &m_aParser.getContext(), sal_False, sal_Tr… in implParseNode() 409 …pValueNode->parseNodeToStr(sReturn, m_xConnection, &m_aParser.getContext(), sal_False, sal_True); … in implParseNode() 425 sReturn, m_xConnection, &m_aParser.getContext(), sal_False, sal_True in implParseNode() 430 sReturn, m_xConnection, &m_aParser.getContext(), sal_False, sal_True in implParseNode()
|
H A D | TTableHelper.cxx | 114 Reference< ::com::sun::star::sdbc::XConnection > m_xConnection; member 119 : m_xConnection(_xConnection) in OTableHelperImpl() 123 m_xMetaData = m_xConnection->getMetaData(); in OTableHelperImpl() 128 …m_xRename.set(xFac->createInstance(lcl_getServiceNameForSetting(m_xConnection,s_sTableRename)),UNO… in OTableHelperImpl() 130 …m_xAlter.set(xFac->createInstance(lcl_getServiceNameForSetting(m_xConnection,s_sTableAlteration)),… in OTableHelperImpl() 132 …m_xKeyAlter.set(xFac->createInstance(lcl_getServiceNameForSetting(m_xConnection,s_sKeyAlteration))… in OTableHelperImpl() 134 …m_xIndexAlter.set(xFac->createInstance(lcl_getServiceNameForSetting(m_xConnection,s_sIndexAlterati… in OTableHelperImpl() 186 m_pImpl->m_xConnection = NULL; in disposing() 522 Reference< XStatement > xStmt = m_pImpl->m_xConnection->createStatement( ); in rename() 604 return m_pImpl->m_xConnection; in getConnection()
|
/trunk/main/connectivity/source/drivers/hsqldb/ |
H A D | HUsers.cxx | 54 ,m_xConnection(_xConnection) in OUsers() 62 return new OHSQLUser(m_xConnection,_rName); in createObject() 72 OUserExtend* pNew = new OUserExtend(m_xConnection); in createDescriptor() 80 ::rtl::OUString aQuote = m_xConnection->getMetaData()->getIdentifierQuoteString( ); in appendObject() 93 Reference< XStatement > xStmt = m_xConnection->createStatement( ); in appendObject() 106 ::rtl::OUString aQuote = m_xConnection->getMetaData()->getIdentifierQuoteString( ); in dropObject() 109 Reference< XStatement > xStmt = m_xConnection->createStatement( ); in dropObject()
|
H A D | HUser.cxx | 46 ,m_xConnection(_xConnection) in OHSQLUser() 54 ,m_xConnection(_xConnection) in OHSQLUser() 101 Reference<XDatabaseMetaData> xMeta = m_xConnection->getMetaData(); in findPrivilegesAndGrantPrivileges() 240 Reference<XDatabaseMetaData> xMeta = m_xConnection->getMetaData(); in grantPrivileges() 245 Reference<XStatement> xStmt = m_xConnection->createStatement(); in grantPrivileges() 270 Reference<XDatabaseMetaData> xMeta = m_xConnection->getMetaData(); in revokePrivileges() 275 Reference<XStatement> xStmt = m_xConnection->createStatement(); in revokePrivileges() 295 Reference<XStatement> xStmt = m_xConnection->createStatement(); in changePassword()
|
/trunk/main/connectivity/source/drivers/mysql/ |
H A D | YUsers.cxx | 54 ,m_xConnection(_xConnection) in OUsers() 62 return new OMySQLUser(m_xConnection,_rName); in createObject() 72 OUserExtend* pNew = new OUserExtend(m_xConnection); in createDescriptor() 80 ::rtl::OUString aQuote = m_xConnection->getMetaData()->getIdentifierQuoteString( ); in appendObject() 93 Reference< XStatement > xStmt = m_xConnection->createStatement( ); in appendObject() 105 ::rtl::OUString aQuote = m_xConnection->getMetaData()->getIdentifierQuoteString( ); in dropObject() 108 Reference< XStatement > xStmt = m_xConnection->createStatement( ); in dropObject()
|
H A D | YUser.cxx | 46 ,m_xConnection(_xConnection) in OMySQLUser() 54 ,m_xConnection(_xConnection) in OMySQLUser() 101 Reference<XDatabaseMetaData> xMeta = m_xConnection->getMetaData(); in findPrivilegesAndGrantPrivileges() 239 Reference<XDatabaseMetaData> xMeta = m_xConnection->getMetaData(); in grantPrivileges() 244 Reference<XStatement> xStmt = m_xConnection->createStatement(); in grantPrivileges() 269 Reference<XDatabaseMetaData> xMeta = m_xConnection->getMetaData(); in revokePrivileges() 274 Reference<XStatement> xStmt = m_xConnection->createStatement(); in revokePrivileges() 294 Reference<XStatement> xStmt = m_xConnection->createStatement(); in changePassword()
|
/trunk/main/dbaccess/source/ui/dlg/ |
H A D | AdabasStat.cxx | 105 ,m_xConnection(_xCurrentConnection) in OAdabasStatistics() 112 DBG_ASSERT(m_xConnection.is(),"No connection"); in OAdabasStatistics() 113 if(m_xConnection.is()) in OAdabasStatistics() 126 xMetaData = m_xConnection->getMetaData(); in OAdabasStatistics() 136 xStmt = m_xConnection->createStatement(); in OAdabasStatistics() 189 xStmt = m_xConnection->createStatement(); in OAdabasStatistics() 232 xStmt = m_xConnection->createStatement(); in OAdabasStatistics() 293 Reference<XDatabaseMetaData> xMeta = m_xConnection->getMetaData(); in checkSystemTable()
|
H A D | adtabdlg.cxx | 78 Reference< XConnection > m_xConnection; member in TableListFacade 87 ,m_xConnection( _rxConnection ) in TableListFacade() 130 Reference< XDatabaseMetaData > xMeta( m_xConnection->getMetaData(), UNO_QUERY_THROW ); in getSelectedName() 172 Reference< XTablesSupplier > xTableSupp( m_xConnection, UNO_QUERY_THROW ); in updateTableObjectList() 215 m_rTableList.UpdateTableList( m_xConnection, sTables, sViews ); in updateTableObjectList() 246 Reference< XConnection > m_xConnection; member in QueryListFacade 254 ,m_xConnection( _rxConnection ) in QueryListFacade() 295 ImageProvider aImageProvider( m_xConnection ); in updateTableObjectList() 304 Reference< XQueriesSupplier > xSuppQueries( m_xConnection, UNO_QUERY_THROW ); in updateTableObjectList()
|
H A D | UserAdminDlg.cxx | 69 ,m_xConnection(_xConnection) in DBG_NAME() 96 ::comphelper::disposeComponent(m_xConnection); in ~OUserAdminDlg() 158 if ( !m_xConnection.is() ) in createConnection() 160 m_xConnection = m_pImpl->createConnection().first; in createConnection() 161 m_bOwnConnection = m_xConnection.is(); in createConnection() 163 return ::std::pair< Reference<XConnection>,sal_Bool> (m_xConnection,sal_False); in createConnection()
|
H A D | UserAdmin.cxx | 204 m_xConnection = NULL; in ~OUserAdmin() 209 if(m_xConnection.is()) in FillUserNames() 213 Reference<XDatabaseMetaData> xMetaData = m_xConnection->getMetaData(); in FillUserNames() 361 if ( !m_xConnection.is() && m_pAdminDialog ) in implInitControls() 363 m_xConnection = m_pAdminDialog->createConnection().first; in implInitControls() 364 Reference< XTablesSupplier > xTablesSup(m_xConnection,UNO_QUERY); in implInitControls() 371 xUsersSup.set(xDriver->getDataDefinitionByConnection(m_xConnection),UNO_QUERY); in implInitControls()
|
/trunk/main/connectivity/source/parse/ |
H A D | sqliterator.cxx | 71 Reference< XConnection > m_xConnection; member 85 :m_xConnection( _rxConnection ) in OSQLParseTreeIteratorImpl() 90 m_xDatabaseMetaData = m_xConnection->getMetaData(); in OSQLParseTreeIteratorImpl() 98 DatabaseMetaData aMetaData( m_xConnection ); in OSQLParseTreeIteratorImpl() 103 Reference< XQueriesSupplier > xSuppQueries( m_xConnection, UNO_QUERY ); in OSQLParseTreeIteratorImpl() 781 …lcl_getColumnRange( _pColumnRef, m_pImpl->m_xConnection, _rColumnName, _rTableRange, NULL, sDummy … in getColumnRange() 993 pColumnRef->parseNodeToStr( sColumnName, m_pImpl->m_xConnection, NULL, sal_False, sal_True ); in traverseSelectColumnNames() 1105 pColumnRef->parseNodeToStr( sColumnName, m_pImpl->m_xConnection, NULL, sal_False, sal_False ); in traverseByColumnNames() 1111 pColumnRef->parseNodeToStr( sColumnName, m_pImpl->m_xConnection, NULL, sal_False, sal_False ); in traverseByColumnNames() 1174 … pOther->parseNodeToStr( sColumnName, m_pImpl->m_xConnection, NULL, sal_False, sal_False ); in traverseParameters() [all …]
|