Commit Graph

424 Commits

Author SHA1 Message Date
Marian Krivos
59270fc991 fix ODBC/MySQL header/library name 2011-09-22 14:53:57 +00:00
Marian Krivos
e692f6e1a7 fix SQLite header/library name 2011-09-22 14:51:31 +00:00
Marian Krivos
eb266f8a57 Set cmake produced shared libraries numbering to standard scheme (trunk = 12)
Sync latest Foundation changes from 1.4.2
2011-09-15 08:31:51 +00:00
Marian Krivos
8aa4425690 cmake fixes 2011-09-14 18:22:50 +00:00
Marian Krivos
cd1ea5980c rename PocoXXXX to PocoDataXXXX 2011-09-14 13:23:36 +00:00
Marian Krivos
f65f178b54 poco::data vs100 project updates 2011-09-14 13:09:29 +00:00
Marian Krivos
a0064a855c Foundation: VS project imports 2011-09-09 19:08:24 +00:00
Marian Krivos
6fb457d83e trunk: update to sqlite 3.7.7.1 2011-08-23 18:43:59 +00:00
Marian Krivos
0ac146cb9e cmake improvements: test and samples are from now disabled by default, you can enable this option with cmdline option to cmake: '-DENABLE_TESTS=1'
minimum required CMAKE version is 2.6 from now
2011-01-22 11:46:03 +00:00
Marian Krivos
96b0296969 cmake + MinGW32: fix for ignored ODBC 2011-01-16 13:36:24 +00:00
Marian Krivos
b76b5673a6 test compile fix: DataTest.cpp was broken after last LOB class refactoring, erro was:
call of overloaded 'LOB(Poco::Dynamic::Var&)' is ambiguous, candidates are: 
     Poco::Data::LOB<T>::LOB(const Poco::Data::LOB<T>&) [with T = char, Poco::Data::LOB<T> = Poco::Data::LOB<char>]
     Poco::Data::LOB<T>::LOB(const std::basic_string<_CharT>&) [with T = char]
     Poco::Data::LOB<T>::LOB(const std::vector<T>&) [with T = char]
