Home
last modified time | relevance | path

Searched refs:xConn (Results 1 – 25 of 25) sorted by path

/trunk/main/connectivity/source/commontools/
H A Ddbtools.cxx1312 …Reference< XConnection> xConn = connectRowset( Reference< XRowSet >( _rxRowSet, UNO_QUERY ), _rxFa… in getComposedRowSetStatement() local
1313 if ( xConn.is() ) // implies _rxRowSet.is() in getComposedRowSetStatement()
1326 StatementComposer aComposer( xConn, sCommand, nCommandType, bEscapeProcessing ); in getComposedRowSetStatement()
/trunk/main/dbaccess/source/core/api/
H A Dpreparedstatement.cxx184 Reference< XConnection > xConn( getConnection(), UNO_SET_THROW ); in getColumns() local
185 Reference< XDatabaseMetaData > xDBMeta( xConn->getMetaData(), UNO_SET_THROW ); in getColumns()
H A Dresultset.cxx399 Reference< XConnection > xConn; in lcl_getDBMetaDataFromStatement_nothrow() local
401 xConn = xStatement->getConnection(); in lcl_getDBMetaDataFromStatement_nothrow()
403 xConn = xPreparedStatement->getConnection(); in lcl_getDBMetaDataFromStatement_nothrow()
404 if ( xConn.is() ) in lcl_getDBMetaDataFromStatement_nothrow()
405 xDBMetaData = xConn->getMetaData(); in lcl_getDBMetaDataFromStatement_nothrow()
/trunk/main/dbaccess/source/core/dataaccess/
H A DModelImpl.cxx715 Reference< XConnection > xConn; in clearConnections() local
719 xConn = *i; in clearConnections()
720 if ( xConn.is() ) in clearConnections()
724 xConn->close(); in clearConnections()
H A Ddatasource.cxx1248 Reference< XConnection > xConn; in buildIsolatedConnection() local
1255 xConn = new OConnection(*this, xSdbcConn, m_pImpl->m_aContext.getLegacyServiceFactory()); in buildIsolatedConnection()
1257 return xConn; in buildIsolatedConnection()
1265 Reference< XConnection > xConn; in getConnection() local
1268 xConn = buildIsolatedConnection(user,password); in getConnection()
1277 xConn = m_pImpl->m_pSharedConnectionManager->getConnection( in getConnection()
1281 if ( xConn.is() ) in getConnection()
1283 Reference< XComponent> xComp(xConn,UNO_QUERY); in getConnection()
1286 m_pImpl->m_aConnections.push_back(OWeakConnection(xConn)); in getConnection()
1289 return xConn; in getConnection()
/trunk/main/dbaccess/source/ui/browser/
H A Dsbagrid.cxx1254 Reference< XChild > xConn(::dbtools::getConnection(xDataSource),UNO_QUERY); in IsReadOnlyDB() local
1255 if (xConn.is()) in IsReadOnlyDB()
1258 Reference< XPropertySet > xDbProps(xConn->getParent(), UNO_QUERY); in IsReadOnlyDB()
H A Dunodatbr.cxx3087 Reference< XConnection > xConn; in unloadAndCleanup() local
3088 xRowSetProps->getPropertyValue(PROPERTY_ACTIVE_CONNECTION) >>= xConn; in unloadAndCleanup()
/trunk/main/extensions/source/bibliography/
H A Ddatman.cxx131 Reference< XConnection > xConn; in getConnection() local
149 xConn = xComplConn->connectWithCompletion(xIHdl); in getConnection()
162 return xConn; in getConnection()
170 Reference< XConnection > xConn; in getConnection() local
175 return xConn; in getConnection()
177xConn = Reference< XConnection > (*(Reference< XInterface > *)xFormProps->getPropertyValue(C2U("Ac… in getConnection()
178 if (!xConn.is()) in getConnection()
189 return xConn; in getConnection()
/trunk/main/extensions/source/dbpilots/
H A Dcommonpagesdbp.cxx277 Reference< XConnection > xConn = _rxConn; in implFillTables() local
278 if ( !xConn.is() ) in implFillTables()
303 xConn = xDatasource->connectWithCompletion(xHandler); in implFillTables()
304 setFormConnection( xConn ); in implFillTables()
322 if ( xConn.is() ) in implFillTables()
327 Reference< XTablesSupplier > xSupplTables(xConn, UNO_QUERY); in implFillTables()
336 Reference< XQueriesSupplier > xSuppQueries( xConn, UNO_QUERY ); in implFillTables()
H A Dcontrolwizard.cxx466 Reference< XConnection > xConn; in getFormConnection() local
469 if ( !::dbtools::isEmbeddedInDatabase(m_aContext.xForm,xConn) ) in getFormConnection()
470 …m_aContext.xForm->getPropertyValue(::rtl::OUString::createFromAscii("ActiveConnection")) >>= xConn; in getFormConnection()
476 return xConn; in getFormConnection()
H A Dlistcombowizard.cxx164 Reference< XConnection > xConn = getFormConnection(); in implApplySettings() local
165 DBG_ASSERT(xConn.is(), "OListComboWizard::implApplySettings: no connection, unable to quote!"); in implApplySettings()
167 if (xConn.is()) in implApplySettings()
168 xMetaData = xConn->getMetaData(); in implApplySettings()
179 …getSettings().sListContentTable = ::dbtools::composeTableNameForSelect( xConn, sCatalog, sSchema, … in implApplySettings()
240 Reference< XConnection > xConn = getFormConnection(); in getTables() local
241 …DBG_ASSERT(!_bNeedIt || xConn.is(), "OLCPage::getTables: should have an active connection when rea… in getTables()
244 Reference< XTablesSupplier > xSuppTables(xConn, UNO_QUERY); in getTables()
249 …DBG_ASSERT(!_bNeedIt || xTables.is() || !xConn.is(), "OLCPage::getTables: got no tables from the c… in getTables()
/trunk/main/extensions/source/propctrlr/
H A Dformcomponenthandler.cxx2250 Reference< XConnection > xConn; in impl_shouldExcludeProperty_nothrow() local
2251 if ( isEmbeddedInDatabase( m_xComponent, xConn ) ) in impl_shouldExcludeProperty_nothrow()
/trunk/main/forms/source/component/
H A DDatabaseForm.cxx1369 Reference< XConnection > xConn; in getConnection() local
1370 m_xAggregateSet->getPropertyValue( PROPERTY_ACTIVE_CONNECTION ) >>= xConn; in getConnection()
1371 return xConn; in getConnection()
/trunk/main/jurt/java/jurt/src/main/java/com/sun/star/lib/connections/pipe/
H A DpipeConnector.java115 XConnection xConn = new PipeConnection( connectionDescription ); in connect() local
117 return xConn; in connect()
/trunk/main/mysqlc/source/
H A Dmysqlc_driver.cxx167 Reference< XConnection > xConn; in connect() local
171 xConn = pCon; in connect()
180 return xConn; in connect()
/trunk/main/odk/examples/DevelopersGuide/Forms/
H A DDataAwareness.java384 XStatement xStatement = xConn.createStatement(); in existsInvisibleTable()
435 XStatement xStatement = xConn.createStatement( ); in implExecuteStatement()
452 if ( !implExecuteStatement( xConn, sCreateStatement ) ) in implCreateTable()
480 if ( implCreateTable( xConn, sCreateStatement, s_tableNameSalesmen) ) in createTableSalesman()
510 if ( implCreateTable( xConn, sCreateStatement, s_tableNameCustomers ) ) in createTableCustomer()
540 if ( implCreateTable( xConn, sCreateStatement, s_tableNameSales ) ) in createTableSales()
565 XConnection xConn = xDS.getConnection( "", "" ); in ensureTables() local
566 XComponent xConnComp = UNO.queryComponent( xConn ); in ensureTables()
568 createTableSalesman( xConn ); in ensureTables()
569 createTableCustomer( xConn ); in ensureTables()
[all …]
H A DKeyGenerator.java118 XConnection xConn = (XConnection)UnoRuntime.queryInterface( in generatePrimaryKey() local
121 XStatement xStatement = xConn.createStatement(); in generatePrimaryKey()
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/mod/_dbaccess/
H A DOQueryDesign.java64 private static XConnection xConn; field in OQueryDesign
122 xConn = xDS.getConnection(new String(), new String()); in createTestEnvironment()
142 param1.Value = xConn; in createTestEnvironment()
297 xConn.close() ; in cleanup()
H A DOSingleSelectQueryComposer.java194 XMultiServiceFactory xConn = (XMultiServiceFactory) in createTestEnvironment() local
199 String[] sServiceNames = xConn.getAvailableServiceNames(); in createTestEnvironment()
205 oInterface = (XInterface) xConn.createInstance( sServiceNames[0]); in createTestEnvironment()
/trunk/main/svtools/source/dialogs/
H A Daddresstemplate.cxx882 Reference< XConnection > xConn; in resetTables() local
884 xConn = xDS->connectWithCompletion(xHandler); in resetTables()
887 Reference< XTablesSupplier > xSupplTables(xConn, UNO_QUERY); in resetTables()
/trunk/main/svx/source/form/
H A Dfmshimp.cxx3952 Reference< XConnection > xConn; in lcl_isLoadable() local
3953 if ( OStaticDataAccessTools().isEmbeddedInDatabase( _rxLoadable.get(), xConn ) ) in lcl_isLoadable()
3957 xSet->getPropertyValue(FM_PROP_ACTIVE_CONNECTION) >>= xConn; in lcl_isLoadable()
3958 if ( xConn.is() ) in lcl_isLoadable()
H A Dfmsrcimp.cxx853 Reference< XConnection > xConn; in Init() local
860 xCursorProps->getPropertyValue( FM_PROP_ACTIVE_CONNECTION ) >>= xConn; in Init()
864 if ( xConn.is() ) in Init()
865 xMeta = xConn->getMetaData(); in Init()
/trunk/main/vcl/unx/generic/dtrans/
H A DX11_droptarget.cxx62 Reference< XDisplayConnection > xConn; in initialize() local
63 arguments.getConstArray()[0] >>= xConn; in initialize()
64 if( xConn.is() ) in initialize()
H A DX11_selection.cxx4113 css::uno::Reference< XDisplayConnection > xConn; in initialize() local
4114 arguments.getConstArray()[0] >>= xConn; in initialize()
4115 if( xConn.is() ) in initialize()
H A DX11_service.cxx85 css::uno::Reference< XDisplayConnection > xConn; in CreateClipboard() local
86 arguments.getConstArray()[0] >>= xConn; in CreateClipboard()
88 if( xConn.is() ) in CreateClipboard()
90 Any aIdentifier = xConn->getIdentifier(); in CreateClipboard()

Completed in 203 milliseconds