/aoo41x/main/connectivity/source/drivers/odbcbase/ |
H A D | ODatabaseMetaData.cxx | 50 ,m_pConnection(_pCon) in ODatabaseMetaData() 55 if(!m_pConnection->isCatalogUsed()) in ODatabaseMetaData() 545 …OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CATALOG_TERM,aVal,*this,m_pConnection->getTe… in getCatalogTerm() 679 …OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_INTEGRITY,aStr,*this,m_pConnection->getTextE… in supportsIntegrityEnhancementFacility() 807 …OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_PROCEDURES,aValue,*this,m_pConnection->getTe… in supportsStoredProcedures() 827 return m_pConnection->isReadOnly(); in isReadOnly() 1233 …OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_USER_NAME,aValue,*this,m_pConnection->getTex… in getUserName() 1254 …OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_DRIVER_VER,aValue,*this,m_pConnection->getTe… in getDatabaseProductVersion() 1261 …OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_DBMS_NAME,aValue,*this,m_pConnection->getTex… in getDatabaseProductName() 1282 …OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_DRIVER_VER,aValue,*this,m_pConnection->getTe… in getDriverMajorVersion() [all …]
|
H A D | ODatabaseMetaDataResultSet.cxx | 69 ,m_pConnection(_pConnection) in ODatabaseMetaDataResultSet() 81 m_pConnection->acquire(); in ODatabaseMetaDataResultSet() 105 m_pConnection->freeStatementHandle(m_aStatementHandle); in disposing() 109 m_pConnection->release(); in disposing() 279 …OTools::getValue(m_pConnection,m_aStatementHandle,columnIndex,m_pConnection->useOldDateFormat() ? … in getDate() 450 …OTools::getValue(m_pConnection,m_aStatementHandle,columnIndex,m_pConnection->useOldDateFormat() ? … in getTime() 468 …OTools::getValue(m_pConnection,m_aStatementHandle,columnIndex,m_pConnection->useOldDateFormat() ? … in getTimestamp() 907 OTools::ThrowException(m_pConnection,nRetcode,m_aStatementHandle,SQL_HANDLE_STMT,*this); in openTables() 925 m_xMetaData = new OResultSetMetaData(m_pConnection,m_aStatementHandle,m_aColMapping); in openTablesTypes() 943 m_xMetaData = new OResultSetMetaData(m_pConnection,m_aStatementHandle,m_aColMapping); in openCatalogs() [all …]
|
H A D | OStatement.cxx | 82 ,m_pConnection(_pConnection) in OStatement_Base() 88 m_pConnection->acquire(); in OStatement_Base() 126 if (m_pConnection) in disposing() 128 m_pConnection->freeStatementHandle(m_aStatementHandle); in disposing() 129 m_pConnection->release(); in disposing() 130 m_pConnection = NULL; in disposing() 152 …if ( m_pConnection && !m_pConnection->isAutoRetrievingEnabled() && rType == ::getCppuType( (const … in queryInterface() 164 if ( m_pConnection && !m_pConnection->isAutoRetrievingEnabled() ) in getTypes() 176 …OSL_ENSURE( m_pConnection && m_pConnection->isAutoRetrievingEnabled(),"Illegal call here. isAutoRe… in getGeneratedValues() 178 if ( m_pConnection ) in getGeneratedValues() [all …]
|
H A D | OPreparedStatement.cxx | 174 OTools::ThrowException(m_pConnection,nReturn,m_aStatementHandle,SQL_HANDLE_STMT,*this); in execute() 258 m_pConnection->throwGenericSQLException(STR_NO_ROWCOUNT,*this); in executeUpdate() 276 return (Reference< XConnection >)m_pConnection; in getConnection() 294 m_pConnection->throwGenericSQLException(STR_NO_RESULTSET,*this); in executeQuery() 350 OTools::bindParameter( m_pConnection, in setParameter() 357 m_pConnection->useOldDateFormat(), in setParameter() 450 m_pConnection->useOldDateFormat(), in setNull() 466 OTools::ThrowException(m_pConnection,nReturn,m_aStatementHandle,SQL_HANDLE_STMT,*this); in setNull() 821 const TTypeInfoVector& rTypeInfo = m_pConnection->getTypeInfo(); in getPrecision() 824 m_pConnection->buildTypeInfo(); in getPrecision() [all …]
|
H A D | OResultSetMetaData.cxx | 62 sValue = ::rtl::OUString(pName,nRealLen,m_pConnection->getTextEncoding()); in getCharColAttrib() 65 OTools::ThrowException(m_pConnection,nRet,m_aStatementHandle,SQL_HANDLE_STMT,*this); in getCharColAttrib() 78 sValue = ::rtl::OUString(pName,nRealLen,m_pConnection->getTextEncoding()); in getCharColAttrib() 80 OTools::ThrowException(m_pConnection,nRet,m_aStatementHandle,SQL_HANDLE_STMT,*this); in getCharColAttrib() 109 return getNumColAttrib(m_pConnection,m_aStatementHandle,*this,column,ident); in getNumColAttrib() 175 …OTools::ThrowException(m_pConnection,N3SQLNumResultCols(m_aStatementHandle,&nNumResultCols),m_aSta… in getColumnCount()
|
/aoo41x/main/mysqlc/source/ |
H A D | mysqlc_statement.cxx | 62 ,m_pConnection(_pConnection) in OCommonStatement() 67 m_pConnection->acquire(); in OCommonStatement() 99 if (m_pConnection) { in disposing() 100 m_pConnection->release(); in disposing() 101 m_pConnection = NULL; in disposing() 186 const ::rtl::OUString sSqlStatement = m_pConnection->transFormPreparedStatement( sql ); in execute() 207 const ::rtl::OUString sSqlStatement = m_pConnection->transFormPreparedStatement(sql); in executeQuery() 212 xResultSet = new OResultSet(this, rset.get(), m_pConnection->getConnectionEncoding()); in executeQuery() 231 return ((Reference< XConnection >)m_pConnection); in getConnection() 294 const ::rtl::OUString sSqlStatement = m_pConnection->transFormPreparedStatement(sql); in executeUpdate() [all …]
|
H A D | mysqlc_preparedstatement.cxx | 69 m_pConnection = _pConnection; in OPreparedStatement() 70 m_pConnection->acquire(); in OPreparedStatement() 75 mysqlc_sdbc_driver::translateAndThrow(e, *this, m_pConnection->getConnectionEncoding()); in OPreparedStatement() 151 mysqlc_sdbc_driver::translateAndThrow(e, *this, m_pConnection->getConnectionEncoding()); in getMetaData() 193 mysqlc_sdbc_driver::translateAndThrow(e, *this, m_pConnection->getConnectionEncoding()); in execute() 212 mysqlc_sdbc_driver::translateAndThrow(e, *this, m_pConnection->getConnectionEncoding()); in executeUpdate() 234 mysqlc_sdbc_driver::translateAndThrow(e, *this, m_pConnection->getConnectionEncoding()); in setString() 248 return (Reference< XConnection >)m_pConnection; in getConnection() 283 mysqlc_sdbc_driver::translateAndThrow(e, *this, m_pConnection->getConnectionEncoding()); in executeQuery() 304 mysqlc_sdbc_driver::translateAndThrow(e, *this, m_pConnection->getConnectionEncoding()); in setBoolean() [all …]
|
/aoo41x/main/connectivity/source/drivers/adabas/ |
H A D | BUser.cxx | 46 ,m_pConnection(_pConnection) in OAdabasUser() 54 ,m_pConnection(_pConnection) in OAdabasUser() 61 if(!m_pConnection) in refreshGroups() 66 Reference< XStatement > xStmt = m_pConnection->createStatement( ); in refreshGroups() 129 Reference<XDatabaseMetaData> xMeta = m_pConnection->getMetaData(); in getAnyTablePrivileges() 132 Reference<XStatement> xStmt = m_pConnection->createStatement(); in getAnyTablePrivileges() 209 Reference<XStatement> xStmt = m_pConnection->createStatement(); in grantPrivileges() 235 Reference<XStatement> xStmt = m_pConnection->createStatement(); in revokePrivileges() 255 Reference<XConnection> xConnection = m_pConnection; in changePassword() 256 if(m_pConnection->getMetaData()->getUserName() != m_Name) in changePassword() [all …]
|
H A D | BTable.cxx | 58 ,m_pConnection(_pConnection) in OAdabasTable() 78 ,m_pConnection(_pConnection) in OAdabasTable() 197 Reference< XStatement > xStmt = m_pConnection->createStatement( ); in alterColumnByName() 242 Reference< XStatement > xStmt = m_pConnection->createStatement( ); in alterColumnType() 263 Reference< XStatement > xStmt = m_pConnection->createStatement(); in alterNotNullValue() 276 Reference< XStatement > xStmt = m_pConnection->createStatement(); in alterDefaultValue() 289 Reference< XStatement > xStmt = m_pConnection->createStatement(); in dropDefaultValue() 302 Reference< XStatement > xStmt = m_pConnection->createStatement(); in addDefaultValue() 314 Reference< XStatement > xStmt = m_pConnection->createStatement(); in beginTransAction() 330 Reference< XStatement > xStmt = m_pConnection->createStatement(); in endTransAction() [all …]
|
H A D | BUsers.cxx | 50 return new OAdabasUser(m_pConnection,_rName); in createObject() 60 OUserExtend* pNew = new OUserExtend(m_pConnection); in createDescriptor() 68 ::rtl::OUString aQuote = m_pConnection->getMetaData()->getIdentifierQuoteString( ); in appendObject() 78 Reference< XStatement > xStmt = m_pConnection->createStatement( ); in appendObject() 94 Reference< XStatement > xStmt = m_pConnection->createStatement(); in dropObject() 105 … m_pConnection->throwGenericSQLException(STR_USER_NO_DELETE,static_cast< XDrop* >( this )); in dropObject() 114 ::rtl::OUString aQuote = m_pConnection->getMetaData()->getIdentifierQuoteString( ); in dropObject() 117 Reference< XStatement > xStmt = m_pConnection->createStatement( ); in dropObject()
|
H A D | BGroup.cxx | 46 ,m_pConnection(_pConnection) in OAdabasGroup() 50 m_pUsers = new OUsers(*this,m_aMutex,aVector,m_pConnection,this); in OAdabasGroup() 56 ,m_pConnection(_pConnection) in OAdabasGroup() 64 if(!m_pConnection) in refreshUsers() 68 Reference< XStatement > xStmt = m_pConnection->createStatement( ); in refreshUsers() 87 m_pUsers = new OUsers(*this,m_aMutex,aVector,m_pConnection,this); in refreshUsers()
|
H A D | BGroups.cxx | 46 return new OAdabasGroup(m_pConnection,_rName); in createObject() 57 return new OAdabasGroup(m_pConnection); in createDescriptor() 64 ::rtl::OUString aQuote = m_pConnection->getMetaData()->getIdentifierQuoteString( ); in appendObject() 68 Reference< XStatement > xStmt = m_pConnection->createStatement( ); in appendObject() 79 ::rtl::OUString aQuote = m_pConnection->getMetaData()->getIdentifierQuoteString( ); in dropObject() 83 Reference< XStatement > xStmt = m_pConnection->createStatement( ); in dropObject()
|
/aoo41x/main/connectivity/source/drivers/jdbc/ |
H A D | JStatement.cxx | 70 ,m_pConnection( &_rCon ) in java_sql_Statement_Base() 77 m_pConnection->acquire(); in java_sql_Statement_Base() 97 if (m_pConnection) in disposing() 98 m_pConnection->release(); in disposing() 99 m_pConnection = NULL; in disposing() 142 if ( m_pConnection && !m_pConnection->isAutoRetrievingEnabled() ) in getTypes() 175 …OSL_ENSURE( m_pConnection && m_pConnection->isAutoRetrievingEnabled(),"Illegal call here. isAutoRe… in getGeneratedValues() 176 if ( m_pConnection ) in getGeneratedValues() 248 … m_pConnection ? m_pConnection->getDriverClassLoader() : jdbc::GlobalRef< jobject >(), in execute() 283 … m_pConnection ? m_pConnection->getDriverClassLoader() : jdbc::GlobalRef< jobject >(), in executeQuery() [all …]
|
/aoo41x/main/connectivity/source/drivers/evoab2/ |
H A D | NStatement.cxx | 64 , m_pConnection(_pConnection) in OCommonStatement() 78 m_pConnection->acquire(); in OCommonStatement() 119 if (m_pConnection) in disposing() 120 m_pConnection->release(); in disposing() 121 m_pConnection = NULL; in disposing() 240 m_pConnection->throwGenericSQLException( STR_QUERY_TOO_COMPLEX, *this ); in impl_getColumnRefColumnName_throw() 272 m_pConnection->throwGenericSQLException( STR_SORT_BY_COL_ONLY, *this ); in orderByAnalysis() 343 m_pConnection->throwGenericSQLException( STR_QUERY_TOO_COMPLEX, *this ); in whereAnalysis() 596 m_pConnection->throwGenericSQLException( STR_QUERY_TOO_COMPLEX, *this ); in impl_getEBookQuery_throw() 601 m_pConnection->throwGenericSQLException( STR_QUERY_TOO_COMPLEX, *this ); in impl_getEBookQuery_throw() [all …]
|
/aoo41x/main/connectivity/source/drivers/ado/ |
H A D | AKey.cxx | 44 ,m_pConnection(_pConnection) in OAdoKey() 53 ,m_pConnection(_pConnection) in OAdoKey() 73 m_pColumns = new OColumns(*this,m_aMutex,aVector,aColumns,isCaseSensitive(),m_pConnection); in refreshColumns() 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()
|
H A D | AKeys.cxx | 53 return new OAdoKey(isCaseSensitive(),m_pConnection,m_aCollection.GetItem(_rName)); in createObject() 63 return new OAdoKey(isCaseSensitive(),m_pConnection); in createDescriptor() 71 …m_pConnection->throwGenericSQLException( STR_INVALID_KEY_DESCRIPTOR_ERROR,static_cast<XTypeProvide… in appendObject() 95 ADOS::ThrowException(*m_pConnection->getConnection(),static_cast<XTypeProvider*>(this)); in appendObject() 97 …m_pConnection->throwGenericSQLException( STR_INVALID_KEY_DESCRIPTOR_ERROR,static_cast<XTypeProvide… in appendObject() 100 return new OAdoKey(isCaseSensitive(),m_pConnection,pKey->getImpl()); in appendObject() 107 ADOS::ThrowException(*m_pConnection->getConnection(),static_cast<XTypeProvider*>(this)); in dropObject()
|
H A D | AColumns.cxx | 51 return new OAdoColumn(isCaseSensitive(),m_pConnection,m_aCollection.GetItem(_rName)); in createObject() 62 return new OAdoColumn(isCaseSensitive(),m_pConnection); in createDescriptor() 73 pColumn = new OAdoColumn(isCaseSensitive(),m_pConnection); in appendObject() 92 const OTypeInfoMap* pTypeInfoMap = m_pConnection->getTypeInfo(); in appendObject() 128 ADOS::ThrowException(*m_pConnection->getConnection(),static_cast<XTypeProvider*>(this)); in appendObject() 130 return new OAdoColumn(isCaseSensitive(),m_pConnection,pColumn->getColumnImpl()); in appendObject() 137 ADOS::ThrowException(*m_pConnection->getConnection(),static_cast<XTypeProvider*>(this)); in dropObject()
|
H A D | AIndexes.cxx | 49 return new OAdoIndex(isCaseSensitive(),m_pConnection,m_aCollection.GetItem(_rName)); in createObject() 59 return new OAdoIndex(isCaseSensitive(),m_pConnection); in createDescriptor() 67 …m_pConnection->throwGenericSQLException( STR_INVALID_INDEX_DESCRIPTOR_ERROR,static_cast<XTypeProvi… in appendObject() 72 ADOS::ThrowException(*m_pConnection->getConnection(),static_cast<XTypeProvider*>(this)); in appendObject() 73 …m_pConnection->throwGenericSQLException( STR_INVALID_INDEX_DESCRIPTOR_ERROR,static_cast<XTypeProvi… in appendObject() 76 return new OAdoIndex(isCaseSensitive(),m_pConnection,pIndex->getImpl()); in appendObject()
|
H A D | AColumn.cxx | 65 ,m_pConnection(_pConnection) in OAdoColumn() 76 ,m_pConnection(_pConnection) in OAdoColumn() 147 m_aColumn.put_Type(ADOS::MapJdbc2ADOType(nVal,m_pConnection->getEngineType())); in setFastPropertyValue_NoBroadcast() 217 const OTypeInfoMap* pTypeInfoMap = m_pConnection->getTypeInfo(); in fillPropertyValues() 218 …const OExtendedTypeInfo* pTypeInfo = OConnection::getTypeInfoFromType(*m_pConnection->getTypeInfo(… in fillPropertyValues() 221 else if ( eType == adVarBinary && ADOS::isJetEngine(m_pConnection->getEngineType()) ) in fillPropertyValues() 243 …pTypeInfo = OConnection::getTypeInfoFromType(*m_pConnection->getTypeInfo(),adBinary,::rtl::OUStrin… in fillPropertyValues()
|
H A D | ACatalog.cxx | 43 ,m_pConnection(_pCon) in OCatalog() 80 …m_pTables = new OTables(this,m_aMutex,aVector,aTables,m_pConnection->getMetaData()->supportsMixedC… in refreshTables() 93 …m_pViews = new OViews(this,m_aMutex,aVector,aViews,m_pConnection->getMetaData()->supportsMixedCase… in refreshViews() 106 …m_pGroups = new OGroups(this,m_aMutex,aVector,aGroups,m_pConnection->getMetaData()->supportsMixedC… in refreshGroups() 119 …m_pUsers = new OUsers(this,m_aMutex,aVector,aUsers,m_pConnection->getMetaData()->supportsMixedCase… in refreshUsers()
|
H A D | AStatement.cxx | 48 ADOS::ThrowException(*m_pConnection->getConnection(),*this); 64 ,m_pConnection(_pConnection) in OStatement_Base() 74 m_Command.putref_ActiveConnection(m_pConnection->getConnection()); in OStatement_Base() 76 ADOS::ThrowException(*m_pConnection->getConnection(),*this); in OStatement_Base() 81 m_pConnection->acquire(); in OStatement_Base() 111 if (m_pConnection) in disposing() 112 m_pConnection->release(); in disposing() 332 return (Reference< XConnection >)m_pConnection; in getConnection()
|
/aoo41x/main/dbaccess/source/ui/querydesign/ |
H A D | QueryTabConnUndoAction.cxx | 57 m_pOwner->DeselectConn(m_pConnection); in DBG_NAME() 58 delete m_pConnection; in DBG_NAME() 65 ,m_pConnection(NULL) in OQueryTabConnUndoAction() 78 static_cast<OQueryTableView*>(m_pOwner)->DropConnection(m_pConnection); in Undo() 84 static_cast<OQueryTableView*>(m_pOwner)->GetConnection(m_pConnection); in Redo() 95 static_cast<OQueryTableView*>(m_pOwner)->GetConnection(m_pConnection); in Undo() 101 static_cast<OQueryTableView*>(m_pOwner)->DropConnection(m_pConnection); in Redo()
|
/aoo41x/main/connectivity/source/drivers/file/ |
H A D | FStatement.cxx | 71 ,m_pConnection(_pConnection) in DBG_NAME() 89 m_pConnection->acquire(); in DBG_NAME() 147 if (m_pConnection) in disposing() 149 m_pConnection->release(); in disposing() 150 m_pConnection = NULL; in disposing() 339 return (Reference< XConnection >)m_pConnection; in getConnection() 385 return new OSQLAnalyzer(m_pConnection); in createAnalyzer() 476 m_pConnection->throwGenericSQLException(STR_QUERY_NO_TABLE,*this); in construct() 480 m_pConnection->throwGenericSQLException(STR_QUERY_MORE_TABLES,*this); in construct() 484 m_pConnection->throwGenericSQLException(STR_QUERY_NO_COLUMN,*this); in construct() [all …]
|
/aoo41x/main/connectivity/source/drivers/flat/ |
H A D | ETable.cxx | 74 OFlatConnection* pConnection = (OFlatConnection*)m_pConnection; in fillColumns() 116 const sal_Bool bCase = m_pConnection->getMetaData()->supportsMixedCaseQuotedIdentifiers(); in fillColumns() 431 …Reference< ::com::sun::star::util::XNumberFormatsSupplier > xSupplier(m_pConnection->getDriver()-… in construct() 432 …m_xNumberFormatter = Reference< ::com::sun::star::util::XNumberFormatter >(m_pConnection->getDrive… in construct() 440 if(aURL.getExtension() != rtl::OUString(m_pConnection->getExtension())) in construct() 441 aURL.setExtension(m_pConnection->getExtension()); in construct() 473 Reference< XResultSet > xDir = m_pConnection->getDir()->getStaticResultSet(); in getEntry() 485 String sUrl = m_pConnection->getURL() + s_sSeparator + sName; in getEntry() 492 if ( m_pConnection->matchesExtension( sExt ) ) in getEntry() 616 OFlatConnection* pConnection = (OFlatConnection*)m_pConnection; in fetchRow() [all …]
|
/aoo41x/main/odk/examples/DevelopersGuide/Database/DriverSkeleton/ |
H A D | SStatement.cxx | 52 m_pConnection(_pConnection) in OStatement_Base() 54 m_pConnection->acquire(); in OStatement_Base() 76 if (m_pConnection) in disposing() 77 m_pConnection->release(); in disposing() 78 m_pConnection = NULL; in disposing() 162 return (Reference< XConnection >)m_pConnection; in getConnection()
|