2011-01-15 18:27:49 +00:00
Aleksandar Fabijanic
6210a95755 comment correction 2010-04-05 13:44:40 +00:00
Aleksandar Fabijanic
5c7994c863 TypeHandler documentation clarification and test modification 2009-12-08 01:50:41 +00:00
Aleksandar Fabijanic
50a373c3b9 SF [2903676] Tuple TypeHander does not handle composites. 2009-11-25 14:57:32 +00:00
Aleksandar Fabijanic
4856f84b21 Sun CC wants explicit cast &^( 2009-11-13 13:47:57 +00:00
Aleksandar Fabijanic
d0d667af56 added support for Var assignment to Var-enabled types 2009-11-13 00:12:26 +00:00
Aleksandar Fabijanic
ffd027c38a SF [2150438] Tuple TypeHandler position increment size is wrong 2009-11-02 02:17:58 +00:00
Aleksandar Fabijanic
05131182b8 RowFormatter - progressive and bulk formatting modes 2009-11-01 15:58:32 +00:00
Aleksandar Fabijanic
65ad81c363 - made prefix() and postfix() virtual
- avoid stream operator calls when copying empty strings
2009-10-29 17:45:02 +00:00
Aleksandar Fabijanic
e1d57cf0dc propagate the RowFormatter change to the Row collection 2009-10-02 18:25:40 +00:00
Aleksandar Fabijanic
10bdb05987 serialize SessionPoolContainer access 2009-09-23 20:25:25 +00:00
Marian Krivos
c5b2daa36c cmake build system fix - debug version of ther library was striped and vice versa 2009-08-26 12:26:22 +00:00
Aleksandar Fabijanic
49101951a2 improved support for multiple statement execution and recordset paging 2009-08-11 14:34:21 +00:00
Marian Krivos
56c8ac698e bugfix: #2809750 (iodbc on OSX) 2009-06-22 18:41:44 +00:00
Aleksandar Fabijanic
0d57f8b00f [SF 2809131] SessionPool compile failure, part II 2009-06-20 11:46:43 +00:00
Aleksandar Fabijanic
64b3bc8b76 [SF 2809131] SessionPool compile failure 2009-06-20 00:33:31 +00:00
Aleksandar Fabijanic
8123e9e2f4 [SF 2807750] Support additional SQL types in SQLite 2009-06-17 19:00:49 +00:00
Aleksandar Fabijanic
810cfd2ff4 preserve/restore session features/properties within the pool 2009-05-14 11:05:44 +00:00
Aleksandar Fabijanic
0bd881fd5e SessionPoolContainer: added getPool() and FastMutex locking 2009-05-12 20:04:27 +00:00
Marian Krivos
1afd0a8328 bugfix #2781776 - cmake instals .svn directories 2009-04-27 19:22:30 +00:00
Guenter Obiltschnig
d991074a5c udpated sqlite compile settings 2009-03-25 08:04:04 +00:00
Guenter Obiltschnig
62c50bac61 upgraded sqlite to 3.6.11 2009-03-24 12:11:55 +00:00
Marian Krivos
c2d5c64159 fixed testrunner linking when static linking is used (cmake . -DPOCO_STATIC=1) 2009-03-16 18:02:09 +00:00
Marian Krivos
aaa3b1b274 Fix for 64bit linux - size_t isn't always Poco::UInt32 2009-03-08 18:57:55 +00:00
Marian Krivos
c4f6084c25 added last Poco module to cmake infrastructure - PocoODBC (working at least on linux32 + unixodbc + gcc 4.3.2) 2009-03-08 17:03:18 +00:00
Marian Krivos
e0c971a581 unixodbc+linux32 doesn't compile with SQLPOINTER & SQLColAttribute() - old story with ODBC 32/64 API compatibility 2009-03-08 16:50:04 +00:00
Marian Krivos
4faf23e1e7 added test for MySQL API version with respect to mysql_option() 2009-03-08 13:45:58 +00:00
Marian Krivos
a33fb4a4b5 compile fix: thirdth parameter of mysql_option() 2009-03-07 14:59:56 +00:00
Aleksandar Fabijanic
b0bbfb5554 changed set|getTimeout() => set|getLoginTimeout()
added set|getConnectionTimeout()
2009-02-28 01:52:41 +00:00
Aleksandar Fabijanic
68a79674c1 SF [2643953] Improve Data::Session connection 2009-02-27 03:14:53 +00:00
Marian Krivos
2c304d744d adaptation cmake scripts to current MinGW platform (exclude SSL/Crypto/MySQL/Apache/ODBC) 2009-02-22 19:58:27 +00:00
Marian Krivos
ac01609444 cmake scripts for all tests 2009-02-21 20:19:53 +00:00
Marian Krivos
24e706aa2a added Data, Foundation, Net and Util samples + some global cmake fixes - second portion 2009-02-19 20:38:07 +00:00
Marian Krivos
129f21cc79 added Data, Foundation, Net and Util samples + some global cmake fixes 2009-02-19 20:35:03 +00:00
Marian Krivos
c4dc4b70d3 mising include <cstring> 2009-02-18 20:48:26 +00:00
Marian Krivos
16cdb4b127 cmake runtime install support (headers+libs) 2009-02-18 20:47:32 +00:00
Aleksandar Fabijanic
0f98824311 Poco::UInt32 => std::size_t 2009-02-16 15:12:03 +00:00
Aleksandar Fabijanic
142c248754 use std::size_t in Data interfaces (may break some code on 64-bit platforms) 2009-02-16 03:34:35 +00:00
Marian Krivos
5b320c2894 Very basic but functional (at least on linux with gcc) support
for CMake build system
. 
It is strongly recomended to use out-of-source build to preserve
original Poco makefiles.

http://www.cmake.org/Wiki/CMake_FAQ#Out-of-source_build_trees

I have tested unix makefile generating and Eclipse CDT4 generating.

Supported are static/dynamic and debug/release targets. 
On now only core libs are included: CppUnit, Foundation,
Data, Data/SQLite, Util, Net and XML. But autodetection
of OpenSSL, MySQL and ODBC is working OK already.

CPack and CTest nor library install still doesn't work, only building.

This is only the start.
2009-02-15 15:49:19 +00:00
Marian Krivos
454318cd17 Compilation fix: AbstractPreparation -> AbstractPreparator 2009-02-14 15:44:52 +00:00
Aleksandar Fabijanic
b2454e3b83 few tidy-up fixes 2009-02-13 14:14:16 +00:00
Aleksandar Fabijanic
a8c39370be [SF 2593784] SVN trunk RowIterator 2009-02-12 19:43:22 +00:00
Aleksandar Fabijanic
08efaa0572 Removed Transactor template (not needed), fixed documentation, additional tests 2009-02-10 15:51:42 +00:00
Aleksandar Fabijanic
60c8b0183e Transactor documentation and test fix 2009-02-10 13:32:24 +00:00
Aleksandar Fabijanic
d11f007d23 [SF 2580108] Improve transaction handling 2009-02-08 23:14:54 +00:00
Peter Schojer
75ecce9cc4 added support for RENESAS, compile fixes for RENESAS 2009-01-22 08:14:22 +00:00
Aleksandar Fabijanic
363711ed39 SessionPoolContainer::get() fix
few documentation fixes
consolidated redundant MySQL connection params
2009-01-15 17:01:34 +00:00
Aleksandar Fabijanic
b38f5ce99c [SF 2505290] DB connection as URI (MySQL not tested!) 2009-01-13 19:51:48 +00:00
Aleksandar Fabijanic
2f7c6b4aa5 make Row field names case-insensitive 2009-01-07 16:12:40 +00:00
Aleksandar Fabijanic
f84e0947f7 Preparation renamed to Preparator 2008-12-10 22:28:13 +00:00
Aleksandar Fabijanic
5d16c86427 made diagnostics() const 2008-12-08 11:36:56 +00:00
Aleksandar Fabijanic
60f6d0eeea made diagnostics() const 2008-12-07 17:59:25 +00:00
Aleksandar Fabijanic
721062b0d3 adding LOB files 2008-11-24 00:40:30 +00:00
Aleksandar Fabijanic
a42e8d919b [SF 2272430] BLOB and CLOB
Renamed:
(Abstract)Preparation => (Abstract)Preparator
(Abstract)Prepare => (Abstract)Preparation
2008-11-24 00:38:23 +00:00
Aleksandar Fabijanic
4b4ec9393c - introduced Poco::Dynamic namespace
- moved/renamed:
Poco::DynamicAny => Poco::Dynamic::Var
Poco::DynamicAny typedef for backward compatibility (deprecated)
DynamicAny.h forwarding header for backward compatibility (deprecated)

Poco::DynamicAnyHolder => Poco::Dynamic::VarHolder
DynamicAnyHolder.h forwarding header for backward compatibility (deprecated)

Poco::DynamicStruct => Poco::Dynamic::Struct
Poco::DynamicStruct typedef for backward compatibility (deprecated)
DynamicStruct.h forwarding header for backward compatibility (deprecated)

- changed FastMutex to Mutex in Data::SessionPool (deadlocking)
2008-11-16 16:54:37 +00:00
Aleksandar Fabijanic
9d9db7ce90 fixed memory leaks in Preparation and Binder 2008-11-13 02:18:29 +00:00
Peter Schojer
4975ac2c44 copied Crypto from sandbox to trunk 2008-10-31 09:06:54 +00:00
Aleksandar Fabijanic
dcede96ede added SessionPoolExistsException
when duplicate session add is requested by name, it is silently ignored
2008-10-21 13:39:47 +00:00
Aleksandar Fabijanic
4e0cc97d6a SessionPool::name() (maybe this should go into session?)
SessionPool::shutdown() (hanging on destruction for static object - Timer?)
2008-10-17 18:48:27 +00:00
Aleksandar Fabijanic
9a024d4516 SessionPool sessions feature/property setters and getters
SessionPoolContainer
2008-10-13 19:20:17 +00:00
Aleksandar Fabijanic
087550a844 removed std::pair binding/extraction (not needed) 2008-10-09 17:18:50 +00:00
Aleksandar Fabijanic
fa02d5aa5b Exception/ODBCException modifications to safely (SQLite ODBC tests were failing) propagate ODBC error messages up the hierarchy
SharedPtr/AutoPtr TypeHandler tests
FreeTDS SQLServer tests changes from 1.3.3
Windows build scripts fixes from 1.3.3
2008-10-07 18:58:47 +00:00
Peter Schojer
9be2b5bd92 fixed AUtoPtr/SharedPtr specialization 2008-10-07 14:17:05 +00:00
Peter Schojer
eb7c6e8a9a updated null test 2008-10-07 13:03:32 +00:00
Peter Schojer
c66d320a02 added SharedPtr test 2008-10-07 12:56:02 +00:00
Peter Schojer
6455aafd68 added AutoPtr,SharedPtr 2008-10-07 12:45:07 +00:00
Guenter Obiltschnig
585a7f147b fixed SF# 2123231 ] MySQL MEDIUMINT support 2008-09-26 08:07:24 +00:00
Aleksandar Fabijanic
d67bccf359 [2127319] ODBC fails to detect drivers w/ unixODBC 2008-09-24 23:23:46 +00:00
Chris Johnson
0cd0f4cacf Improve dependency libs during linking based on components enabled - resolves link errors on missing libs when a component is disabled. 2008-09-24 05:40:15 +00:00
Chris Johnson
0f2fa0aae6 FIX BUG-2123306 - Added support for optional compiling of NetSSL and Data, including control of which data components (ODBC, MySQL, SQLite)
Added --help configuration additions
FIX MinGW build support for Data component
Corrected link order of Poco components for data samples resulting in unresolved symbol errors
2008-09-23 07:44:45 +00:00
Aleksandar Fabijanic
6ca0056f79 Solaris test compile/run 2008-09-22 18:13:54 +00:00
Aleksandar Fabijanic
aaddff0f41 MySQL:
Solaris compilation fixes
VS90 project file
Makefile
few tidy-up code fixes
2008-09-22 13:32:12 +00:00
Aleksandar Fabijanic
08ee875c9f detect links to odbc libraries 2008-09-19 18:28:46 +00:00
Guenter Obiltschnig
0be3772812 2118943 ] out_of_bound access in Poco::Data::BLOB:rawContent 2008-09-19 08:33:19 +00:00
Guenter Obiltschnig
46c41fcd42 SQLite3 fixes 2008-09-18 11:14:41 +00:00
Aleksandar Fabijanic
f0ffa66fc3 disable MSVC warnings 2008-09-11 11:59:48 +00:00
Peter Schojer
2febc946df updated sqlite to 3.6.2 2008-09-10 12:47:08 +00:00
Peter Schojer
b74e41b626 added std::pair support 2008-09-02 07:02:58 +00:00
Aleksandar Fabijanic
c94cd468de RowIterator positioning 2008-08-25 12:42:31 +00:00
Aleksandar Fabijanic
6b3b3e852f few Row sorting fixes/optimizations 2008-08-14 22:53:45 +00:00
Aleksandar Fabijanic
e409026fba SF [2047672] RecordSet Filtering 2008-08-12 10:12:56 +00:00
Aleksandar Fabijanic
e55781ba66 changed AbstractExtraction::isValueNull(const std::string&, bool) from specialization to overload 2008-07-30 13:54:58 +00:00
Aleksandar Fabijanic
fc5a503593 Changes related to following tracker items:
[2025916] ODBC binds empty string as null?
[2000408] DynamicAny non-initialized state support
[1981130] pointless comparison of unsigned integer with zero

