|
|
Choosing A Webhost: |
CVS update of carob/include (ParameterStatement.hpp): msg#00108db.carob.cvs
Date: Tuesday, March 21, 2006 @ 18:30:58 Author: marc Path: /cvsroot/carob/carob/include Modified: ParameterStatement.hpp (1.13 -> 1.14) Hid internal compileQuery() implementation method from the public: interface to private: ------------------------+ ParameterStatement.hpp | 22 +++++++++++----------- 1 files changed, 11 insertions(+), 11 deletions(-) Index: carob/include/ParameterStatement.hpp diff -u carob/include/ParameterStatement.hpp:1.13 carob/include/ParameterStatement.hpp:1.14 --- carob/include/ParameterStatement.hpp:1.13 Thu Mar 2 16:01:36 2006 +++ carob/include/ParameterStatement.hpp Tue Mar 21 18:30:58 2006 @@ -88,17 +88,6 @@ { return Statement::executeUpdate(sql_request, compileQuery()); } /** - * Helper - this compiles the SQL query, inlining the parameters in the - * request String. This is identical to <code>operator wstring()</code> except - * it throws an exception if a parameter was not set. - * - * @return the compiled query - * @throws DriverException if a parameter was not set - */ - std::wstring compileQuery() throw (DriverException) - { return compileQuery(true); } - - /** * Sets a parameter to SQL NULL. * @param parameterIndex the first parameter is 1, etc... */ @@ -299,6 +288,17 @@ std::vector<std::wstring> inStrings; /** + * Helper - this compiles the SQL query, serializing the parameters + * plus appropriate escape tags into the string returned. It throws + * an exception if a parameter was not set. + * + * @return the compiled query + * @throws DriverException if a parameter was not set + */ + std::wstring compileQuery() throw (DriverException) + { return compileQuery(true); } + + /** * Helper - this serializes the parameters into a unique wstring. * * If a parameter was not set, throws a NullValueException if throwException is true,
|
|
| <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 libmysequoia (102 files), csaba-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Next by Thread: | CVS update of odbsequoia/src (connect.cpp), 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.
|