|
|
Choosing A Webhost: |
CVS update of carob/include (Statement.hpp): msg#00106db.carob.cvs
Date: Tuesday, March 21, 2006 @ 18:08:01 Author: marc Path: /cvsroot/carob/carob/include Modified: Statement.hpp (1.36 -> 1.37) hid ugly executeUpdate(query, serializedParameters) ParameterStatement method from public: interface to protected: ---------------+ Statement.hpp | 25 ++++++++++++------------- 1 files changed, 12 insertions(+), 13 deletions(-) Index: carob/include/Statement.hpp diff -u carob/include/Statement.hpp:1.36 carob/include/Statement.hpp:1.37 --- carob/include/Statement.hpp:1.36 Tue Mar 21 17:26:41 2006 +++ carob/include/Statement.hpp Tue Mar 21 18:08:01 2006 @@ -146,18 +146,6 @@ { return executeUpdate(sql, emptyString); } /** - * Execute a SQL INSERT, UPDATE or DELETE statement. In addition SQL - * statements that return nothing such as SQL DDL statements can be executed - * @param skeleton SQL skeleton statement - * @param parameters SQL parameters - * @return either a row count, or 0 for SQL commands - */ - int executeUpdate(const std::wstring &skeleton, const std::wstring ¶meters) - throw (DriverException, SocketIOException, - BackendException, ControllerException, - ProtocolException, UnexpectedException); - - /** * Returns true if there are results available for retrieval with * getMoreResults(), but does NOT move to the next result in the list. * @@ -344,7 +332,7 @@ /** * Sets the maxRows, fetchSize and cursorName values of this Statement in the * given request - * @param request on which to set parameters + * @param request on which to set parameters (unrelated to user parameters) */ void setReadRequestParameters( RequestWithResultSetParameters& request); @@ -363,6 +351,17 @@ */ Connection* getConnectionPtr() {return connectionPtr;} /** + * Convenience method for derived class ParameterStatement + * @param skeleton SQL skeleton statement + * @param serializedParameters SQL parameters serialized into a string + * @return either a row count, or 0 for SQL commands + */ + int executeUpdate(const std::wstring &skeleton, + const std::wstring &serializedParameters) + throw (DriverException, SocketIOException, + BackendException, ControllerException, + ProtocolException, UnexpectedException); + /** * Forbid destruction to the rest of the world. * Statements must be deleted by connection. * @see Connection::deleteStatement(Statement* stPtr)
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | CVS update of carob/include (Statement.hpp), marc-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
|---|---|
| Next by Date: | CVS update of carob/include (Statement.hpp), marc-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Previous by Thread: | CVS update of carob/include (Statement.hpp), marc-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Next by Thread: | CVS update of carob/include (Statement.hpp), marc-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home
| advertise | OSDir is
an inevitable website.
|