and some refactoring.

Warning: only tested on Windows.
2008-07-29 20:11:38 +00:00
Sergey Kholodilov
3e65280dc1 artificial limit for bind parameters removed. 2008-07-29 16:44:13 +00:00
Aleksandar Fabijanic
f712074b62 pass error diagnostic string to the parent
added class documentation
2008-07-24 11:42:10 +00:00
Aleksandar Fabijanic
d4f2be3fd2 SF [2019857] Memory leak in Data::ODBC Extractor (fixed using Poco::Buffer) 2008-07-20 17:05:18 +00:00
Aleksandar Fabijanic
2589797359 changed Oracle connection string (again) 2008-07-18 14:58:55 +00:00
Aleksandar Fabijanic
a58b6e4c67 changed Oracle connection string 2008-07-18 11:45:17 +00:00
Aleksandar Fabijanic
f574e90f41 SF [2019857] Memory leak in Data::ODBC Extractor 2008-07-17 00:40:59 +00:00
Aleksandar Fabijanic
93c6bb0725 removed ODBCStatementImpl stored procedure hack
renamed TypeInfo::getSafeInfo to tryGetInfo
2008-07-16 21:02:56 +00:00
Aleksandar Fabijanic
9f8bd817f3 AutoTransaction test for Oracle ODBC 2008-07-14 18:27:29 +00:00
Peter Schojer
e7ce0a5b52 reduced exception throwing 2008-07-09 08:51:19 +00:00
Peter Schojer
dcc35155fc fixed wrong license 2008-07-01 09:12:50 +00:00
Aleksandar Fabijanic
b1f895eed8 DynamicAny improvements (now holds any type out-of-the-box), some refactoring and documentation improvements 2008-06-30 00:26:54 +00:00
Aleksandar Fabijanic
3ca6a9775c VS 90 files for MySQL connector; components file update 2008-06-25 11:59:27 +00:00
Sergey Kholodilov
1641bb56ce =database and user name changed 2008-06-25 11:03:17 +00:00
Sergey Kholodilov
33efbefa71 =MySQL connector 2008-06-25 10:42:16 +00:00
Sergey Kholodilov
e4d212a9d3 =Nullable and it supportion in TypeHandler 2008-06-25 10:29:40 +00:00
Aleksandar Fabijanic
cfbe8fd28a SF [2000408] DynamicAny non-initialized state support (more changes/fixes) 2008-06-23 21:48:23 +00:00
Aleksandar Fabijanic
8e993b9240 fix for failing testRow() 2008-06-23 20:32:05 +00:00
Aleksandar Fabijanic
b044856f46 DynamicAny non-initialized state capability
made DynamicAnyHolder::create() and is...() pure virtual functions virtual
(simplifies DynamicAnyHolderImpl implementation)
made DynamicAnyHolder default constructor protected
made DynamicAnyHolderImpl default constructor private
added DynamicAnyTest::testEmpty()
2008-06-23 02:15:22 +00:00
Guenter Obiltschnig
c23141fa4d added release scripts 2008-06-09 18:42:07 +00:00
Aleksandar Fabijanic
e2fafc6404 [1983595] ODBCMetaColumn type detection fix 2008-06-03 13:52:00 +00:00
Aleksandar Fabijanic
cf01c1ad16 date/time test fix; g++ compilation fix for bulk 2008-06-01 11:02:21 +00:00
Aleksandar Fabijanic
4fe33a7c49 Sun Studio ODBC compile fixes 2008-05-30 19:00:11 +00:00
Aleksandar Fabijanic
4e774e71aa SunOS build consolidation:
build/config/SunOS renamed to SunOS-SunForte
added build/config/SunOS-SunStudio
modified build/rules/global to select proper configuration based on detected Sun compiler version
disabled spurious hidevf warning for Data/testsuite and Data/SQLite Sun build
2008-05-28 19:08:40 +00:00
Aleksandar Fabijanic
979749490a Binding compilation fix 2008-05-25 16:36:58 +00:00
Aleksandar Fabijanic
d6ace3c20a various use()/useRef()/bind() case tests 2008-05-25 16:09:11 +00:00
Peter Schojer
4e730ecc7e Fixed constness detection of const char[] arrays 2008-05-14 06:00:40 +00:00
Peter Schojer
bad44e6e46 added a static assert to check for const ref with use, added useRef keyword for these cases 2008-05-13 13:41:08 +00:00
Peter Schojer
92a0389b63 Split Bindign in CopyBinding and Binding. Fixes use(const T&) case 2008-05-13 11:30:19 +00:00
Aleksandar Fabijanic
e1c7bc55dd SF items 1951604 and 1953551
[1951604] POCO refuses to compile with g++ 4.3.0
[1953551] Solaris Sun Studio 12 Apache stdcxx 64 bit

