32 virtual SQLHANDLE EnvironmentHandle(OUString &_rPath)
override;
34 explicit ORealOdbcDriver(
const css::uno::Reference< css::uno::XComponentContext >& _rxContext) :
ODBCDriver(_rxContext) {}
41 oslGenericFunction pFunction =
nullptr;
255 OSL_FAIL(
"Function unknown!");
262SQLHANDLE ORealOdbcDriver::EnvironmentHandle(OUString &_rPath)
265 if (!m_pDriverHandle)
267 SQLHANDLE
h = SQL_NULL_HANDLE;
272 return SQL_NULL_HANDLE;
276 N3SQLSetEnvAttr(
h, SQL_ATTR_ODBC_VERSION,
reinterpret_cast<SQLPOINTER
>(SQL_OV_ODBC3), SQL_IS_UINTEGER);
280 return m_pDriverHandle;
285extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
287 css::uno::XComponentContext* context, css::uno::Sequence<css::uno::Any>
const&)
289 return cppu::acquire(
new connectivity::odbc::ORealOdbcDriver(context));
#define N3SQLAllocHandle(a, b, c)
#define N3SQLSetEnvAttr(a, b, c, d)
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * connectivity_odbc_ORealOdbcDriver_get_implementation(css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
T3SQLSetEnvAttr pODBC3SQLSetEnvAttr
T3SQLCloseCursor pODBC3SQLCloseCursor
T3SQLRowCount pODBC3SQLRowCount
T3SQLAllocHandle pODBC3SQLAllocHandle
T3SQLDescribeCol pODBC3SQLDescribeCol
T3SQLColumnPrivileges pODBC3SQLColumnPrivileges
T3SQLBulkOperations pODBC3SQLBulkOperations
T3SQLParamData pODBC3SQLParamData
T3SQLPrepare pODBC3SQLPrepare
T3SQLSetConnectAttr pODBC3SQLSetConnectAttr
T3SQLExecDirect pODBC3SQLExecDirect
T3SQLForeignKeys pODBC3SQLForeignKeys
T3SQLGetEnvAttr pODBC3SQLGetEnvAttr
T3SQLConnect pODBC3SQLConnect
T3SQLEndTran pODBC3SQLEndTran
T3SQLSetStmtAttr pODBC3SQLSetStmtAttr
T3SQLColumns pODBC3SQLColumns
bool LoadLibrary_ODBC3(OUString &_rPath)
T3SQLPrimaryKeys pODBC3SQLPrimaryKeys
T3SQLGetFunctions pODBC3SQLGetFunctions
T3SQLNativeSql pODBC3SQLNativeSql
T3SQLProcedures pODBC3SQLProcedures
T3SQLNumResultCols pODBC3SQLNumResultCols
T3SQLGetInfo pODBC3SQLGetInfo
T3SQLColAttribute pODBC3SQLColAttribute
T3SQLNumParams pODBC3SQLNumParams
T3SQLBindCol pODBC3SQLBindCol
T3SQLPutData pODBC3SQLPutData
T3SQLBindParameter pODBC3SQLBindParameter
T3SQLStatistics pODBC3SQLStatistics
T3SQLMoreResults pODBC3SQLMoreResults
T3SQLProcedureColumns pODBC3SQLProcedureColumns
T3SQLCancel pODBC3SQLCancel
T3SQLSetPos pODBC3SQLSetPos
T3SQLFetch pODBC3SQLFetch
T3SQLExecute pODBC3SQLExecute
T3SQLFreeStmt pODBC3SQLFreeStmt
T3SQLBrowseConnect pODBC3SQLBrowseConnect
T3SQLGetDiagRec pODBC3SQLGetDiagRec
T3SQLGetConnectAttr pODBC3SQLGetConnectAttr
T3SQLDescribeParam pODBC3SQLDescribeParam
T3SQLGetCursorName pODBC3SQLGetCursorName
T3SQLSpecialColumns pODBC3SQLSpecialColumns
T3SQLFreeHandle pODBC3SQLFreeHandle
T3SQLSetCursorName pODBC3SQLSetCursorName
T3SQLGetStmtAttr pODBC3SQLGetStmtAttr
T3SQLGetData pODBC3SQLGetData
T3SQLDisconnect pODBC3SQLDisconnect
T3SQLDriverConnect pODBC3SQLDriverConnect
T3SQLTablePrivileges pODBC3SQLTablePrivileges
T3SQLGetTypeInfo pODBC3SQLGetTypeInfo
T3SQLFetchScroll pODBC3SQLFetchScroll
T3SQLDataSources pODBC3SQLDataSources
T3SQLTables pODBC3SQLTables
T3SQLDrivers pODBC3SQLDrivers