Lines Matching refs:sql
58 OCommonStatement::OCommonStatement(OConnection* _pConnection, sql::Statement *_cppStatement) in OCommonStatement()
180 sal_Bool SAL_CALL OCommonStatement::execute(const OUString& sql) in execute() argument
186 const ::rtl::OUString sSqlStatement = m_pConnection->transFormPreparedStatement( sql ); in execute()
191 } catch (sql::SQLException &e) { in execute()
200 Reference< XResultSet > SAL_CALL OCommonStatement::executeQuery(const OUString& sql) in executeQuery() argument
207 const ::rtl::OUString sSqlStatement = m_pConnection->transFormPreparedStatement(sql); in executeQuery()
211 …std::auto_ptr< sql::ResultSet > rset(cppStatement->executeQuery(OUStringToOString(sSqlStatement, m… in executeQuery()
214 } catch (sql::SQLException &e) { in executeQuery()
261 void SAL_CALL OStatement::addBatch(const OUString& sql) in addBatch() argument
268 m_aBatchList.push_back(sql); in addBatch()
288 sal_Int32 SAL_CALL OCommonStatement::executeUpdate(const OUString& sql) in executeUpdate() argument
294 const ::rtl::OUString sSqlStatement = m_pConnection->transFormPreparedStatement(sql); in executeUpdate()
299 } catch (sql::SQLException &e) { in executeUpdate()
317 std::auto_ptr< sql::ResultSet > rset(cppStatement->getResultSet()); in getResultSet()
320 } catch (sql::SQLException &e) { in getResultSet()