Warning: compile with target platforms not done yet!
2008-04-28 21:52:10 +00:00
Aleksandar Fabijanic
1c393ae9ab VS 71 projects and solutions 2008-03-27 14:53:54 +00:00
Aleksandar Fabijanic
1d7188d78e moved format into Keywords namespace 2008-03-26 15:21:18 +00:00
Guenter Obiltschnig
6827e13c0f added shared cache support to sqlite 2008-03-26 09:11:18 +00:00
Aleksandar Fabijanic
d2de70c58a namespace Keywords (!!! breaks existing code !!!)
Following keywords were moved from Poco:Data to Poco::Data::Keywords namespace

- now
- use
- bind
- into
- in
- out
- io
- from
- bulk
- null
- limit
- upperLimit
- lowerLimit
- range
2008-03-20 20:31:23 +00:00
Aleksandar Fabijanic
405e2e5cba POCO_DATA_INVALID_ROW constant and Constants.h header 2008-03-20 17:57:24 +00:00
Aleksandar Fabijanic
4ffed92894 some MSVC Level 4 warning fixes 2008-03-17 14:27:29 +00:00
Aleksandar Fabijanic
3848bfbb53 added AutoTransaction 2008-03-17 12:14:07 +00:00
Chris Johnson
def90185aa Added build support for stock MinGW/MSYS build of POCO.
Components now supported by default:
 Foundation {including internal PCRE lib}
 Util
 Net
 XML
 SQL
 SQL/ODBC
 SQL/SQLite
 samples/{all components supported}

