Lines Matching refs:sql
69 OConnection::OConnection(MysqlCDriver& _rDriver, sql::Driver * _cppDriver) in OConnection()
183 sql::ConnectOptionsMap connProps; in construct()
188 connProps["hostName"] = sql::ConnectPropertyVal(host_str); in construct()
189 connProps["userName"] = sql::ConnectPropertyVal(user_str); in construct()
190 connProps["password"] = sql::ConnectPropertyVal(pass_str); in construct()
191 connProps["schema"] = sql::ConnectPropertyVal(schema_str); in construct()
192 connProps["port"] = sql::ConnectPropertyVal((int)(nPort)); in construct()
194 sql::SQLString socket_str = OUStringToOString(sUnixSocket, m_settings.encoding).getStr(); in construct()
197 sql::SQLString pipe_str = OUStringToOString(sNamedPipe, m_settings.encoding).getStr(); in construct()
224 …sql::SQLString mysqlLib = ::rtl::OUStringToOString( sMySQLClientLibPath, osl_getThreadTextEncoding… in construct()
237 } catch (sql::SQLException &e) { in construct()
256 std::auto_ptr<sql::Statement> stmt(m_settings.cppConnection->createStatement()); in construct()
282 } catch (sql::SQLException & e) { in createStatement()
306 } catch (sql::SQLException & e) { in prepareStatement()
340 } catch (sql::SQLException & e) { in nativeSQL()
357 } catch (sql::SQLException & e) { in setAutoCommit()
378 } catch (sql::SQLException & e) { in getAutoCommit()
395 } catch (sql::SQLException & e) { in commit()
411 } catch (sql::SQLException & e) { in rollback()
443 } catch (sql::SQLException & e) { in getMetaData()
492 } catch (sql::SQLException & e) { in setCatalog()
510 } catch (sql::SQLException & e) { in getCatalog()
526 sql::enum_transaction_isolation cpplevel = sql::TRANSACTION_SERIALIZABLE; in setTransactionIsolation()
530 cpplevel = sql::TRANSACTION_READ_UNCOMMITTED; in setTransactionIsolation()
533 cpplevel = sql::TRANSACTION_READ_COMMITTED; in setTransactionIsolation()
536 cpplevel = sql::TRANSACTION_REPEATABLE_READ; in setTransactionIsolation()
539 cpplevel = sql::TRANSACTION_SERIALIZABLE; in setTransactionIsolation()
542 cpplevel = sql::TRANSACTION_SERIALIZABLE; in setTransactionIsolation()
549 } catch (sql::SQLException & e) { in setTransactionIsolation()
566 case sql::TRANSACTION_SERIALIZABLE: return TransactionIsolation::SERIALIZABLE; in getTransactionIsolation()
567 case sql::TRANSACTION_REPEATABLE_READ: return TransactionIsolation::REPEATABLE_READ; in getTransactionIsolation()
568 case sql::TRANSACTION_READ_COMMITTED: return TransactionIsolation::READ_COMMITTED; in getTransactionIsolation()
569 case sql::TRANSACTION_READ_UNCOMMITTED: return TransactionIsolation::READ_UNCOMMITTED; in getTransactionIsolation()
573 } catch (sql::SQLException & e) { in getTransactionIsolation()
710 } catch (sql::SQLException & e) { in getMysqlVariable()
732 } catch (sql::SQLException & e) { in getMysqlVersion()