Commit Graph

134 Commits

Author SHA1 Message Date
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
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
Peter Schojer
9be2b5bd92 fixed AUtoPtr/SharedPtr specialization 2008-10-07 14:17:05 +00:00
Peter Schojer
6455aafd68 added AutoPtr,SharedPtr 2008-10-07 12:45:07 +00:00
Guenter Obiltschnig
0be3772812 2118943 ] out_of_bound access in Poco::Data::BLOB:rawContent 2008-09-19 08:33:19 +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
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
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
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
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
979749490a Binding compilation fix 2008-05-25 16:36:58 +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
1d7188d78e moved format into Keywords namespace 2008-03-26 15:21: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
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
9dde6fb1ef ODBC string truncation bug fix 2008-02-02 21:45:21 +00:00
Aleksandar Fabijanic
bc8f7e8680 some compilation refactoring 2008-01-22 02:05:04 +00:00
Aleksandar Fabijanic
5e1605823b SQLite multiple statement handling 2008-01-21 00:56:52 +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
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
e1d27fecba RowFormatter redesign, sample and some other minor changes 2008-01-05 21:19:33 +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
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
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
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
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
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
b2977d3df2 Row and RowIterator done and tested (windows and linux) 2007-06-23 01:22:55 +00:00
Aleksandar Fabijanic
c9b65928db ODBC generic nulls, added Row and RowIterator 2007-06-22 02:07:48 +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
0b2b989a95 SQLite fixes; minor cosmetic fixes 2007-06-13 15:11:21 +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
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
956aafbd0b std::list, std::deque bindings 2007-05-25 01:57: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
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