Components supported with additional 3rd party MinGW/MSYS libs:
 NetSSL w/OpenSSH

Components unsupported at this time:
 testsuite: Fails to build due to TupleTest - needs slight code change MinGW can't deal with currently.  Only thing causing failure.
 CppUnit: Unable to support this due to WIN32 version of this functionality relying on MFC which does not ship with MinGW/MSYS.
 --no-wstring support due libstdc++ - will require STLPort {support coming soon}


:build/config/MinGW
 +Fixed compiler environment flags and switches
 +Linkage build supports:  SHARED, STATIC, or BOTH
 +Fixed duplicate symbol/unresolved symbol during compile
 +Added PCRE build flag for internal library build/eliminate link errors
 +Disable support of UTF-8 by default, MinGW will require STLPort 
 +Corrected system link libs for MinGW "dumb" linker

:build/rules/global
 +Added MinGW environment deduction logic

:configure
 +Fine tuned environment deduction recognizing MinGW as valid

:Data/ODBC/Makefile
 +Fixed correct ODBC libs to link

:Foundation/Makefile
 +Added logic for building correct subsystem dependency

:Util/Makefile
 +Added logic for building correct subsystem dependency
2008-02-21 09:08:44 +00:00
Aleksandar Fabijanic
5bf096bb2a - SF [1800596] VS Solutions (ver. 8.0 and 9.0)
- SF [1621372] Build Scripts (all Windows scripts consolidated in one)
- eliminated warnings in sqlite3.c
- updated components file
2008-02-17 17:14:33 +00:00
Aleksandar Fabijanic
78349bba1f bind() arguments change 2008-02-08 21:21:20 +00:00
Aleksandar Fabijanic
f7aa11c7f5 removed NoDataException throw 2008-02-07 20:14:40 +00:00
Aleksandar Fabijanic
eeb285bb93 - removed position parameter to setParamSetSize() (not used)
- execute call in SQLChannel wrapped in try-catch
2008-02-06 02:29:09 +00:00
Aleksandar Fabijanic
10f9d4befb fixed few failing statements 2008-02-04 19:17:35 +00:00
Guenter Obiltschnig
cf60e2a5d8 updated Data samples; updated SQlite to 3.5.5 2008-02-03 13:48:59 +00:00
Aleksandar Fabijanic
9dde6fb1ef ODBC string truncation bug fix 2008-02-02 21:45:21 +00:00
Aleksandar Fabijanic
fd1d5aed5f date and time types macros 2008-01-26 16:01:42 +00:00
Aleksandar Fabijanic
bc8f7e8680 some compilation refactoring 2008-01-22 02:05:04 +00:00
David Shawley
277101a054 * Makefile
* testsuite/Makefile
  - Replaced .so suffix in ifeq tests with $(SHAREDLIBLINKEXT)
    instead since MacOS uses .dylib.
