diff --git a/rdbms/OcciStmt.cpp b/rdbms/OcciStmt.cpp index 9e3aefc4936208b9a8fb25124170e78ee50b2c27..b43403ae38bd227b337861aba59030c18688dae7 100644 --- a/rdbms/OcciStmt.cpp +++ b/rdbms/OcciStmt.cpp @@ -166,36 +166,6 @@ void OcciStmt::bindOptionalString(const std::string ¶mName, const optional<s } } -//------------------------------------------------------------------------------ -// setNbParamSets -//------------------------------------------------------------------------------ -void OcciStmt::setNbParamSets(const uint32_t nbParamSets) { - try { - m_stmt->setMaxIterations(nbParamSets); - } catch(exception::Exception &ex) { - throw exception::Exception(std::string(__FUNCTION__) + " failed for SQL statement " + - getSqlForException() + ": " + ex.getMessage().str()); - } catch(std::exception &se) { - throw exception::Exception(std::string(__FUNCTION__) + " failed for SQL statement " + - getSqlForException() + ": " + se.what()); - } -} - -//------------------------------------------------------------------------------ -// startNextParamSet -//------------------------------------------------------------------------------ -void OcciStmt::startNextParamSet() { - try { - m_stmt->addIteration(); - } catch(exception::Exception &ex) { - throw exception::Exception(std::string(__FUNCTION__) + " failed for SQL statement " + - getSqlForException() + ": " + ex.getMessage().str()); - } catch(std::exception &se) { - throw exception::Exception(std::string(__FUNCTION__) + " failed for SQL statement " + - getSqlForException() + ": " + se.what()); - } -} - //------------------------------------------------------------------------------ // executeQuery //------------------------------------------------------------------------------ diff --git a/rdbms/OcciStmt.hpp b/rdbms/OcciStmt.hpp index ac0b6f7b56b2ee84f6b38b699ae698072503ce9a..8b97e3a5d26e56bbf64852587aca83fd93f552d8 100644 --- a/rdbms/OcciStmt.hpp +++ b/rdbms/OcciStmt.hpp @@ -116,20 +116,6 @@ public: */ void bindOptionalString(const std::string ¶mName, const optional<std::string> ¶mValue) override; - /** - * Sets the total number of parameter sets that will be entered for the next - * execution of this statement. - * - * @param nbParamSets The total numer of parameter sets - */ - void setNbParamSets(const uint32_t nbParamSets) override; - - /** - * Starts the next parameter set to be be entered for the next execution of - * this statement. - */ - void startNextParamSet() override; - /** * Executes the statement and returns the result set. * diff --git a/rdbms/SqliteStmt.cpp b/rdbms/SqliteStmt.cpp index cf2d61d435b6aa5df0568062fbb6052961490608..481e84e112707d9ddef635b36a3be3d4a571e969 100644 --- a/rdbms/SqliteStmt.cpp +++ b/rdbms/SqliteStmt.cpp @@ -205,20 +205,6 @@ void SqliteStmt::bindOptionalString(const std::string ¶mName, const optional } } -//------------------------------------------------------------------------------ -// setNbParamSets -//------------------------------------------------------------------------------ -void SqliteStmt::setNbParamSets(const uint32_t nbParamSets) { - throw exception::Exception(std::string(__FUNCTION__) + " not implemented"); -} - -//------------------------------------------------------------------------------ -// startNextParamSet -//------------------------------------------------------------------------------ -void SqliteStmt::startNextParamSet() { - throw exception::Exception(std::string(__FUNCTION__) + " not implemented"); -} - //------------------------------------------------------------------------------ // executeQuery //------------------------------------------------------------------------------ diff --git a/rdbms/SqliteStmt.hpp b/rdbms/SqliteStmt.hpp index 879b2b406b81e7daa0059731557b8a70e4f20472..d56131ed11cb5e0637d7334c4b25f2ced37e425f 100644 --- a/rdbms/SqliteStmt.hpp +++ b/rdbms/SqliteStmt.hpp @@ -111,20 +111,6 @@ public: */ void bindOptionalString(const std::string ¶mName, const optional<std::string> ¶mValue) override; - /** - * Sets the total number of parameter sets that will be entered for the next - * execution of this statement. - * - * @param nbParamSets The total numer of parameter sets - */ - void setNbParamSets(const uint32_t nbParamSets) override; - - /** - * Starts the next parameter set to be be entered for the next execution of - * this statement. - */ - void startNextParamSet() override; - /** * Executes the statement and returns the result set. * diff --git a/rdbms/Stmt.hpp b/rdbms/Stmt.hpp index ec47a980ec4260c82f8fc620943207eb9e9bc61d..7683d3789cbe2fea20ef8ebbf3d8147eb9b913a9 100644 --- a/rdbms/Stmt.hpp +++ b/rdbms/Stmt.hpp @@ -150,20 +150,6 @@ public: */ virtual void bindOptionalString(const std::string ¶mName, const optional<std::string> ¶mValue) = 0; - /** - * Sets the total number of parameter sets that will be entered for the next - * execution of this statement. - * - * @param nbParamSets The total numer of parameter sets - */ - virtual void setNbParamSets(const uint32_t nbParamSets) = 0; - - /** - * Starts the next parameter set to be be entered for the next execution of - * this statement. - */ - virtual void startNextParamSet() = 0; - /** * Executes the statement and returns the result set. *