2008-01-21 01:33:49 +00:00
Aleksandar Fabijanic
5e1605823b SQLite multiple statement handling 2008-01-21 00:56:52 +00:00
Eran Hammer-Lahav
19dca2aa79 Feature Request #1873922
Add project and solution files for Visual Studio 2008
2008-01-17 18:07:39 +00:00
Aleksandar Fabijanic
41c775b41d - use() takes reference now
- bind() for constants
- Statement: allow for easier external binding supply
2008-01-16 03:32:10 +00:00
Aleksandar Fabijanic
48d0d9fef9 fix for SF 1871946 (no exception thrown on error) 2008-01-16 00:25:28 +00:00
Aleksandar Fabijanic
9e8e627347 - SQL logging channel and archiving strategy
- row formatting refactored
- affected row count for insert, delete and update returned from Statement::execute()
- internal SQL string formatting capability using Poco::format()
2008-01-12 18:25:27 +00:00
Aleksandar Fabijanic
b57f579d16 SyntaxExcpetion changed into DataFormatException; couple of comment fixes 2008-01-05 21:22:12 +00:00
Aleksandar Fabijanic
e1d27fecba RowFormatter redesign, sample and some other minor changes 2008-01-05 21:19:33 +00:00
Aleksandar Fabijanic
76079f5baa unixODBC Unicode support (compiles, not tested) 2008-01-05 20:47:42 +00:00
Aleksandar Fabijanic
6adc6346e6 UnixODBC Unicode support (!not tested!) 2008-01-02 00:20:06 +00:00
Aleksandar Fabijanic
ad61968449 bulk internal extraction fixes and tests; some renaming/refactoring 2007-12-21 02:33:26 +00:00
Aleksandar Fabijanic
7a6904b383 internal bulk extraction; some fixes for recently added features 2007-12-20 00:20:13 +00:00
Aleksandar Fabijanic
8c3d87b1c7 std::deque and std::list bulk support 2007-12-19 02:37:40 +00:00
Aleksandar Fabijanic
1c4e777ab3 - added session "bulk" feature
- removed ODBC driver capability check
2007-12-17 00:20:04 +00:00
Aleksandar Fabijanic
c26de87394 added bulk, removed step 2007-12-16 17:44:46 +00:00
Aleksandar Fabijanic
33ed26b48b undo the mistakenly committed sample code 2007-11-24 17:37:08 +00:00
Aleksandar Fabijanic
8e45ef4f09 undo the mistakenly committed sample code 2007-11-24 17:09:30 +00:00
Aleksandar Fabijanic
6e0efdc493 some win Unicode fixes 2007-11-23 13:53:39 +00:00
Aleksandar Fabijanic
2e10390593 - Unicode support (Windows only at this time, UNIX T.B.D.)
- SF bug #1836684 fix (ODBC data lengths in subsequent execute calls)
- many refactoring/cosmetic changes
2007-11-22 23:11:51 +00:00
Aleksandar Fabijanic
6068e26cdd added Step, Date, Time 2007-11-12 15:21:48 +00:00
Aleksandar Fabijanic
fca08a18df step, date, time 2007-11-10 23:21:28 +00:00
Aleksandar Fabijanic
95c5230389 batch statements (multiple results) support 2007-11-06 02:18:32 +00:00
Aleksandar Fabijanic
c3c422d87d multiple results (WIP, compiles and tests pass) 2007-11-04 23:33:07 +00:00
Aleksandar Fabijanic
9a5a611cc1 tidy-up 2007-10-31 22:14:32 +00:00
Aleksandar Fabijanic
dacc28ff55 renamed _ptr => _pImpl 2007-10-31 22:08:15 +00:00
Aleksandar Fabijanic
a6aa475b55 Any and DynamicAny out and io 2007-10-31 21:48:22 +00:00
Aleksandar Fabijanic
e7ac6e383c Any and DynamicAny binding/extraction 2007-10-31 01:29:21 +00:00
Aleksandar Fabijanic
76221cc707 Oracle stored proc recordset retrieval 2007-10-30 19:46:55 +00:00
Aleksandar Fabijanic
424b717920 support for stored procedures returning recordset 2007-10-28 23:08:35 +00:00
Aleksandar Fabijanic
9ea88d25dd swap optimization 2007-10-27 18:53:32 +00:00
Aleksandar Fabijanic
5eb03ba814 outline nvl 2007-10-27 18:52:25 +00:00
Aleksandar Fabijanic
98191f1b2b nvl reversed to DynamicAny 2007-10-23 19:40:06 +00:00
Aleksandar Fabijanic
5d4080e7f4 fix for Statement async execution and a diagnostics improvement in RecordSet 2007-10-17 01:23:03 +00:00
Aleksandar Fabijanic
1d774be07b RowFormatter strategy 2007-10-03 01:45:34 +00:00
Aleksandar Fabijanic
d9364e8f51 some async-robustness additions and tests for Statement 2007-09-30 16:42:17 +00:00
Aleksandar Fabijanic
6e380b6b13 Various feature additions and fixes:
- asynchronous execution for Data::Statement
- ActiveMethod copy and assignment
- added Data components to $POCO_BASE/components
- SQLite 64-bit integer default
- SessionPool timer seconds to milliseconds
- ODBC fix for subsequent calls to execute()
- std::deque (instead of std::vector) as default container
2007-09-29 18:40:43 +00:00
Aleksandar Fabijanic
0dfd7bec3b removed bool _executed member (not used) 2007-09-26 21:48:02 +00:00
Aleksandar Fabijanic
8506aad3ae small sample tidy up 2007-09-24 01:37:31 +00:00
Aleksandar Fabijanic
228d48ad14 proper bool support 2007-09-22 01:20:20 +00:00
Guenter Obiltschnig
40c0f41fa0 improved ODBC error reporting (SQL_NO_DATA) 2007-09-19 20:01:48 +00:00
Aleksandar Fabijanic
2fa2a98714 nvl 2007-09-13 22:43:37 +00:00
Aleksandar Fabijanic
5a6eb68529 DynamicAny update 2007-09-07 15:11:41 +00:00
Aleksandar Fabijanic
6d1e798f2e Some code formatting 2007-09-07 15:11:02 +00:00
Aleksandar Fabijanic
ab1b6c29ca 2007-08-29 17:07:52 +00:00
Aleksandar Fabijanic
3b66a355c2 DateTime support & some test tidying 2007-08-20 11:55:18 +00:00
Guenter Obiltschnig
dfbc0e1d24 added Session::isTransaction() 2007-08-10 14:08:45 +00:00
Aleksandar Fabijanic
97769a1a43 removed redundant SQLSetStmtAttr 2007-07-23 21:00:36 +00:00
Aleksandar Fabijanic
b2977d3df2 Row and RowIterator done and tested (windows and linux) 2007-06-23 01:22:55 +00:00
Aleksandar Fabijanic
08f8448478 2007-06-22 02:09:02 +00:00
Aleksandar Fabijanic
c9b65928db ODBC generic nulls, added Row and RowIterator 2007-06-22 02:07:48 +00:00
Aleksandar Fabijanic
366ac99f7d unused variable warning cleanup 2007-06-21 01:29:29 +00:00
Aleksandar Fabijanic
31860214d3 ODBC null value support and tests (tested win32 all & Linux PostgreSQL) 2007-06-21 01:27:48 +00:00
Aleksandar Fabijanic
7fac905b65 null bindings and RecordSet::isNull (SQLite done and tested, ODBC todo) 2007-06-19 23:24:16 +00:00
Aleksandar Fabijanic
6a5afde278 stored procedure and gcc fixes 2007-06-19 02:13:30 +00:00
Aleksandar Fabijanic
5feefc75cd Stored procedures for DB2 & PostgreSQL, StatementImpl::isStoredProcedure() function 2007-06-16 02:48:57 +00:00
Guenter Obiltschnig
db38afabd5 latest sources from main repository 2007-06-13 15:26:36 +00:00
Guenter Obiltschnig
0b2b989a95 SQLite fixes; minor cosmetic fixes 2007-06-13 15:11:21 +00:00
Aleksandar Fabijanic
8b374cd84b 2007-06-08 01:33:56 +00:00
Aleksandar Fabijanic
649415d3b9 Binder::bind(BLOB) 2007-06-07 01:34:49 +00:00
Aleksandar Fabijanic
f5d1b17306 std::string stored proc in-bound binding 2007-06-06 22:43:10 +00:00
Aleksandar Fabijanic
7944f7868b DateTime binding & I/O parameters fix 2007-06-06 01:26:58 +00:00
Aleksandar Fabijanic
0bde32efac DateTime binding (work in progress) 2007-06-02 01:51:38 +00:00
Aleksandar Fabijanic
b55004813d DateTime binding (only Oracle tested) 2007-05-31 22:40:27 +00:00
Aleksandar Fabijanic
c1ecb3ee05 configurable internal storage 2007-05-30 23:20:47 +00:00
Aleksandar Fabijanic
911d0c5b82 Stored procedure support 2007-05-25 22:15:46 +00:00
Aleksandar Fabijanic
2bb4746848 make preparation() protected 2007-05-25 02:00:42 +00:00
Aleksandar Fabijanic
6951cfa3c7 ODBC library detection 2007-05-25 01:57:38 +00:00
Aleksandar Fabijanic
956aafbd0b std::list, std::deque bindings 2007-05-25 01:57:15 +00:00
Aleksandar Fabijanic
033b74643c no comment 2007-05-24 01:04:57 +00:00
Aleksandar Fabijanic
cb7394bb6d Diagnostics fix and Linux test fixes 2007-05-23 23:07:52 +00:00
Aleksandar Fabijanic
55b22cc271 Convert code to zero-based 2007-05-23 01:07:39 +00:00
Aleksandar Fabijanic
418bb651c1 Tidying up the tests 2007-05-23 01:06:46 +00:00
Aleksandar Fabijanic
2fe37eab6f Added MS Access test database file 2007-05-22 15:28:52 +00:00
Aleksandar Fabijanic
a9f476da0b Tests tidy-up, DSN-less connections, preparation ODBCColumn pos fix 2007-05-22 00:02:40 +00:00
Aleksandar Fabijanic
85864b5fc2 2007-05-18 19:29:21 +00:00
Aleksandar Fabijanic
d67d05230e 2007-05-18 18:48:12 +00:00
Aleksandar Fabijanic
b03d7a50d1 2007-05-18 18:47:41 +00:00
Aleksandar Fabijanic
1063818cc3 2007-05-18 18:44:11 +00:00
Aleksandar Fabijanic
34697be9e4 eliminate some gcc warnings, move register/unregister to be called only once 2007-05-18 18:37:11 +00:00
Aleksandar Fabijanic
c31d482801 eclipse projects 2007-05-16 19:23:15 +00:00
Guenter Obiltschnig
d480055a85 final Data changes 2007-05-16 11:23:29 +00:00
Aleksandar Fabijanic
6027101fa6 0-based col/row, RecordSet metadata, Tuple sample 2007-05-16 04:17:03 +00:00
Guenter Obiltschnig
a768c2e791 added Data samples 2007-05-15 18:35:13 +00:00
Guenter Obiltschnig
b9f60b8f5e some renaming and clean-up 2007-05-15 18:34:37 +00:00
Guenter Obiltschnig
01bcb63000 committed Data 2007-05-12 14:41:03 +00:00